Bagikan melalui


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

[IWMDRMWriter2 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 IWMDRMWriter2 interface provides a method that enables you to write content encrypted with Windows Media DRM 10 for Network Devices.

An IWMDRMWriter2 interface exists for every writer object. You can obtain a pointer to an instance of this interface by calling the QueryInterface method of any interface of a writer object.

Inheritance

The IWMDRMWriter2 interface inherits from IWMDRMWriter. IWMDRMWriter2 also has these types of members:

Methods

The IWMDRMWriter2 interface has these methods.

 
IWMDRMWriter2::SetWMDRMNetEncryption

The SetWMDRMNetEncryption method configures the writer to receive input samples encoded with Windows Media DRM 10 for Network Devices.

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

IWMDRMWriter Interface

Interfaces

Writer Object