QueryServiceStatusEx method

int QueryServiceStatusEx(
  1. Pointer<SC_HANDLE__> hService,
  2. int InfoLevel,
  3. Pointer<Uint8> lpBuffer,
  4. int cbBufSize,
  5. Pointer<Uint64> pcbBytesNeeded,
)

Implementation

int QueryServiceStatusEx(
  ffi.Pointer<SC_HANDLE__> hService,
  int InfoLevel,
  ffi.Pointer<ffi.Uint8> lpBuffer,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
  return (_QueryServiceStatusEx ??= _dylib.lookupFunction<
      _c_QueryServiceStatusEx,
      _dart_QueryServiceStatusEx>('QueryServiceStatusEx'))(
    hService,
    InfoLevel,
    lpBuffer,
    cbBufSize,
    pcbBytesNeeded,
  );
}