UnregisterDeviceNotification function
Closes the specified device notification handle.
Syntax
BOOL WINAPI UnregisterDeviceNotification( _In_ HDEVNOTIFY Handle );
Parameters
- Handle [in]
-
Device notification handle returned by the RegisterDeviceNotification function.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Examples
For an example, see Registering for Device Notification.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: