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:
George Tasker 2000-01-20 13:19:20 +00:00
parent 6e7ce6246c
commit 5d3cc7856f
3 changed files with 5 additions and 3 deletions

View File

@ -742,7 +742,7 @@ SQLConnect (
RETCODE SQL_API
SQLDriverConnect (
HDBC hdbc,
HWND hwnd,
SQLHWND hwnd,
UCHAR FAR * szConnStrIn,
SWORD cbConnStrIn,
UCHAR FAR * szConnStrOut,

View File

@ -37,6 +37,8 @@
typedef void *HWND;
#endif
typedef void *SQLHWND;
typedef unsigned char UCHAR;
typedef long int SDWORD;
typedef short int SWORD;

View File

@ -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);