WaitServiceState method

int WaitServiceState(
  1. Pointer<SC_HANDLE__> hService,
  2. int dwNotify,
  3. int dwTimeout,
  4. Pointer<Void> hCancelEvent,
)

Implementation

int WaitServiceState(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwNotify,
  int dwTimeout,
  ffi.Pointer<ffi.Void> hCancelEvent,
) {
  return (_WaitServiceState ??=
      _dylib.lookupFunction<_c_WaitServiceState, _dart_WaitServiceState>(
          'WaitServiceState'))(
    hService,
    dwNotify,
    dwTimeout,
    hCancelEvent,
  );
}