From 252350f815c700e8c7210b816a6897d9f6981d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Tue, 26 Oct 2010 18:58:46 +0000 Subject: [PATCH] [WIN32 DLLS] - fix MIDL_user_allocate once and for all svn path=/branches/cmake-bringup/; revision=49295 --- dll/win32/advapi32/service/rpc.c | 2 +- dll/win32/lsasrv/lsasrv.c | 2 +- dll/win32/ole32/moniker.c | 2 +- dll/win32/rpcrt4/rpc_epmap.c | 2 +- dll/win32/setupapi/rpc.c | 2 +- dll/win32/wlanapi/main.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dll/win32/advapi32/service/rpc.c b/dll/win32/advapi32/service/rpc.c index 2ee75ab508e..8f73560028e 100644 --- a/dll/win32/advapi32/service/rpc.c +++ b/dll/win32/advapi32/service/rpc.c @@ -12,7 +12,7 @@ void __RPC_FAR * __RPC_USER -midl_user_allocate(SIZE_T len) +midl_user_allocate(size_t len) { return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len); } diff --git a/dll/win32/lsasrv/lsasrv.c b/dll/win32/lsasrv/lsasrv.c index 1a007ecef16..be060393648 100644 --- a/dll/win32/lsasrv/lsasrv.c +++ b/dll/win32/lsasrv/lsasrv.c @@ -72,7 +72,7 @@ ServiceInit(VOID) } -void __RPC_FAR * __RPC_USER midl_user_allocate(SIZE_T len) +void __RPC_FAR * __RPC_USER midl_user_allocate(size_t len) { return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len); } diff --git a/dll/win32/ole32/moniker.c b/dll/win32/ole32/moniker.c index b0030dee59b..f4321bb011a 100644 --- a/dll/win32/ole32/moniker.c +++ b/dll/win32/ole32/moniker.c @@ -1657,7 +1657,7 @@ HRESULT MonikerMarshal_Create(IMoniker *inner, IUnknown **outer) return S_OK; } -void * __RPC_USER MIDL_user_allocate(SIZE_T size) +void * __RPC_USER MIDL_user_allocate(size_t size) { return HeapAlloc(GetProcessHeap(), 0, size); } diff --git a/dll/win32/rpcrt4/rpc_epmap.c b/dll/win32/rpcrt4/rpc_epmap.c index 286ffbf9973..544ad74bf69 100644 --- a/dll/win32/rpcrt4/rpc_epmap.c +++ b/dll/win32/rpcrt4/rpc_epmap.c @@ -596,7 +596,7 @@ RPC_STATUS WINAPI TowerConstruct( return RPC_S_OK; } -void __RPC_FAR * __RPC_USER MIDL_user_allocate(SIZE_T len) +void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t len) { return HeapAlloc(GetProcessHeap(), 0, len); } diff --git a/dll/win32/setupapi/rpc.c b/dll/win32/setupapi/rpc.c index 3d55315ec6d..71ff8842570 100644 --- a/dll/win32/setupapi/rpc.c +++ b/dll/win32/setupapi/rpc.c @@ -111,7 +111,7 @@ PnpUnbindLocalBindingHandle(VOID) void __RPC_FAR * __RPC_USER -midl_user_allocate(SIZE_T len) +midl_user_allocate(size_t len) { return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len); } diff --git a/dll/win32/wlanapi/main.c b/dll/win32/wlanapi/main.c index 3740f916af1..8a37a9e8848 100644 --- a/dll/win32/wlanapi/main.c +++ b/dll/win32/wlanapi/main.c @@ -198,7 +198,7 @@ WlanScan(IN HANDLE hClientHandle, } void __RPC_FAR * __RPC_USER -midl_user_allocate(SIZE_T len) +midl_user_allocate(size_t len) { return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len); }