Server.cs never did anything at all.
[versaplex.git] / vxodbc / win_setup.h
blob6c448e5d30da505f2117492f4a2af65d79e5c51c
1 #ifndef _WIN_SETUP_H__
2 #define _WIN_SETUP_H__
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
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 */
19 } SETUPDLG, FAR * LPSETUPDLG;
21 /* Prototypes */
22 void INTFUNC CenterDialog(HWND hdlg);
23 BOOL CALLBACK ConfigDlgProc(HWND hdlg, UINT wMsg,
24 WPARAM wParam, LPARAM lParam);
25 void INTFUNC ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg);
26 BOOL INTFUNC SetDSNAttributes(HWND hwnd, LPSETUPDLG lpsetupdlg, DWORD *);
27 BOOL INTFUNC ChangeDriverName(HWND hwnd, LPSETUPDLG lpsetupdlg,
28 LPCSTR driver_name);
30 #endif /* _WIN_SETUP_H__ */