Platform SDK: Hardware |
The UnregisterDeviceNotification function closes the specified device notification handle.
BOOL UnregisterDeviceNotification( HDEVNOTIFY Handle );
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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 98.
Header: Declared in Winuser.h; include Windows.h.
Library: Use User32.lib.
Device Management Overview, Device Management Functions, RegisterDeviceNotification, WM_DEVICECHANGE