* iODBC defines
*
* The iODBC driver manager.
- *
- * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
+ *
+ * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#ifndef _ISQL_H
#define _ISQL_H
+#ifndef WIN16
#ifdef WIN32
#define SQL_API __stdcall
#else
#define EXPORT
#define CALLBACK
#define SQL_API EXPORT CALLBACK
-
+#ifndef __EMX__
typedef void *HWND;
#endif
+#endif
+#endif
+
+typedef void *SQLHWND;
typedef unsigned char UCHAR;
typedef long int SDWORD;
typedef short int SWORD;
typedef unsigned long int UDWORD;
typedef unsigned short int UWORD;
+typedef long SQLINTEGER;
typedef void FAR *PTR;
typedef void FAR *HENV;
RETCODE SQL_API SQLTransact (HENV henv, HDBC hdbc, UWORD fType);
/*
- * Depreciated ODBC 1.0 function - Use SQLBindParameter
+ * Deprecated ODBC 1.0 function - Use SQLBindParameter
*/
RETCODE SQL_API SQLSetParam (HSTMT hstmt, UWORD ipar, SWORD fCType,
SWORD fSqlType, UDWORD cbColDef, SWORD ibScale, PTR rgbValue,