QueryServiceLockStatusW method

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

Implementation

int QueryServiceLockStatusW(
  ffi.Pointer<SC_HANDLE__> hSCManager,
  ffi.Pointer<LPQUERY_SERVICE_LOCK_STATUSW> lpLockStatus,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
  return (_QueryServiceLockStatusW ??= _dylib.lookupFunction<
      _c_QueryServiceLockStatusW,
      _dart_QueryServiceLockStatusW>('QueryServiceLockStatusW'))(
    hSCManager,
    lpLockStatus,
    cbBufSize,
    pcbBytesNeeded,
  );
}