Share via


IWMDRMReader interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

[IWMDRMReader is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Microsoft PlayReady. ]

The IWMDRMReader interface provides methods to configure the DRM component and to manage DRM license acquisition and individualization of client applications. It is used only for content protected using DRM version 7, not the earlier DRM version 1.

This interface can be obtained from a reader object.

Inheritance

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

Methods

The IWMDRMReader interface has these methods.

 
IWMDRMReader::AcquireLicense

The AcquireLicense method begins the license acquisition process.
IWMDRMReader::CancelIndividualization

The CancelIndividualization method cancels a current call to the Individualize method.
IWMDRMReader::CancelLicenseAcquisition

The CancelLicenseAcquisition method cancels a current call to the AcquireLicense method.
IWMDRMReader::CancelMonitorLicenseAcquisition

The CancelMonitorLicenseAcquisition method cancels a current call to the MonitorLicenseAcquisition method.
IWMDRMReader::GetDRMProperty

The GetDRMProperty method retrieves DRM-specific file attributes and run-time properties.
IWMDRMReader::Individualize

The Individualize method individualizes the client by updating their DRM system components.
IWMDRMReader::MonitorLicenseAcquisition

The MonitorLicenseAcquisition method, in nonsilent license acquisition, informs the application when a license has been successfully acquired.
IWMDRMReader::SetDRMProperty

The SetDRMProperty method on the reader object is used to set a DRM property, such as the DRM_Rights property.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wmsdkidl.h

See also

DRM Attribute List

DRM Properties

Digital Rights Management Features

IWMDRMReader2 Interface

IWMDRMReader3 Interface

IWMReader Interface

Interfaces