IWMDRMDeviceApp2 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 IWMDRMDeviceApp2 interface extends IWMDRMDeviceApp by providing a new version of the QueryDeviceStatus method. QueryDeviceStatus2 enables the caller to query for a specific DRM requirement.
To get this interface, call CoCreateInstance and pass in CLSID_WMDRMDeviceApp.
Note This interface is defined in the header file built from WMDRMDeviceApp.idl. This header #includes "wmdm.h". You might need to change this file name to match the header built from WMDM.idl.
In addition, WMDRMDeviceApp.idl may not define the interface GUID in WMDRMDeviceApp.h, so you may need to include wmdrmdeviceapp_i.c as well.
In addition to the methods inherited from IWMDRMDeviceApp, the IWMDRMDeviceApp2 interface exposes the following method.
Method | Description |
QueryDeviceStatus2 | Queries a device for a specific DRM status or capability. |
See Also