Поделиться через


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

[IWMDRMWriter3 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 IWMDRMWriter3 interface enables writing of encrypted stream samples for importing protected content.

An IWMDRMWriter3 interface exists for every writer object when linking to WMStubDRM.lib. 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 IWMDRMWriter3 interface inherits from IWMDRMWriter and IWMDRMWriter2. IWMDRMWriter3 also has these types of members:

Methods

The IWMDRMWriter3 interface has these methods.

 
IWMDRMWriter3::SetProtectStreamSamples

The SetProtectStreamSamples method configures the writer to accept encrypted stream samples. This method is used as part of the process of importing protected content from a third party content protection scheme (CPS) into Windows Media DRM.

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

IWMDRMWriter2

Interfaces