QueryServiceLockStatusA method

int QueryServiceLockStatusA(
  1. Pointer<SC_HANDLE__> hSCManager,
  2. Pointer<LPQUERY_SERVICE_LOCK_STATUSA> lpLockStatus,
  3. int cbBufSize,
  4. Pointer<Uint64> pcbBytesNeeded,
)

Implementation

int QueryServiceLockStatusA(
  ffi.Pointer<SC_HANDLE__> hSCManager,
  ffi.Pointer<LPQUERY_SERVICE_LOCK_STATUSA> lpLockStatus,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
  return (_QueryServiceLockStatusA ??= _dylib.lookupFunction<
      _c_QueryServiceLockStatusA,
      _dart_QueryServiceLockStatusA>('QueryServiceLockStatusA'))(
    hSCManager,
    lpLockStatus,
    cbBufSize,
    pcbBytesNeeded,
  );
}