IWMDRMDeviceApp interface

[The Windows Media DRM feature is deprecated and should not be used. Use Microsoft PlayReady instead.]

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.

Members

The IWMDRMDeviceApp interface inherits from the IUnknown interface. IWMDRMDeviceApp also has these types of members:

Methods

The IWMDRMDeviceApp interface has these 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.

See also

Handling Protected Content in the Application

Interfaces for Applications

Metering Content Usage