다음을 통해 공유


IWMDRMReader2 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.]

[IWMDRMReader2 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 IWMDRMReader2 interface provides methods for examining the rights granted by DRM version 10 licenses.

An IWMDRMReader2 interface exists for every instance of the reader object. You can get a pointer to this method by calling the QueryInterface method of any other interface of the reader object.

Inheritance

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

Methods

The IWMDRMReader2 interface has these methods.

 
IWMDRMReader2::GetCopyOutputLevels

The GetCopyOutputLevels method retrieves the output protection levels (OPLs) that apply to the copy action in the license of the file loaded in the reader.
IWMDRMReader2::GetPlayOutputLevels

The GetPlayOutputLevels method retrieves the output protection levels (OPLs) that apply to the play action in the license of the file loaded in the reader.
IWMDRMReader2::SetEvaluateOutputLevelLicenses

The SetEvaluateOutputLevelLicenses method sets the reader to evaluate licenses that use output protection levels (OPLs).
IWMDRMReader2::TryNextLicense

The TryNextLicense method sets the reader to evaluate the next applicable license (if present) for the file loaded in the reader.

Requirements

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

See also

IWMDRMReader Interface

IWMDRMReader3 Interface

Interfaces