~ubuntu-branches/ubuntu/gutsy/psqlodbc/gutsy

« back to all changes in this revision

Viewing changes to win_setup.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-05-13 10:47:36 UTC
  • Revision ID: james.westby@ubuntu.com-20040513104736-a530gmn0p3knep89
Tags: upstream-07.03.0200
ImportĀ upstreamĀ versionĀ 07.03.0200

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _WIN_SETUP_H__
 
2
#define _WIN_SETUP_H__
 
3
 
 
4
#ifndef INTFUNC
 
5
#define INTFUNC  __stdcall
 
6
#endif /* INTFUNC */
 
7
#define MAXDSNAME       (32+1)  /* Max data source name length */
 
8
/* Globals */
 
9
/* NOTE:  All these are used by the dialog procedures */
 
10
typedef struct tagSETUPDLG
 
11
{
 
12
        HWND            hwndParent;             /* Parent window handle */
 
13
        LPCSTR          lpszDrvr;               /* Driver description */
 
14
        ConnInfo        ci;
 
15
        char            szDSN[MAXDSNAME];               /* Original data source name */
 
16
        BOOL            fNewDSN;                /* New data source flag */
 
17
        BOOL            fDefault;               /* Default data source flag */
 
18
 
 
19
}       SETUPDLG, FAR * LPSETUPDLG;
 
20
 
 
21
/* Prototypes */
 
22
void INTFUNC CenterDialog(HWND hdlg);
 
23
int CALLBACK ConfigDlgProc(HWND hdlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
 
24
void INTFUNC ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg);
 
25
BOOL INTFUNC SetDSNAttributes(HWND hwnd, LPSETUPDLG lpsetupdlg, DWORD *);
 
26
BOOL INTFUNC ChangeDriverName(HWND hwnd, LPSETUPDLG lpsetupdlg, LPCSTR driver_name);
 
27
 
 
28
#endif /* _WIN_SETUP_H__ */