IWMDMNotification Interface (deprecated)
This is preliminary documentation and subject to change.
This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.
The optional, application-implemented IWMDMNotification interface allows applications and service providers to receive notifications when either devices or memory storages (such as RAM cards) are connected or disconnected from the computer.
Note This method will be called only for registered Plug and Play devices. Other device arrivals or departures will not cause this interface to be called.
This interface GUID is not properly defined in mssachlp.lib; therefore, you must #include both mswmdm.h and mswmdm_i.c (from wmdm.idl) if implementing this interface, to get the proper definitions.
In addition to the methods inherited from IUnknown, the IWMDMNotification interface exposes the following methods.
Method | Description |
WMDMMessage | Called by Windows Media Device Manager when a device or storage medium is connected or removed. |
See Also