QueryServiceConfig function advapi32
Retrieves the configuration parameters of the specified service. Optional configuration parameters are available using the QueryServiceConfig2 function.
BOOL QueryServiceConfigW(
[in] SC_HANDLE hService,
[out, optional] LPQUERY_SERVICE_CONFIGW lpServiceConfig,
[in] DWORD cbBufSize,
[out] LPDWORD pcbBytesNeeded
);
Implementation
int QueryServiceConfig(
int hService,
Pointer<QUERY_SERVICE_CONFIG> lpServiceConfig,
int cbBufSize,
Pointer<Uint32> pcbBytesNeeded) =>
_QueryServiceConfig(hService, lpServiceConfig, cbBufSize, pcbBytesNeeded);