diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-06-06 09:47:25 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-06-06 09:47:25 +0000 |
commit | 6cfb3ec59383c1c59a120195fee86fbcde14c4de (patch) | |
tree | 2e30bab3da76cd2025a993d24f909ffd5a556324 /src | |
parent | 89d6f6808cda2906a688845e27046705e0c38ae5 (diff) | |
download | postgresql-6cfb3ec59383c1c59a120195fee86fbcde14c4de.tar.gz postgresql-6cfb3ec59383c1c59a120195fee86fbcde14c4de.zip |
Add missing win_setup.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/odbc/win_setup.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/interfaces/odbc/win_setup.h b/src/interfaces/odbc/win_setup.h new file mode 100644 index 00000000000..3c767d83024 --- /dev/null +++ b/src/interfaces/odbc/win_setup.h @@ -0,0 +1,27 @@ +#ifndef _WIN_SETUP_H__ +#define _WIN_SETUP_H__ + +#ifndef INTFUNC +#define INTFUNC __stdcall +#endif /* INTFUNC */ +#define MAXDSNAME (32+1) /* Max data source name length */ +/* Globals */ +/* NOTE: All these are used by the dialog procedures */ +typedef struct tagSETUPDLG +{ + HWND hwndParent; /* Parent window handle */ + LPCSTR lpszDrvr; /* Driver description */ + ConnInfo ci; + char szDSN[MAXDSNAME]; /* Original data source name */ + BOOL fNewDSN; /* New data source flag */ + BOOL fDefault; /* Default data source flag */ + +} SETUPDLG, FAR * LPSETUPDLG; + +/* Prototypes */ +void INTFUNC CenterDialog(HWND hdlg); +int CALLBACK ConfigDlgProc(HWND hdlg, UINT wMsg, WPARAM wParam, LPARAM lParam); +void INTFUNC ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg); +BOOL INTFUNC SetDSNAttributes(HWND hwnd, LPSETUPDLG lpsetupdlg); + +#endif /* _WIN_SETUP_H__ */ |