Unregisters from receiving Plug-and-Play and power management event notifications.
DWORD EventUnregister(HANDLE hEvent);
| Name | Type | Input/Output |
|---|---|---|
| hEvent | HANDLE | Input |
| Name | Description |
|---|---|
| hEvent | Handle received from EventRegister() |
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate
error code otherwise
This function wraps WD_EventUnregister() and
InterruptDisable()
EventUnregister(event_handle);