NotifyServiceStatusChangeA method

int NotifyServiceStatusChangeA(
  1. Pointer<SC_HANDLE__> hService,
  2. int dwNotifyMask,
  3. Pointer<PSERVICE_NOTIFY_2A> pNotifyBuffer
)

Implementation

int NotifyServiceStatusChangeA(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwNotifyMask,
  ffi.Pointer<PSERVICE_NOTIFY_2A> pNotifyBuffer,
) {
  return (_NotifyServiceStatusChangeA ??= _dylib.lookupFunction<
      _c_NotifyServiceStatusChangeA,
      _dart_NotifyServiceStatusChangeA>('NotifyServiceStatusChangeA'))(
    hService,
    dwNotifyMask,
    pNotifyBuffer,
  );
}