IDeviceController::remove_DeviceDeparture method
Unregisters an event handler for the DeviceDeparture event.
c++
HRESULT remove_DeviceDeparture(
[in] EventRegistrationToken *token
);
- token [in]
A reference to a token obtained from the add_DeviceDeparture method when the event handler was registered.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
S_OK | The method succeeded. |