Author: jgardou
Date: Tue Oct 26 18:39:27 2010
New Revision: 49293
URL:
http://svn.reactos.org/svn/reactos?rev=49293&view=rev
Log:
[SERVICES]
- fix definition of midl_user_allocate, RQueryServiceConfigW and RQueryServiceConfigA
Modified:
branches/cmake-bringup/base/system/services/rpcserver.c
Modified: branches/cmake-bringup/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/system/servi…
==============================================================================
--- branches/cmake-bringup/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ branches/cmake-bringup/base/system/services/rpcserver.c [iso-8859-1] Tue Oct 26
18:39:27 2010
@@ -2564,11 +2564,10 @@
/* Function 17 */
DWORD RQueryServiceConfigW(
SC_RPC_HANDLE hService,
- LPBYTE lpBuf, //LPQUERY_SERVICE_CONFIGW lpServiceConfig,
+ LPQUERY_SERVICE_CONFIGW lpServiceConfig,
DWORD cbBufSize,
LPBOUNDED_DWORD_8K pcbBytesNeeded)
{
- LPQUERY_SERVICE_CONFIGW lpServiceConfig = (LPQUERY_SERVICE_CONFIGW)lpBuf;
DWORD dwError = ERROR_SUCCESS;
PSERVICE_HANDLE hSvc;
PSERVICE lpService = NULL;
@@ -3742,11 +3741,10 @@
/* Function 29 */
DWORD RQueryServiceConfigA(
SC_RPC_HANDLE hService,
- LPBYTE lpBuf, //LPQUERY_SERVICE_CONFIGA lpServiceConfig,
+ LPQUERY_SERVICE_CONFIGA lpServiceConfig,
DWORD cbBufSize,
LPBOUNDED_DWORD_8K pcbBytesNeeded)
{
- LPQUERY_SERVICE_CONFIGA lpServiceConfig = (LPQUERY_SERVICE_CONFIGA)lpBuf;
DWORD dwError = ERROR_SUCCESS;
PSERVICE_HANDLE hSvc;
PSERVICE lpService = NULL;
@@ -5355,7 +5353,7 @@
}
-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(), HEAP_ZERO_MEMORY, len);
}