Tweeked to use SQLHWND as a type rather than HWND, so that db/dbtable can use iodbc rather than #include <windows.h> and its overhead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6e7ce6246c
commit
5d3cc7856f
@ -742,7 +742,7 @@ SQLConnect (
|
||||
RETCODE SQL_API
|
||||
SQLDriverConnect (
|
||||
HDBC hdbc,
|
||||
HWND hwnd,
|
||||
SQLHWND hwnd,
|
||||
UCHAR FAR * szConnStrIn,
|
||||
SWORD cbConnStrIn,
|
||||
UCHAR FAR * szConnStrOut,
|
||||
|
@ -37,6 +37,8 @@
|
||||
typedef void *HWND;
|
||||
#endif
|
||||
|
||||
typedef void *SQLHWND;
|
||||
|
||||
typedef unsigned char UCHAR;
|
||||
typedef long int SDWORD;
|
||||
typedef short int SWORD;
|
||||
|
@ -1073,13 +1073,13 @@ typedef unsigned long int BOOKMARK;
|
||||
extern "C" {
|
||||
#endif
|
||||
/*
|
||||
* Level 1 function rototypes
|
||||
* Level 1 function prototypes
|
||||
*/
|
||||
RETCODE SQL_API SQLColumns (HSTMT hstmt, UCHAR FAR * szTableQualifier,
|
||||
SWORD cbTableQualifier, UCHAR FAR * szTableOwner, SWORD cbTableOwner,
|
||||
UCHAR FAR * szTableName, SWORD cbTableName, UCHAR FAR * szColumnName,
|
||||
SWORD cbColumnName);
|
||||
RETCODE SQL_API SQLDriverConnect (HDBC hdbc, HWND hwnd,
|
||||
RETCODE SQL_API SQLDriverConnect (HDBC hdbc, SQLHWND hwnd, //glt
|
||||
UCHAR FAR * szConnStrIn, SWORD cbConnStrIn, UCHAR FAR * szConnStrOut,
|
||||
SWORD cbConnStrOutMax, SWORD FAR * pcbConnStrOut, UWORD fDriverCompletion);
|
||||
RETCODE SQL_API SQLGetConnectOption (HDBC hdbc, UWORD fOption, PTR pvParam);
|
||||
|
Loading…
Reference in New Issue
Block a user