Changeset 21849 for branches/gcc-kmk/src
- Timestamp:
- Dec 6, 2011, 2:03:14 PM (14 years ago)
- Location:
- branches/gcc-kmk/src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/Makefile.kmk
r21846 r21849 27 27 include $(PATH_SUB_CURRENT)/msvfw32/Makefile.kmk 28 28 include $(PATH_SUB_CURRENT)/advapi32/Makefile.kmk 29 include $(PATH_SUB_CURRENT)/rpcrt4/Makefile.kmk 29 30 30 31 include $(FILE_KBUILD_SUB_FOOTER) -
branches/gcc-kmk/src/rpcrt4/initterm.cpp
r6649 r21849 1 1 /* $Id: initterm.cpp,v 1.7 2001-09-05 13:37:51 bird Exp $ */ 2 2 /* 3 * DLL entry point3 * RPCRT4 DLL entry point 4 4 * 5 5 * Copyright 1998 Sander van Leeuwen 6 6 * Copyright 1998 Peter Fitzsimmons 7 7 * 8 *9 8 * Project Odin Software License can be found in LICENSE.TXT 10 *11 9 */ 12 10 13 /*-------------------------------------------------------------*/14 /* INITERM.C -- Source for a custom dynamic link library */15 /* initialization and termination (_DLL_InitTerm) */16 /* function. */17 /* */18 /* When called to perform initialization, this sample function */19 /* gets storage for an array of integers, and initializes its */20 /* elements with random integers. At termination time, it */21 /* frees the array. Substitute your own special processing. */22 /*-------------------------------------------------------------*/23 24 25 /* Include files */26 11 #define INCL_DOSMODULEMGR 27 12 #define INCL_DOSPROCESS … … 38 23 #include <initdll.h> 39 24 40 /****************************************************************************/ 41 /* _DLL_InitTerm is the function that gets called by the operating system */ 42 /* loader when it loads and frees this DLL for each process that accesses */ 43 /* this DLL. However, it only gets called the first time the DLL is loaded */ 44 /* and the last time it is freed for a particular process. The system */ 45 /* linkage convention MUST be used because the operating system loader is */ 46 /* calling this function. */ 47 /****************************************************************************/ 48 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long 49 ulFlag) 25 // Win32 resource table (produced by wrc) 26 extern DWORD rpcrt4_PEResTab; 27 28 static HMODULE dllHandle = 0; 29 30 ULONG SYSTEM DLL_InitRpcRt4(ULONG hModule) 50 31 { 51 size_t i; 52 APIRET rc; 32 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 53 33 54 /*-------------------------------------------------------------------------*/ 55 /* If ulFlag is zero then the DLL is being loaded so initialization should */ 56 /* be performed. If ulFlag is 1 then the DLL is being freed so */ 57 /* termination should be performed. */ 58 /*-------------------------------------------------------------------------*/ 34 dllHandle = RegisterLxDll(hModule, NULL, (PVOID)&rpcrt4_PEResTab); 35 if (dllHandle == 0) 36 return -1; 59 37 60 switch (ulFlag) {61 case 0 :62 ctordtorInit();38 //SvL: Must be done here as the socket calls trash FS! 39 /* Init the Uuid subsystem */ 40 UuidInit(); 63 41 64 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 42 return 0; 43 } 65 44 66 return inittermRpcrt4(hModule, ulFlag); 45 void SYSTEM DLL_TermRpcRt4(ULONG hModule) 46 { 47 if (dllHandle) 48 UnregisterLxDll(dllHandle); 49 } 67 50 68 case 1 : 69 inittermRpcrt4(hModule, ulFlag); 70 ctordtorTerm(); 71 break; 51 ULONG SYSTEM DLL_Init(ULONG hModule) 52 { 53 if (DLL_InitDefault(hModule) == -1) 54 return -1; 55 return DLL_InitRpcRt4(hModule); 56 } 72 57 73 default : 74 return 0UL; 75 } 76 77 /***********************************************************/ 78 /* A non-zero value must be returned to indicate success. */ 79 /***********************************************************/ 80 return 1UL; 58 void SYSTEM DLL_Term(ULONG hModule) 59 { 60 DLL_TermRpcRt4(hModule); 61 DLL_TermDefault(hModule); 81 62 } -
branches/gcc-kmk/src/rpcrt4/rpcrt4.def
r4809 r21849 7 7 DESCRIPTION 'Odin32 System DLL - RPCRT4 - Remote Procedure Call Runtime' 8 8 DATA MULTIPLE NONSHARED 9 10 IMPORTS11 _RtlLargeIntegerAdd@16 = NTDLL.RtlLargeIntegerAdd12 _RtlExtendedIntegerMultiply@12 = NTDLL.RtlExtendedIntegerMultiply13 9 14 10 EXPORTS … … 24 20 ; CreateProxyFromTypeInfo = _CreateProxyFromTypeInfo@0 @0x0000 25 21 ; CreateStubFromTypeInfo = _CreateStubFromTypeInfo@0 @0x0001 26 DceErrorInqTextA = _DceErrorInqTextA@8@0x000e27 DceErrorInqTextW = _DceErrorInqTextW@8@0x000f22 DceErrorInqTextA = "_DceErrorInqTextA@8" @0x000e 23 DceErrorInqTextW = "_DceErrorInqTextW@8" @0x000f 28 24 ; DllGetClassObject = _DllGetClassObject@0 @0x0010 29 25 ; DllRegisterServer = _DllRegisterServer@0 @0x0011 … … 163 159 ; NdrDllCanUnloadNow = _NdrDllCanUnloadNow@0 @0x0095 164 160 ; NdrDllGetClassObject = _NdrDllGetClassObject@0 @0x0096 165 NdrDllRegisterProxy = _NdrDllRegisterProxy@12@0x0097166 NdrDllUnregisterProxy = _NdrDllUnregisterProxy@12@0x0098161 NdrDllRegisterProxy = "_NdrDllRegisterProxy@12" @0x0097 162 NdrDllUnregisterProxy = "_NdrDllUnregisterProxy@12" @0x0098 167 163 ; NdrEncapsulatedUnionBufferSize = _NdrEncapsulatedUnionBufferSize@0 @0x0099 168 164 ; NdrEncapsulatedUnionFree = _NdrEncapsulatedUnionFree@0 @0x009a … … 284 280 ; NdrpSetRpcSsDefaults = _NdrpSetRpcSsDefaults@0 @0x010e 285 281 ; PerformRpcInitialization = _PerformRpcInitialization@0 @0x0004 286 RpcBindingCopy = _RpcBindingCopy@8@0x010f287 RpcBindingFree = _RpcBindingFree@4@0x0110288 RpcBindingFromStringBindingA = _RpcBindingFromStringBindingA@8@0x0111289 RpcBindingFromStringBindingW = _RpcBindingFromStringBindingW@8@0x0112290 RpcBindingInqAuthClientA = _RpcBindingInqAuthClientA@24@0x0113291 RpcBindingInqAuthClientW = _RpcBindingInqAuthClientW@24@0x0114292 RpcBindingInqAuthInfoA = _RpcBindingInqAuthInfoA@24@0x0115293 RpcBindingInqAuthInfoExA = _RpcBindingInqAuthInfoExA@32@0x0116294 RpcBindingInqAuthInfoExW = _RpcBindingInqAuthInfoExW@32@0x0117295 RpcBindingInqAuthInfoW = _RpcBindingInqAuthInfoW@24@0x0118296 RpcBindingInqObject = _RpcBindingInqObject@8@0x0119297 RpcBindingInqOption = _RpcBindingInqOption@12@0x011a298 RpcBindingReset = _RpcBindingReset@4@0x011b299 RpcBindingServerFromClient = _RpcBindingServerFromClient@8@0x011c300 RpcBindingSetAuthInfoA = _RpcBindingSetAuthInfoA@24@0x011d301 RpcBindingSetAuthInfoExA = _RpcBindingSetAuthInfoExA@28@0x011e302 RpcBindingSetAuthInfoExW = _RpcBindingSetAuthInfoExW@28@0x011f303 RpcBindingSetAuthInfoW = _RpcBindingSetAuthInfoW@24@0x0120304 RpcBindingSetObject = _RpcBindingSetObject@8@0x0121305 RpcBindingSetOption = _RpcBindingSetOption@12@0x0122306 RpcBindingToStringBindingA = _RpcBindingToStringBindingA@8@0x0123307 RpcBindingToStringBindingW = _RpcBindingToStringBindingW@8@0x0124308 RpcBindingVectorFree = _RpcBindingVectorFree@4@0x0125309 RpcCancelThread = _RpcCancelThread@4@0x0126310 RpcEpRegisterA = _RpcEpRegisterA@16@0x0127311 RpcEpRegisterNoReplaceA = _RpcEpRegisterNoReplaceA@16@0x0128312 RpcEpRegisterNoReplaceW = _RpcEpRegisterNoReplaceW@16@0x0129313 RpcEpRegisterW = _RpcEpRegisterW@16@0x012a314 RpcEpResolveBinding = _RpcEpResolveBinding@8@0x012b315 RpcEpUnregister = _RpcEpUnregister@12@0x012c316 RpcIfIdVectorFree = _RpcIfIdVectorFree@4@0x012d317 RpcIfInqId = _RpcIfInqId@8@0x012e282 RpcBindingCopy = "_RpcBindingCopy@8" @0x010f 283 RpcBindingFree = "_RpcBindingFree@4" @0x0110 284 RpcBindingFromStringBindingA = "_RpcBindingFromStringBindingA@8" @0x0111 285 RpcBindingFromStringBindingW = "_RpcBindingFromStringBindingW@8" @0x0112 286 RpcBindingInqAuthClientA = "_RpcBindingInqAuthClientA@24" @0x0113 287 RpcBindingInqAuthClientW = "_RpcBindingInqAuthClientW@24" @0x0114 288 RpcBindingInqAuthInfoA = "_RpcBindingInqAuthInfoA@24" @0x0115 289 RpcBindingInqAuthInfoExA = "_RpcBindingInqAuthInfoExA@32" @0x0116 290 RpcBindingInqAuthInfoExW = "_RpcBindingInqAuthInfoExW@32" @0x0117 291 RpcBindingInqAuthInfoW = "_RpcBindingInqAuthInfoW@24" @0x0118 292 RpcBindingInqObject = "_RpcBindingInqObject@8" @0x0119 293 RpcBindingInqOption = "_RpcBindingInqOption@12" @0x011a 294 RpcBindingReset = "_RpcBindingReset@4" @0x011b 295 RpcBindingServerFromClient = "_RpcBindingServerFromClient@8" @0x011c 296 RpcBindingSetAuthInfoA = "_RpcBindingSetAuthInfoA@24" @0x011d 297 RpcBindingSetAuthInfoExA = "_RpcBindingSetAuthInfoExA@28" @0x011e 298 RpcBindingSetAuthInfoExW = "_RpcBindingSetAuthInfoExW@28" @0x011f 299 RpcBindingSetAuthInfoW = "_RpcBindingSetAuthInfoW@24" @0x0120 300 RpcBindingSetObject = "_RpcBindingSetObject@8" @0x0121 301 RpcBindingSetOption = "_RpcBindingSetOption@12" @0x0122 302 RpcBindingToStringBindingA = "_RpcBindingToStringBindingA@8" @0x0123 303 RpcBindingToStringBindingW = "_RpcBindingToStringBindingW@8" @0x0124 304 RpcBindingVectorFree = "_RpcBindingVectorFree@4" @0x0125 305 RpcCancelThread = "_RpcCancelThread@4" @0x0126 306 RpcEpRegisterA = "_RpcEpRegisterA@16" @0x0127 307 RpcEpRegisterNoReplaceA = "_RpcEpRegisterNoReplaceA@16" @0x0128 308 RpcEpRegisterNoReplaceW = "_RpcEpRegisterNoReplaceW@16" @0x0129 309 RpcEpRegisterW = "_RpcEpRegisterW@16" @0x012a 310 RpcEpResolveBinding = "_RpcEpResolveBinding@8" @0x012b 311 RpcEpUnregister = "_RpcEpUnregister@12" @0x012c 312 RpcIfIdVectorFree = "_RpcIfIdVectorFree@4" @0x012d 313 RpcIfInqId = "_RpcIfInqId@8" @0x012e 318 314 ; RpcImpersonateClient = _RpcImpersonateClient@0 @0x012f 319 RpcMgmtBindingInqParameter = _RpcMgmtBindingInqParameter@12@0x0130320 RpcMgmtBindingSetParameter = _RpcMgmtBindingSetParameter@12@0x0131321 RpcMgmtEnableIdleCleanup = _RpcMgmtEnableIdleCleanup@0@0x0132322 RpcMgmtEpEltInqBegin = _RpcMgmtEpEltInqBegin@24@0x0133323 RpcMgmtEpEltInqDone = _RpcMgmtEpEltInqDone@4@0x0134324 RpcMgmtEpEltInqNextA = _RpcMgmtEpEltInqNextA@20@0x0135325 RpcMgmtEpEltInqNextW = _RpcMgmtEpEltInqNextW@20@0x0136326 RpcMgmtEpUnregister = _RpcMgmtEpUnregister@16@0x0137327 RpcMgmtInqComTimeout = _RpcMgmtInqComTimeout@8@0x0138328 RpcMgmtInqDefaultProtectLevel = _RpcMgmtInqDefaultProtectLevel@8@0x0139329 RpcMgmtInqIfIds = _RpcMgmtInqIfIds@8@0x013a330 RpcMgmtInqParameter = _RpcMgmtInqParameter@8@0x013b331 RpcMgmtInqServerPrincNameA = _RpcMgmtInqServerPrincNameA@12@0x013c332 RpcMgmtInqServerPrincNameW = _RpcMgmtInqServerPrincNameW@12@0x013d333 RpcMgmtInqStats = _RpcMgmtInqStats@8@0x013e334 RpcMgmtIsServerListening = _RpcMgmtIsServerListening@4@0x013f335 RpcMgmtSetAuthorizationFn = _RpcMgmtSetAuthorizationFn@4@0x0140336 RpcMgmtSetCancelTimeout = _RpcMgmtSetCancelTimeout@4@0x0141337 RpcMgmtSetComTimeout = _RpcMgmtSetComTimeout@8@0x0142338 RpcMgmtSetParameter = _RpcMgmtSetParameter@8@0x0143339 RpcMgmtSetServerStackSize = _RpcMgmtSetServerStackSize@4@0x0144340 RpcMgmtStatsVectorFree = _RpcMgmtStatsVectorFree@4@0x0145341 RpcMgmtStopServerListening = _RpcMgmtStopServerListening@4@0x0146342 RpcMgmtWaitServerListen = _RpcMgmtWaitServerListen@0@0x0147343 RpcNetworkInqProtseqsA = _RpcNetworkInqProtseqsA@4@0x0148344 RpcNetworkInqProtseqsW = _RpcNetworkInqProtseqsW@4@0x0149345 RpcNetworkIsProtseqValidA = _RpcNetworkIsProtseqValidA@4@0x014a346 RpcNetworkIsProtseqValidW = _RpcNetworkIsProtseqValidW@4@0x014b347 RpcNsBindingInqEntryNameA = _RpcNsBindingInqEntryNameA@12@0x014c348 RpcNsBindingInqEntryNameW = _RpcNsBindingInqEntryNameW@12@0x014d349 RpcObjectInqType = _RpcObjectInqType@8@0x014e350 RpcObjectSetInqFn = _RpcObjectSetInqFn@4@0x014f351 RpcObjectSetType = _RpcObjectSetType@8@0x0150352 RpcProtseqVectorFreeA = _RpcProtseqVectorFreeA@4@0x0151353 RpcProtseqVectorFreeW = _RpcProtseqVectorFreeW@4@0x0152354 RpcRaiseException = _RpcRaiseException@4@0x0153315 RpcMgmtBindingInqParameter = "_RpcMgmtBindingInqParameter@12" @0x0130 316 RpcMgmtBindingSetParameter = "_RpcMgmtBindingSetParameter@12" @0x0131 317 RpcMgmtEnableIdleCleanup = "_RpcMgmtEnableIdleCleanup@0" @0x0132 318 RpcMgmtEpEltInqBegin = "_RpcMgmtEpEltInqBegin@24" @0x0133 319 RpcMgmtEpEltInqDone = "_RpcMgmtEpEltInqDone@4" @0x0134 320 RpcMgmtEpEltInqNextA = "_RpcMgmtEpEltInqNextA@20" @0x0135 321 RpcMgmtEpEltInqNextW = "_RpcMgmtEpEltInqNextW@20" @0x0136 322 RpcMgmtEpUnregister = "_RpcMgmtEpUnregister@16" @0x0137 323 RpcMgmtInqComTimeout = "_RpcMgmtInqComTimeout@8" @0x0138 324 RpcMgmtInqDefaultProtectLevel = "_RpcMgmtInqDefaultProtectLevel@8" @0x0139 325 RpcMgmtInqIfIds = "_RpcMgmtInqIfIds@8" @0x013a 326 RpcMgmtInqParameter = "_RpcMgmtInqParameter@8" @0x013b 327 RpcMgmtInqServerPrincNameA = "_RpcMgmtInqServerPrincNameA@12" @0x013c 328 RpcMgmtInqServerPrincNameW = "_RpcMgmtInqServerPrincNameW@12" @0x013d 329 RpcMgmtInqStats = "_RpcMgmtInqStats@8" @0x013e 330 RpcMgmtIsServerListening = "_RpcMgmtIsServerListening@4" @0x013f 331 RpcMgmtSetAuthorizationFn = "_RpcMgmtSetAuthorizationFn@4" @0x0140 332 RpcMgmtSetCancelTimeout = "_RpcMgmtSetCancelTimeout@4" @0x0141 333 RpcMgmtSetComTimeout = "_RpcMgmtSetComTimeout@8" @0x0142 334 RpcMgmtSetParameter = "_RpcMgmtSetParameter@8" @0x0143 335 RpcMgmtSetServerStackSize = "_RpcMgmtSetServerStackSize@4" @0x0144 336 RpcMgmtStatsVectorFree = "_RpcMgmtStatsVectorFree@4" @0x0145 337 RpcMgmtStopServerListening = "_RpcMgmtStopServerListening@4" @0x0146 338 RpcMgmtWaitServerListen = "_RpcMgmtWaitServerListen@0" @0x0147 339 RpcNetworkInqProtseqsA = "_RpcNetworkInqProtseqsA@4" @0x0148 340 RpcNetworkInqProtseqsW = "_RpcNetworkInqProtseqsW@4" @0x0149 341 RpcNetworkIsProtseqValidA = "_RpcNetworkIsProtseqValidA@4" @0x014a 342 RpcNetworkIsProtseqValidW = "_RpcNetworkIsProtseqValidW@4" @0x014b 343 RpcNsBindingInqEntryNameA = "_RpcNsBindingInqEntryNameA@12" @0x014c 344 RpcNsBindingInqEntryNameW = "_RpcNsBindingInqEntryNameW@12" @0x014d 345 RpcObjectInqType = "_RpcObjectInqType@8" @0x014e 346 RpcObjectSetInqFn = "_RpcObjectSetInqFn@4" @0x014f 347 RpcObjectSetType = "_RpcObjectSetType@8" @0x0150 348 RpcProtseqVectorFreeA = "_RpcProtseqVectorFreeA@4" @0x0151 349 RpcProtseqVectorFreeW = "_RpcProtseqVectorFreeW@4" @0x0152 350 RpcRaiseException = "_RpcRaiseException@4" @0x0153 355 351 ; RpcRevertToSelf = _RpcRevertToSelf@0 @0x0154 356 352 ; RpcRevertToSelfEx = _RpcRevertToSelfEx@0 @0x0155 357 RpcServerInqBindings = _RpcServerInqBindings@4@0x0156358 RpcServerInqDefaultPrincNameA = _RpcServerInqDefaultPrincNameA@8@0x0157359 RpcServerInqDefaultPrincNameW = _RpcServerInqDefaultPrincNameW@8@0x0158360 RpcServerInqIf = _RpcServerInqIf@12@0x0159361 RpcServerListen = _RpcServerListen@12@0x015a362 RpcServerRegisterAuthInfoA = _RpcServerRegisterAuthInfoA@16@0x015b363 RpcServerRegisterAuthInfoW = _RpcServerRegisterAuthInfoW@16@0x015c364 RpcServerRegisterIf = _RpcServerRegisterIf@12@0x015d365 RpcServerRegisterIfEx = _RpcServerRegisterIfEx@24@0x015e366 RpcServerUnregisterIf = _RpcServerUnregisterIf@12@0x015f367 RpcServerUseAllProtseqs = _RpcServerUseAllProtseqs@8@0x0160368 RpcServerUseAllProtseqsEx = _RpcServerUseAllProtseqsEx@12@0x0161369 RpcServerUseAllProtseqsIf = _RpcServerUseAllProtseqsIf@12@0x0162370 RpcServerUseAllProtseqsIfEx = _RpcServerUseAllProtseqsIfEx@16@0x0163371 RpcServerUseProtseqA = _RpcServerUseProtseqA@12@0x0164372 RpcServerUseProtseqEpA = _RpcServerUseProtseqEpA@16@0x0165373 RpcServerUseProtseqEpExA = _RpcServerUseProtseqEpExA@20@0x0166374 RpcServerUseProtseqEpExW = _RpcServerUseProtseqEpExW@20@0x0167375 RpcServerUseProtseqEpW = _RpcServerUseProtseqEpW@16@0x0168376 RpcServerUseProtseqExA = _RpcServerUseProtseqExA@16@0x0169377 RpcServerUseProtseqExW = _RpcServerUseProtseqExW@16@0x016a378 RpcServerUseProtseqIfA = _RpcServerUseProtseqIfA@16@0x016b379 RpcServerUseProtseqIfExA = _RpcServerUseProtseqIfExA@20@0x016c380 RpcServerUseProtseqIfExW = _RpcServerUseProtseqIfExW@20@0x016d381 RpcServerUseProtseqIfW = _RpcServerUseProtseqIfW@16@0x016e382 RpcServerUseProtseqW = _RpcServerUseProtseqW@12@0x016f353 RpcServerInqBindings = "_RpcServerInqBindings@4" @0x0156 354 RpcServerInqDefaultPrincNameA = "_RpcServerInqDefaultPrincNameA@8" @0x0157 355 RpcServerInqDefaultPrincNameW = "_RpcServerInqDefaultPrincNameW@8" @0x0158 356 RpcServerInqIf = "_RpcServerInqIf@12" @0x0159 357 RpcServerListen = "_RpcServerListen@12" @0x015a 358 RpcServerRegisterAuthInfoA = "_RpcServerRegisterAuthInfoA@16" @0x015b 359 RpcServerRegisterAuthInfoW = "_RpcServerRegisterAuthInfoW@16" @0x015c 360 RpcServerRegisterIf = "_RpcServerRegisterIf@12" @0x015d 361 RpcServerRegisterIfEx = "_RpcServerRegisterIfEx@24" @0x015e 362 RpcServerUnregisterIf = "_RpcServerUnregisterIf@12" @0x015f 363 RpcServerUseAllProtseqs = "_RpcServerUseAllProtseqs@8" @0x0160 364 RpcServerUseAllProtseqsEx = "_RpcServerUseAllProtseqsEx@12" @0x0161 365 RpcServerUseAllProtseqsIf = "_RpcServerUseAllProtseqsIf@12" @0x0162 366 RpcServerUseAllProtseqsIfEx = "_RpcServerUseAllProtseqsIfEx@16" @0x0163 367 RpcServerUseProtseqA = "_RpcServerUseProtseqA@12" @0x0164 368 RpcServerUseProtseqEpA = "_RpcServerUseProtseqEpA@16" @0x0165 369 RpcServerUseProtseqEpExA = "_RpcServerUseProtseqEpExA@20" @0x0166 370 RpcServerUseProtseqEpExW = "_RpcServerUseProtseqEpExW@20" @0x0167 371 RpcServerUseProtseqEpW = "_RpcServerUseProtseqEpW@16" @0x0168 372 RpcServerUseProtseqExA = "_RpcServerUseProtseqExA@16" @0x0169 373 RpcServerUseProtseqExW = "_RpcServerUseProtseqExW@16" @0x016a 374 RpcServerUseProtseqIfA = "_RpcServerUseProtseqIfA@16" @0x016b 375 RpcServerUseProtseqIfExA = "_RpcServerUseProtseqIfExA@20" @0x016c 376 RpcServerUseProtseqIfExW = "_RpcServerUseProtseqIfExW@20" @0x016d 377 RpcServerUseProtseqIfW = "_RpcServerUseProtseqIfW@16" @0x016e 378 RpcServerUseProtseqW = "_RpcServerUseProtseqW@12" @0x016f 383 379 ; RpcSmAllocate = _RpcSmAllocate@0 @0x0170 384 380 ; RpcSmClientFree = _RpcSmClientFree@0 @0x0171 … … 394 390 ; RpcSsDestroyClientContext = _RpcSsDestroyClientContext@0 @0x017b 395 391 ; RpcSsDisableAllocate = _RpcSsDisableAllocate@0 @0x017c 396 RpcSsDontSerializeContext = _RpcSsDontSerializeContext@0@0x017d392 RpcSsDontSerializeContext = "_RpcSsDontSerializeContext@0" @0x017d 397 393 ; RpcSsEnableAllocate = _RpcSsEnableAllocate@0 @0x017e 398 394 ; RpcSsFree = _RpcSsFree@0 @0x017f … … 401 397 ; RpcSsSetThreadHandle = _RpcSsSetThreadHandle@0 @0x0182 402 398 ; RpcSsSwapClientAllocFree = _RpcSsSwapClientAllocFree@0 @0x0183 403 RpcStringBindingComposeA = _RpcStringBindingComposeA@24@0x0184404 RpcStringBindingComposeW = _RpcStringBindingComposeW@24@0x0185405 RpcStringBindingParseA = _RpcStringBindingParseA@24@0x0186406 RpcStringBindingParseW = _RpcStringBindingParseW@24@0x0187407 RpcStringFreeA = _RpcStringFreeA@4@0x0188408 RpcStringFreeW = _RpcStringFreeW@4@0x0189409 RpcTestCancel = _RpcTestCancel@0@0x018a399 RpcStringBindingComposeA = "_RpcStringBindingComposeA@24" @0x0184 400 RpcStringBindingComposeW = "_RpcStringBindingComposeW@24" @0x0185 401 RpcStringBindingParseA = "_RpcStringBindingParseA@24" @0x0186 402 RpcStringBindingParseW = "_RpcStringBindingParseW@24" @0x0187 403 RpcStringFreeA = "_RpcStringFreeA@4" @0x0188 404 RpcStringFreeW = "_RpcStringFreeW@4" @0x0189 405 RpcTestCancel = "_RpcTestCancel@0" @0x018a 410 406 ; TowerConstruct = _TowerConstruct@0 @0x018b 411 407 ; TowerExplode = _TowerExplode@0 @0x018c 412 UuidCompare = _UuidCompare@12@0x018d413 UuidCreate = _UuidCreate@4@0x018e414 UuidCreateNil = _UuidCreateNil@4@0x018f415 UuidEqual = _UuidEqual@12@0x0190416 UuidFromStringA = _UuidFromStringA@8@0x0191417 UuidFromStringW = _UuidFromStringW@8@0x0192418 UuidHash = _UuidHash@8@0x0193419 UuidIsNil = _UuidIsNil@8@0x0194420 UuidToStringA = _UuidToStringA@8@0x0195421 UuidToStringW = _UuidToStringW@8@0x0196408 UuidCompare = "_UuidCompare@12" @0x018d 409 UuidCreate = "_UuidCreate@4" @0x018e 410 UuidCreateNil = "_UuidCreateNil@4" @0x018f 411 UuidEqual = "_UuidEqual@12" @0x0190 412 UuidFromStringA = "_UuidFromStringA@8" @0x0191 413 UuidFromStringW = "_UuidFromStringW@8" @0x0192 414 UuidHash = "_UuidHash@8" @0x0193 415 UuidIsNil = "_UuidIsNil@8" @0x0194 416 UuidToStringA = "_UuidToStringA@8" @0x0195 417 UuidToStringW = "_UuidToStringW@8" @0x0196 422 418 ; char_array_from_ndr = _char_array_from_ndr@0 @0x0197 423 419 ; char_from_ndr = _char_from_ndr@0 @0x0198 -
branches/gcc-kmk/src/rpcrt4/rpcrt4.h
r21494 r21849 9 9 10 10 #define CINTERFACE 11 #define RPC_UNICODE_SUPPORTED 111 #define RPC_UNICODE_SUPPORTED 12 12 13 13 #include <stdarg.h> -
branches/gcc-kmk/src/rpcrt4/util.asm
r3307 r21849 15 15 CODE32 SEGMENT DWORD PUBLIC USE32 'CODE' 16 16 17 public getEAX18 getEAX proc near17 public _getEAX 18 _getEAX proc near 19 19 ret 20 20 endp 21 21 22 public getEDX23 getEDX proc near22 public _getEDX 23 _getEDX proc near 24 24 mov EAX, EDX 25 25 ret -
branches/gcc-kmk/src/rpcrt4/uuid.cpp
r21720 r21849 35 35 36 36 37 #define TCPV40HDRS38 #include "rpcrt4.h"39 #include "uuidp.h"40 41 #include "io.h"42 #include "sys/timeb.h"43 44 37 #include <sys/socket.h> 45 38 #include <sys/ioctl.h> … … 52 45 #include <nerrno.h> 53 46 #include <sys/time.h> 47 48 #ifndef TCPV40HDRS 49 #define TCPV40HDRS 50 #endif 51 #include "rpcrt4.h" 52 #include "uuidp.h" 53 54 #include "io.h" 55 #include "sys/timeb.h" 54 56 55 57 ULONG WINAPI RtlExtendedIntegerMultiply(LARGE_INTEGER factor1, INT factor2);
Note:
See TracChangeset
for help on using the changeset viewer.