QueryServiceConfig2A method

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

Implementation

int QueryServiceConfig2A(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwInfoLevel,
  ffi.Pointer<ffi.Uint8> lpBuffer,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
  return (_QueryServiceConfig2A ??= _dylib.lookupFunction<
      _c_QueryServiceConfig2A,
      _dart_QueryServiceConfig2A>('QueryServiceConfig2A'))(
    hService,
    dwInfoLevel,
    lpBuffer,
    cbBufSize,
    pcbBytesNeeded,
  );
}