SubscribeServiceChangeNotifications method
int
SubscribeServiceChangeNotifications(
- Pointer<
SC_HANDLE__> hService, - int eEventType,
- Pointer<
NativeFunction< pCallback,PSC_NOTIFICATION_CALLBACK> > - Pointer<
Void> pCallbackContext, - Pointer<
Pointer< pSubscription,_SC_NOTIFICATION_REGISTRATION> >
Implementation
int SubscribeServiceChangeNotifications(
ffi.Pointer<SC_HANDLE__> hService,
int eEventType,
ffi.Pointer<ffi.NativeFunction<PSC_NOTIFICATION_CALLBACK>> pCallback,
ffi.Pointer<ffi.Void> pCallbackContext,
ffi.Pointer<ffi.Pointer<_SC_NOTIFICATION_REGISTRATION>> pSubscription,
) {
return (_SubscribeServiceChangeNotifications ??= _dylib.lookupFunction<
_c_SubscribeServiceChangeNotifications,
_dart_SubscribeServiceChangeNotifications>(
'SubscribeServiceChangeNotifications'))(
hService,
eEventType,
pCallback,
pCallbackContext,
pSubscription,
);
}