IWMDRMNonSilentLicenseAquisition interface

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

The IWMDRMNonSilentLicenseAquisition interface provides methods that enable license acquisition requiring user intervention.

This interface can be obtained by performing non-silent license acquisition. After you call IWMDRMLicenseManagement::AcquireLicense an MEWMDRMLicenseAcquisitionCompleted event will be generated. Call the IMFMediaEvent::GetValue method of the event to get a pointer to an IUnknown interface that can be queried for a pointer to an instance of this interface.

Members

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

Methods

The IWMDRMNonSilentLicenseAquisition interface has these methods.

Method Description
GetChallenge Retrieves the license challenge that should be posted to the license server.
GetURL Retrieves the URL to which the license challenge should be posted.

See also

Interfaces

Non-Silent License Acquisition