Share via


IWMDRMDeviceApp2 Interface

banner art

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