Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Unregisters an event handler for the DeviceArrival event.
Syntax
HRESULT remove_DeviceArrival(
[in] EventRegistrationToken *token
);
Parameters
- token [in]
A reference to a token obtained from the add_DeviceArrival method when the event handler was registered.
Return value
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. |