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)
{
/* Call to services.exe using RPC */
dwError = RQueryServiceConfigA(BindingHandle,
(SC_RPC_HANDLE)hService,
- lpServiceConfig,
+ (LPBYTE)lpServiceConfig,
cbBufSize,
pcbBytesNeeded);
if (dwError != ERROR_SUCCESS)
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);