QueryServiceConfigW method

int QueryServiceConfigW(
  1. Pointer<SC_HANDLE__> hService,
  2. Pointer<LPQUERY_SERVICE_CONFIGW> lpServiceConfig,
  3. int cbBufSize,
  4. Pointer<Uint64> pcbBytesNeeded,
)

Implementation

int QueryServiceConfigW(
  ffi.Pointer<SC_HANDLE__> hService,
  ffi.Pointer<LPQUERY_SERVICE_CONFIGW> lpServiceConfig,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
  return (_QueryServiceConfigW ??= _dylib.lookupFunction<
      _c_QueryServiceConfigW,
      _dart_QueryServiceConfigW>('QueryServiceConfigW'))(
    hService,
    lpServiceConfig,
    cbBufSize,
    pcbBytesNeeded,
  );
}