NotifyServiceStatusChangeW method

int NotifyServiceStatusChangeW(
  1. Pointer<SC_HANDLE__> hService,
  2. int dwNotifyMask,
  3. Pointer<PSERVICE_NOTIFY_2W> pNotifyBuffer
)

Implementation

int NotifyServiceStatusChangeW(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwNotifyMask,
  ffi.Pointer<PSERVICE_NOTIFY_2W> pNotifyBuffer,
) {
  return (_NotifyServiceStatusChangeW ??= _dylib.lookupFunction<
      _c_NotifyServiceStatusChangeW,
      _dart_NotifyServiceStatusChangeW>('NotifyServiceStatusChangeW'))(
    hService,
    dwNotifyMask,
    pNotifyBuffer,
  );
}