00001
00002
00003
00004 static const int ords_wsock32[] = {
00005 1,2,3,4,5,6,7,8,
00006 9,10,11,12,13,14,15,16,
00007 17,18,19,20,21,22,23,24,
00008 51,52,53,54,55,56,57,101,
00009 102,103,104,105,106,107,108,109,
00010 110,111,112,113,114,115,116,151,
00011 500,1000,1001,1002,1003,1004,1005,1100,
00012 1101,1102,1103,1104,1105,1106,1107,1108,
00013 1109,1110,1111,1112,1113,1114,1115,1116,
00014 1117,1118,1119,1120,1130,1131,1140,1141,
00015 1142
00016 };
00017 static const char * const names_wsock32[] = {
00018 "accept","bind",
00019 "closesocket","connect",
00020 "getpeername","getsockname",
00021 "getsockopt","htonl",
00022 "htons","inet_addr",
00023 "inet_ntoa","ioctlsocket",
00024 "listen","ntohl",
00025 "ntohs","recv",
00026 "recvfrom","select",
00027 "send","sendto",
00028 "setsockopt","shutdown",
00029 "socket","MigrateWinsockConfiguration",
00030 "gethostbyaddr","gethostbyname",
00031 "getprotobyname","getprotobynumber",
00032 "getservbyname","getservbyport",
00033 "gethostname","WSAAsyncSelect",
00034 "WSAAsyncGetHostByAddr","WSAAsyncGetHostByName",
00035 "WSAAsyncGetProtoByNumber","WSAAsyncGetProtoByName",
00036 "WSAAsyncGetServByPort","WSAAsyncGetServByName",
00037 "WSACancelAsyncRequest","WSASetBlockingHook",
00038 "WSAUnhookBlockingHook","WSAGetLastError",
00039 "WSASetLastError","WSACancelBlockingCall",
00040 "WSAIsBlocking","WSAStartup",
00041 "WSACleanup","__WSAFDIsSet",
00042 "WEP","WSApSetPostRoutine",
00043 "WsControl","closesockinfo",
00044 "Arecv","Asend",
00045 "WSHEnumProtocols","inet_network",
00046 "getnetbyname","rcmd",
00047 "rexec","rresvport",
00048 "sethostname","dn_expand",
00049 "WSARecvEx","s_perror",
00050 "GetAddressByNameA","GetAddressByNameW",
00051 "EnumProtocolsA","EnumProtocolsW",
00052 "GetTypeByNameA","GetTypeByNameW",
00053 "GetNameByTypeA","GetNameByTypeW",
00054 "SetServiceA","SetServiceW",
00055 "GetServiceA","GetServiceW",
00056 "NPLoadNameSpaces","NSPStartup",
00057 "TransmitFile","AcceptEx",
00058 "GetAcceptExSockaddrs"
00059 };
00060 static const int ords_ws2_32[] = {
00061 1,2,3,4,5,6,7,8,
00062 9,10,11,12,13,14,15,16,
00063 17,18,19,20,21,22,23,24,
00064 25,26,27,28,29,30,31,32,
00065 33,34,35,36,37,38,39,40,
00066 41,42,43,44,45,46,47,48,
00067 49,50,51,52,53,54,55,56,
00068 57,58,59,60,61,62,63,64,
00069 65,66,67,68,69,70,71,72,
00070 73,74,75,76,77,78,79,80,
00071 81,82,83,84,85,86,87,88,
00072 89,101,102,103,104,105,106,107,
00073 108,109,110,111,112,113,114,115,
00074 116,151,500
00075 };
00076 static const char * const names_ws2_32[] = {
00077 "accept","bind",
00078 "closesocket","connect",
00079 "getpeername","getsockname",
00080 "getsockopt","htonl",
00081 "htons","ioctlsocket",
00082 "inet_addr","inet_ntoa",
00083 "listen","ntohl",
00084 "ntohs","recv",
00085 "recvfrom","select",
00086 "send","sendto",
00087 "setsockopt","shutdown",
00088 "socket","WSApSetPostRoutine",
00089 "WPUCompleteOverlappedRequest","WSAAccept",
00090 "WSAAddressToStringA","WSAAddressToStringW",
00091 "WSACloseEvent","WSAConnect",
00092 "WSACreateEvent","WSADuplicateSocketA",
00093 "WSADuplicateSocketW","WSAEnumNameSpaceProvidersA",
00094 "WSAEnumNameSpaceProvidersW","WSAEnumNetworkEvents",
00095 "WSAEnumProtocolsA","WSAEnumProtocolsW",
00096 "WSAEventSelect","WSAGetOverlappedResult",
00097 "WSAGetQOSByName","WSAGetServiceClassInfoA",
00098 "WSAGetServiceClassInfoW","WSAGetServiceClassNameByClassIdA",
00099 "WSAGetServiceClassNameByClassIdW","WSAHtonl",
00100 "WSAHtons","WSAInstallServiceClassA",
00101 "WSAInstallServiceClassW","WSAIoctl",
00102 "gethostbyaddr","gethostbyname",
00103 "getprotobyname","getprotobynumber",
00104 "getservbyname","getservbyport",
00105 "gethostname","WSAJoinLeaf",
00106 "WSALookupServiceBeginA","WSALookupServiceBeginW",
00107 "WSALookupServiceEnd","WSALookupServiceNextA",
00108 "WSALookupServiceNextW","WSANtohl",
00109 "WSANtohs","WSAProviderConfigChange",
00110 "WSARecv","WSARecvDisconnect",
00111 "WSARecvFrom","WSARemoveServiceClass",
00112 "WSAResetEvent","WSASend",
00113 "WSASendDisconnect","WSASendTo",
00114 "WSASetEvent","WSASetServiceA",
00115 "WSASetServiceW","WSASocketA",
00116 "WSASocketW","WSAStringToAddressA",
00117 "WSAStringToAddressW","WSAWaitForMultipleEvents",
00118 "WSCDeinstallProvider","WSCEnableNSProvider",
00119 "WSCEnumProtocols","WSCGetProviderPath",
00120 "WSCInstallNameSpace","WSCInstallProvider",
00121 "WSCUnInstallNameSpace","WSAAsyncSelect",
00122 "WSAAsyncGetHostByAddr","WSAAsyncGetHostByName",
00123 "WSAAsyncGetProtoByNumber","WSAAsyncGetProtoByName",
00124 "WSAAsyncGetServByPort","WSAAsyncGetServByName",
00125 "WSACancelAsyncRequest","WSASetBlockingHook",
00126 "WSAUnhookBlockingHook","WSAGetLastError",
00127 "WSASetLastError","WSACancelBlockingCall",
00128 "WSAIsBlocking","WSAStartup",
00129 "WSACleanup","__WSAFDIsSet",
00130 "WEP"
00131 };
00132 static const int ords_odbc32[] = {
00133 1,2,3,4,5,6,7,8,
00134 9,10,11,12,13,14,15,16,
00135 17,18,19,20,21,22,23,24,
00136 25,26,27,28,29,30,31,32,
00137 33,34,35,36,37,38,39,40,
00138 41,42,43,44,45,46,47,48,
00139 49,50,51,52,53,54,55,56,
00140 57,58,59,60,61,62,63,64,
00141 65,66,67,68,69,70,71,72,
00142 73,74,75,76,77,78,79,80,
00143 81,82,83,84,85,86,87,88,
00144 89,90,91,92,93,94,95,96,
00145 97,98,99,100,101,102,103,104,
00146 105,106,107,108,109,110,111,117,
00147 119,121,127,132,133,134,135,136,
00148 138,139,140,141,142,145,147,150,
00149 152,153,154,155,156,157,160,162,
00150 165,166,167,170,171,173,176,206,
00151 207,208,210,211,217,219,221,227,
00152 232,233,234,235,236,238,239,240,
00153 241,242,245,247,250,252,253,254,
00154 255,256,257,260,262,265,266,267,
00155 270,271,273,276,301
00156 };
00157 static const char * const names_odbc32[] = {
00158 "SQLAllocConnect","SQLAllocEnv",
00159 "SQLAllocStmt","SQLBindCol",
00160 "SQLCancel","SQLColAttributes",
00161 "SQLConnect","SQLDescribeCol",
00162 "SQLDisconnect","SQLError",
00163 "SQLExecDirect","SQLExecute",
00164 "SQLFetch","SQLFreeConnect",
00165 "SQLFreeEnv","SQLFreeStmt",
00166 "SQLGetCursorName","SQLNumResultCols",
00167 "SQLPrepare","SQLRowCount",
00168 "SQLSetCursorName","SQLSetParam",
00169 "SQLTransact","SQLAllocHandle",
00170 "SQLBindParam","SQLCloseCursor",
00171 "SQLColAttribute","SQLCopyDesc",
00172 "SQLEndTran","SQLFetchScroll",
00173 "SQLFreeHandle","SQLGetConnectAttr",
00174 "SQLGetDescField","SQLGetDescRec",
00175 "SQLGetDiagField","SQLGetDiagRec",
00176 "SQLGetEnvAttr","SQLGetStmtAttr",
00177 "SQLSetConnectAttr","SQLColumns",
00178 "SQLDriverConnect","SQLGetConnectOption",
00179 "SQLGetData","SQLGetFunctions",
00180 "SQLGetInfo","SQLGetStmtOption",
00181 "SQLGetTypeInfo","SQLParamData",
00182 "SQLPutData","SQLSetConnectOption",
00183 "SQLSetStmtOption","SQLSpecialColumns",
00184 "SQLStatistics","SQLTables",
00185 "SQLBrowseConnect","SQLColumnPrivileges",
00186 "SQLDataSources","SQLDescribeParam",
00187 "SQLExtendedFetch","SQLForeignKeys",
00188 "SQLMoreResults","SQLNativeSql",
00189 "SQLNumParams","SQLParamOptions",
00190 "SQLPrimaryKeys","SQLProcedureColumns",
00191 "SQLProcedures","SQLSetPos",
00192 "SQLSetScrollOptions","SQLTablePrivileges",
00193 "SQLDrivers","SQLBindParameter",
00194 "SQLSetDescField","SQLSetDescRec",
00195 "SQLSetEnvAttr","SQLSetStmtAttr",
00196 "SQLAllocHandleStd","SQLBulkOperations",
00197 "CloseODBCPerfData","CollectODBCPerfData",
00198 "CursorLibLockDbc","CursorLibLockDesc",
00199 "CursorLibLockStmt","ODBCGetTryWaitValue",
00200 "CursorLibTransact","ODBCSetTryWaitValue",
00201 "GetODBCSharedData","LockHandle",
00202 "MpHeapAlloc","MpHeapCompact",
00203 "MpHeapCreate","MpHeapDestroy",
00204 "MpHeapFree","MpHeapReAlloc",
00205 "MpHeapSize","MpHeapValidate",
00206 "ODBCInternalConnectW","OpenODBCPerfData",
00207 "PostComponentError","PostODBCComponentError",
00208 "PostODBCError","SearchStatusCode",
00209 "VFreeErrors","VRetrieveDriverErrorsRowCol",
00210 "ValidateErrorQueue","SQLColAttributesW",
00211 "SQLConnectW","SQLDescribeColW",
00212 "g_hHeapMalloc","SQLErrorW",
00213 "SQLExecDirectW","SQLGetCursorNameW",
00214 "SQLPrepareW","SQLSetCursorNameW",
00215 "SQLColAttributeW","SQLGetConnectAttrW",
00216 "SQLGetDescFieldW","SQLGetDescRecW",
00217 "SQLGetDiagFieldW","SQLGetDiagRecW",
00218 "SQLGetStmtAttrW","SQLSetConnectAttrW",
00219 "SQLColumnsW","SQLDriverConnectW",
00220 "SQLGetConnectOptionW","SQLGetInfoW",
00221 "SQLGetTypeInfoW","SQLSetConnectOptionW",
00222 "SQLSpecialColumnsW","SQLStatisticsW",
00223 "SQLTablesW","SQLBrowseConnectW",
00224 "SQLColumnPrivilegesW","SQLDataSourcesW",
00225 "SQLForeignKeysW","SQLNativeSqlW",
00226 "SQLPrimaryKeysW","SQLProcedureColumnsW",
00227 "SQLProceduresW","SQLTablePrivilegesW",
00228 "SQLDriversW","SQLSetDescFieldW",
00229 "SQLSetStmtAttrW","SQLColAttributesA",
00230 "SQLConnectA","SQLDescribeColA",
00231 "SQLErrorA","SQLExecDirectA",
00232 "SQLGetCursorNameA","SQLPrepareA",
00233 "SQLSetCursorNameA","SQLColAttributeA",
00234 "SQLGetConnectAttrA","SQLGetDescFieldA",
00235 "SQLGetDescRecA","SQLGetDiagFieldA",
00236 "SQLGetDiagRecA","SQLGetStmtAttrA",
00237 "SQLSetConnectAttrA","SQLColumnsA",
00238 "SQLDriverConnectA","SQLGetConnectOptionA",
00239 "SQLGetInfoA","SQLGetTypeInfoA",
00240 "SQLSetConnectOptionA","SQLSpecialColumnsA",
00241 "SQLStatisticsA","SQLTablesA",
00242 "SQLBrowseConnectA","SQLColumnPrivilegesA",
00243 "SQLDataSourcesA","SQLForeignKeysA",
00244 "SQLNativeSqlA","SQLPrimaryKeysA",
00245 "SQLProcedureColumnsA","SQLProceduresA",
00246 "SQLTablePrivilegesA","SQLDriversA",
00247 "SQLSetDescFieldA","SQLSetStmtAttrA",
00248 "ODBCQualifyFileDSNW"
00249 };
00250 static const int ords_oleaut32[] = {
00251 1,2,3,4,5,6,7,8,
00252 9,10,11,12,13,14,15,16,
00253 17,18,19,20,21,22,23,24,
00254 25,26,27,28,29,30,31,32,
00255 33,34,35,36,37,38,39,40,
00256 41,46,47,48,49,50,51,52,
00257 53,54,55,56,58,59,60,61,
00258 62,63,64,65,66,68,69,70,
00259 71,72,73,74,75,76,78,79,
00260 80,81,82,83,84,85,86,88,
00261 89,90,91,92,93,94,95,96,
00262 98,99,100,101,102,103,104,105,
00263 106,108,109,110,111,112,113,114,
00264 115,116,118,119,120,121,122,123,
00265 124,125,126,130,131,132,133,134,
00266 135,136,137,138,146,147,148,149,
00267 150,160,161,162,163,164,165,166,
00268 170,171,180,183,184,185,186,190,
00269 191,192,193,194,195,196,197,198,
00270 199,200,201,202,205,206,207,208,
00271 209,210,211,212,213,214,215,216,
00272 217,218,219,220,221,222,223,224,
00273 225,226,227,228,229,230,231,232,
00274 233,234,235,236,237,238,239,240,
00275 241,242,243,244,245,246,247,248,
00276 249,250,251,252,253,254,255,256,
00277 257,258,259,260,261,262,263,264,
00278 265,266,267,268,269,270,271,272,
00279 273,274,275,276,277,278,279,280,
00280 281,282,283,284,285,286,287,288,
00281 289,290,291,292,293,294,295,296,
00282 297,320,321,330,331,332,380,381,
00283 382,383,384,385,386,387,388,389,
00284 390,391,392,393,394,395,396,397,
00285 398,399,410,411,412,413,414,415,
00286 416,417,418,419,420,421,422,423,
00287 424
00288 };
00289 static const char * const names_oleaut32[] = {
00290 "DllGetClassObject","SysAllocString",
00291 "SysReAllocString","SysAllocStringLen",
00292 "SysReAllocStringLen","SysFreeString",
00293 "SysStringLen","VariantInit",
00294 "VariantClear","VariantCopy",
00295 "VariantCopyInd","VariantChangeType",
00296 "VariantTimeToDosDateTime","DosDateTimeToVariantTime",
00297 "SafeArrayCreate","SafeArrayDestroy",
00298 "SafeArrayGetDim","SafeArrayGetElemsize",
00299 "SafeArrayGetUBound","SafeArrayGetLBound",
00300 "SafeArrayLock","SafeArrayUnlock",
00301 "SafeArrayAccessData","SafeArrayUnaccessData",
00302 "SafeArrayGetElement","SafeArrayPutElement",
00303 "SafeArrayCopy","DispGetParam",
00304 "DispGetIDsOfNames","DispInvoke",
00305 "CreateDispTypeInfo","CreateStdDispatch",
00306 "RegisterActiveObject","RevokeActiveObject",
00307 "GetActiveObject","SafeArrayAllocDescriptor",
00308 "SafeArrayAllocData","SafeArrayDestroyDescriptor",
00309 "SafeArrayDestroyData","SafeArrayRedim",
00310 "OACreateTypeLib2","VarParseNumFromStr",
00311 "VarNumFromParseNum","VarI2FromUI1",
00312 "VarI2FromI4","VarI2FromR4",
00313 "VarI2FromR8","VarI2FromCy",
00314 "VarI2FromDate","VarI2FromStr",
00315 "VarI2FromDisp","VarI2FromBool",
00316 "VarI4FromUI1","VarI4FromI2",
00317 "VarI4FromR4","VarI4FromR8",
00318 "VarI4FromCy","VarI4FromDate",
00319 "VarI4FromStr","VarI4FromDisp",
00320 "VarI4FromBool","VarR4FromUI1",
00321 "VarR4FromI2","VarR4FromI4",
00322 "VarR4FromR8","VarR4FromCy",
00323 "VarR4FromDate","VarR4FromStr",
00324 "VarR4FromDisp","VarR4FromBool",
00325 "VarR8FromUI1","VarR8FromI2",
00326 "VarR8FromI4","VarR8FromR4",
00327 "VarR8FromCy","VarR8FromDate",
00328 "VarR8FromStr","VarR8FromDisp",
00329 "VarR8FromBool","VarDateFromUI1",
00330 "VarDateFromI2","VarDateFromI4",
00331 "VarDateFromR4","VarDateFromR8",
00332 "VarDateFromCy","VarDateFromStr",
00333 "VarDateFromDisp","VarDateFromBool",
00334 "VarCyFromUI1","VarCyFromI2",
00335 "VarCyFromI4","VarCyFromR4",
00336 "VarCyFromR8","VarCyFromDate",
00337 "VarCyFromStr","VarCyFromDisp",
00338 "VarCyFromBool","VarBstrFromUI1",
00339 "VarBstrFromI2","VarBstrFromI4",
00340 "VarBstrFromR4","VarBstrFromR8",
00341 "VarBstrFromCy","VarBstrFromDate",
00342 "VarBstrFromDisp","VarBstrFromBool",
00343 "VarBoolFromUI1","VarBoolFromI2",
00344 "VarBoolFromI4","VarBoolFromR4",
00345 "VarBoolFromR8","VarBoolFromDate",
00346 "VarBoolFromCy","VarBoolFromStr",
00347 "VarBoolFromDisp","VarUI1FromI2",
00348 "VarUI1FromI4","VarUI1FromR4",
00349 "VarUI1FromR8","VarUI1FromCy",
00350 "VarUI1FromDate","VarUI1FromStr",
00351 "VarUI1FromDisp","VarUI1FromBool",
00352 "DispCallFunc","VariantChangeTypeEx",
00353 "SafeArrayPtrOfIndex","SysStringByteLen",
00354 "SysAllocStringByteLen","CreateTypeLib",
00355 "LoadTypeLib","LoadRegTypeLib",
00356 "RegisterTypeLib","QueryPathOfRegTypeLib",
00357 "LHashValOfNameSys","LHashValOfNameSysA",
00358 "OaBuildVersion","ClearCustData",
00359 "CreateTypeLib2","LoadTypeLibEx",
00360 "SystemTimeToVariantTime","VariantTimeToSystemTime",
00361 "UnRegisterTypeLib","VarDecFromUI1",
00362 "VarDecFromI2","VarDecFromI4",
00363 "VarDecFromR4","VarDecFromR8",
00364 "VarDecFromDate","VarDecFromCy",
00365 "VarDecFromStr","VarDecFromDisp",
00366 "VarDecFromBool","GetErrorInfo",
00367 "SetErrorInfo","CreateErrorInfo",
00368 "VarI2FromI1","VarI2FromUI2",
00369 "VarI2FromUI4","VarI2FromDec",
00370 "VarI4FromI1","VarI4FromUI2",
00371 "VarI4FromUI4","VarI4FromDec",
00372 "VarR4FromI1","VarR4FromUI2",
00373 "VarR4FromUI4","VarR4FromDec",
00374 "VarR8FromI1","VarR8FromUI2",
00375 "VarR8FromUI4","VarR8FromDec",
00376 "VarDateFromI1","VarDateFromUI2",
00377 "VarDateFromUI4","VarDateFromDec",
00378 "VarCyFromI1","VarCyFromUI2",
00379 "VarCyFromUI4","VarCyFromDec",
00380 "VarBstrFromI1","VarBstrFromUI2",
00381 "VarBstrFromUI4","VarBstrFromDec",
00382 "VarBoolFromI1","VarBoolFromUI2",
00383 "VarBoolFromUI4","VarBoolFromDec",
00384 "VarUI1FromI1","VarUI1FromUI2",
00385 "VarUI1FromUI4","VarUI1FromDec",
00386 "VarDecFromI1","VarDecFromUI2",
00387 "VarDecFromUI4","VarI1FromUI1",
00388 "VarI1FromI2","VarI1FromI4",
00389 "VarI1FromR4","VarI1FromR8",
00390 "VarI1FromDate","VarI1FromCy",
00391 "VarI1FromStr","VarI1FromDisp",
00392 "VarI1FromBool","VarI1FromUI2",
00393 "VarI1FromUI4","VarI1FromDec",
00394 "VarUI2FromUI1","VarUI2FromI2",
00395 "VarUI2FromI4","VarUI2FromR4",
00396 "VarUI2FromR8","VarUI2FromDate",
00397 "VarUI2FromCy","VarUI2FromStr",
00398 "VarUI2FromDisp","VarUI2FromBool",
00399 "VarUI2FromI1","VarUI2FromUI4",
00400 "VarUI2FromDec","VarUI4FromUI1",
00401 "VarUI4FromI2","VarUI4FromI4",
00402 "VarUI4FromR4","VarUI4FromR8",
00403 "VarUI4FromDate","VarUI4FromCy",
00404 "VarUI4FromStr","VarUI4FromDisp",
00405 "VarUI4FromBool","VarUI4FromI1",
00406 "VarUI4FromUI2","VarUI4FromDec",
00407 "BSTR_UserSize","BSTR_UserMarshal",
00408 "BSTR_UserUnmarshal","BSTR_UserFree",
00409 "VARIANT_UserSize","VARIANT_UserMarshal",
00410 "VARIANT_UserUnmarshal","VARIANT_UserFree",
00411 "LPSAFEARRAY_UserSize","LPSAFEARRAY_UserMarshal",
00412 "LPSAFEARRAY_UserUnmarshal","LPSAFEARRAY_UserFree",
00413 "LPSAFEARRAY_Size","LPSAFEARRAY_Marshal",
00414 "LPSAFEARRAY_Unmarshal","DllRegisterServer",
00415 "DllUnregisterServer","VarDateFromUdate",
00416 "VarUdateFromDate","GetAltMonthNames",
00417 "UserHWND_from_local","UserHWND_to_local",
00418 "UserHWND_free_inst","UserHWND_free_local",
00419 "UserBSTR_from_local","UserBSTR_to_local",
00420 "UserBSTR_free_inst","UserBSTR_free_local",
00421 "UserVARIANT_from_local","UserVARIANT_to_local",
00422 "UserVARIANT_free_inst","UserVARIANT_free_local",
00423 "UserEXCEPINFO_from_local","UserEXCEPINFO_to_local",
00424 "UserEXCEPINFO_free_inst","UserEXCEPINFO_free_local",
00425 "UserMSG_from_local","UserMSG_to_local",
00426 "UserMSG_free_inst","UserMSG_free_local",
00427 "DllCanUnloadNow","SafeArrayCreateVector",
00428 "SafeArrayCopyData","VectorFromBstr",
00429 "BstrFromVector","OleIconToCursor",
00430 "OleCreatePropertyFrameIndirect","OleCreatePropertyFrame",
00431 "OleLoadPicture","OleCreatePictureIndirect",
00432 "OleCreateFontIndirect","OleTranslateColor",
00433 "OleLoadPictureFile","OleSavePictureFile",
00434 "OleLoadPicturePath"
00435 };
00436 const ApiCache::DllFunctions ApiCache::cachedDlls[] = {
00437 { "odbc32", 181, ords_odbc32, names_odbc32 },
00438 { "oleaut32", 289, ords_oleaut32, names_oleaut32 },
00439 { "ws2_32", 107, ords_ws2_32, names_ws2_32 },
00440 { "wsock32", 81, ords_wsock32, names_wsock32 },
00441
00442 };
00443 const int ApiCache::numCachedDlls = 4;