NotifyServiceStatusChange function advapi32
int
NotifyServiceStatusChange(
- int hService,
- int dwNotifyMask,
- Pointer<
SERVICE_NOTIFY_2> pNotifyBuffer
Enables an application to receive notification when the specified service is created or deleted or when its status changes.
DWORD NotifyServiceStatusChangeW(
[in] SC_HANDLE hService,
[in] DWORD dwNotifyMask,
[in] PSERVICE_NOTIFYW pNotifyBuffer
);
Implementation
int NotifyServiceStatusChange(
int hService,
int dwNotifyMask,
Pointer<SERVICE_NOTIFY_2> pNotifyBuffer,
) => _NotifyServiceStatusChange(hService, dwNotifyMask, pNotifyBuffer);