QueryServiceConfig2 function advapi32
Retrieves the optional configuration parameters of the specified service.
BOOL QueryServiceConfig2W(
[in] SC_HANDLE hService,
[in] DWORD dwInfoLevel,
[out, optional] LPBYTE lpBuffer,
[in] DWORD cbBufSize,
[out] LPDWORD pcbBytesNeeded
);
Implementation
int QueryServiceConfig2(int hService, int dwInfoLevel, Pointer<Uint8> lpBuffer,
int cbBufSize, Pointer<Uint32> pcbBytesNeeded) =>
_QueryServiceConfig2(
hService, dwInfoLevel, lpBuffer, cbBufSize, pcbBytesNeeded);