windows::Win32::System::Services

Function SubscribeServiceChangeNotifications

pub unsafe fn SubscribeServiceChangeNotifications(
    hservice: SC_HANDLE,
    eeventtype: SC_EVENT_TYPE,
    pcallback: PSC_NOTIFICATION_CALLBACK,
    pcallbackcontext: Option<*const c_void>,
    psubscription: *mut PSC_NOTIFICATION_REGISTRATION,
) -> u32