win_setup.h

来自「postgresql-odbc,跨平台应用」· C头文件 代码 · 共 29 行

H
29
字号
#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);LRESULT CALLBACK ConfigDlgProc(HWND hdlg, UINT wMsg, WPARAM wParam, LPARAM lParam);void INTFUNC ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg);BOOL INTFUNC SetDSNAttributes(HWND hwnd, LPSETUPDLG lpsetupdlg, DWORD *);BOOL INTFUNC ChangeDriverName(HWND hwnd, LPSETUPDLG lpsetupdlg, LPCSTR driver_name);#endif /* _WIN_SETUP_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?