IWMDRMDeviceApp Interface
The IWMDRMDeviceApp interface enables an application to meter, synchronize licenses, and update a device's DRM components. This interface will only work with devices that support Windows Media DRM 10 for Portable Devices.
To get this interface, call CoCreateInstance, passing 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 to the methods inherited from IUnknown, the IWMDRMDeviceApp interface exposes the following methods.
Method | Description |
AcquireDeviceData | Initializes or resets a device secure clock |
GenerateMeterChallenge | Acquires metering data from a device. |
ProcessMeterResponse | Resets some or all of the metering counts on a device, after data from the device has been sent to and processed by the server. |
QueryDeviceStatus | Queries a device for its current DRM status and capabilities. |
SynchronizeLicenses | Updates licenses on a device when they are close to expiring. |
- Note Microsoft recommends that you notify end users if you will be collecting metering data.
See Also