Fixed some issues found by winapi_check.
This commit is contained in:
parent
416a42c34c
commit
6afc68aabd
|
@ -33,7 +33,7 @@ init MAIN_OdbcInit
|
||||||
029 stdcall SQLEndTran(long long long) SQLEndTran
|
029 stdcall SQLEndTran(long long long) SQLEndTran
|
||||||
030 stdcall SQLFetchScroll(long long long) SQLFetchScroll
|
030 stdcall SQLFetchScroll(long long long) SQLFetchScroll
|
||||||
031 stdcall SQLFreeHandle(long long) SQLFreeHandle
|
031 stdcall SQLFreeHandle(long long) SQLFreeHandle
|
||||||
032 stdcall SQLGetConnectAttr(long long ptr ptr) SQLGetConnectAttr
|
032 stdcall SQLGetConnectAttr(long long ptr long ptr) SQLGetConnectAttr
|
||||||
033 stdcall SQLGetDescField(long long long ptr long ptr) SQLGetDescField
|
033 stdcall SQLGetDescField(long long long ptr long ptr) SQLGetDescField
|
||||||
034 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr) SQLGetDescRec
|
034 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr) SQLGetDescRec
|
||||||
035 stdcall SQLGetDiagField(long long long long ptr long ptr) SQLGetDiagField
|
035 stdcall SQLGetDiagField(long long long long ptr long ptr) SQLGetDiagField
|
||||||
|
@ -62,10 +62,10 @@ init MAIN_OdbcInit
|
||||||
058 stdcall SQLDescribeParam(long long ptr ptr ptr ptr) SQLDescribeParam
|
058 stdcall SQLDescribeParam(long long ptr ptr ptr ptr) SQLDescribeParam
|
||||||
059 stdcall SQLExtendedFetch(long long long ptr ptr) SQLExtendedFetch
|
059 stdcall SQLExtendedFetch(long long long ptr ptr) SQLExtendedFetch
|
||||||
060 stdcall SQLForeignKeys(long str long str long str long str long str long str long) SQLForeignKeys
|
060 stdcall SQLForeignKeys(long str long str long str long str long str long str long) SQLForeignKeys
|
||||||
061 stdcall SQLMoreResults(long str long str long ptr) SQLMoreResults
|
061 stdcall SQLMoreResults(long) SQLMoreResults
|
||||||
062 stdcall SQLNativeSql(long str long str long str long) SQLNativeSql
|
062 stdcall SQLNativeSql(long str long str long ptr) SQLNativeSql
|
||||||
063 stdcall SQLNumParams(long ptr) SQLNumParams
|
063 stdcall SQLNumParams(long ptr) SQLNumParams
|
||||||
064 stdcall SQLParamOptions(long str long str long str long) SQLParamOptions
|
064 stdcall SQLParamOptions(long long ptr) SQLParamOptions
|
||||||
065 stdcall SQLPrimaryKeys(long str long str long str long) SQLPrimaryKeys
|
065 stdcall SQLPrimaryKeys(long str long str long str long) SQLPrimaryKeys
|
||||||
066 stdcall SQLProcedureColumns(long str long str long str long str long) SQLProcedureColumns
|
066 stdcall SQLProcedureColumns(long str long str long str long str long) SQLProcedureColumns
|
||||||
067 stdcall SQLProcedures(long str long str long str long) SQLProcedures
|
067 stdcall SQLProcedures(long str long str long str long) SQLProcedures
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <fcntl.h>
|
||||||
#include <sys/fcntl.h>
|
#include <sys/fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -731,7 +732,10 @@ static void _copy_registry( HKEY from, HKEY to )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* NT REGISTRY LOADER */
|
/* NT REGISTRY LOADER */
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_MMAN_H
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MAP_FAILED
|
#ifndef MAP_FAILED
|
||||||
#define MAP_FAILED ((LPVOID)-1)
|
#define MAP_FAILED ((LPVOID)-1)
|
||||||
|
|
|
@ -192,7 +192,7 @@ import ntdll.dll
|
||||||
174 stdcall CreateSemaphoreA(ptr long long str) CreateSemaphoreA
|
174 stdcall CreateSemaphoreA(ptr long long str) CreateSemaphoreA
|
||||||
175 stdcall CreateSemaphoreW(ptr long long wstr) CreateSemaphoreW
|
175 stdcall CreateSemaphoreW(ptr long long wstr) CreateSemaphoreW
|
||||||
176 stdcall CreateSocketHandle() CreateSocketHandle
|
176 stdcall CreateSocketHandle() CreateSocketHandle
|
||||||
177 stub CreateTapePartition
|
177 stdcall CreateTapePartition(long long long long) CreateTapePartition
|
||||||
178 stdcall CreateThread(ptr long ptr long long ptr) CreateThread
|
178 stdcall CreateThread(ptr long ptr long long ptr) CreateThread
|
||||||
179 stdcall CreateToolhelp32Snapshot(long long) CreateToolhelp32Snapshot
|
179 stdcall CreateToolhelp32Snapshot(long long) CreateToolhelp32Snapshot
|
||||||
180 stdcall DebugActiveProcess(long) DebugActiveProcess
|
180 stdcall DebugActiveProcess(long) DebugActiveProcess
|
||||||
|
|
Loading…
Reference in New Issue