다음을 통해 공유


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

[IWMDRMMessageParser 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 IWMDRMMessageParser interface parses pertinent information from messages received from a device.

An IWMDRMMessageParser interface exists for every device registration object. You can obtain a pointer to this interface by calling the QueryInterface method of the IWMDeviceRegistration interface, or any other interface of the device registration object.

Inheritance

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

Methods

The IWMDRMMessageParser interface has these methods.

 
IWMDRMMessageParser::ParseLicenseRequestMsg

The ParseLicenseRequestMsg method extracts the device identification and requested action from a policy request message.
IWMDRMMessageParser::ParseRegistrationReqMsg

The ParseRegistrationReqMsg method extracts the device certificate and identifier from a registration message sent by a device.

Remarks

This interface deals with two types of messages: registration messages that come from new devices on the network, and license request messages that devices send to request actions. These messages are intended to accommodate the Windows Media DRM 10 for Network Devices protocol. A device can send other message types, which your application might need to intercept. Details vary by device and by protocol. For more information, refer to the appropriate specifications or standards for the device or protocol you want to support.

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

Interfaces