mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 22:18:13 +00:00
Hack the declaration of RQueryServiceConfigA. This hack has already been applied to RQueryServiceConfigW.
Based on patches from Bug #3669 by bugboy <martinmnet@hotmail.com>. svn path=/trunk/; revision=35604
This commit is contained in:
parent
1e3bc51e71
commit
413b6d969f
3 changed files with 4 additions and 3 deletions
|
@ -2475,7 +2475,7 @@ DWORD ROpenServiceA(
|
|||
DWORD RQueryServiceConfigA(
|
||||
handle_t BindingHandle,
|
||||
SC_RPC_HANDLE hService,
|
||||
LPQUERY_SERVICE_CONFIGA lpServiceConfig,
|
||||
LPBYTE lpBuf, //LPQUERY_SERVICE_CONFIGA lpServiceConfig,
|
||||
DWORD cbBufSize,
|
||||
LPBOUNDED_DWORD_8K pcbBytesNeeded)
|
||||
{
|
||||
|
|
|
@ -1461,7 +1461,7 @@ QueryServiceConfigA(SC_HANDLE hService,
|
|||
/* Call to services.exe using RPC */
|
||||
dwError = RQueryServiceConfigA(BindingHandle,
|
||||
(SC_RPC_HANDLE)hService,
|
||||
lpServiceConfig,
|
||||
(LPBYTE)lpServiceConfig,
|
||||
cbBufSize,
|
||||
pcbBytesNeeded);
|
||||
if (dwError != ERROR_SUCCESS)
|
||||
|
|
|
@ -578,7 +578,8 @@ interface svcctl
|
|||
DWORD RQueryServiceConfigA(
|
||||
[in] handle_t BindingHandle,
|
||||
[in] SC_RPC_HANDLE hService,
|
||||
[out] LPQUERY_SERVICE_CONFIGA lpServiceConfig,
|
||||
[out, unique, size_is(cbBufSize)] LPBYTE lpServiceConfig,
|
||||
/* FIXME: should be [out] LPQUERY_SERVICE_CONFIGA lpServiceConfig, */
|
||||
[in, range(0, 1024*8)] DWORD cbBufSize,
|
||||
[out] LPBOUNDED_DWORD_8K pcbBytesNeeded);
|
||||
|
||||
|
|
Loading…
Reference in a new issue