IWMDRMLicenseManagement 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 IWMDRMLicenseManagement interface provides methods that perform general operations related to the local license store.
To obtain an instance of this interface, call IWMDRMProvider::CreateObject. Pass IID_IWMDRMLicenseManagement as the riid parameter.
Members
The IWMDRMLicenseManagement interface inherits from IWMDRMEventGenerator. IWMDRMLicenseManagement also has these types of members:
Methods
The IWMDRMLicenseManagement interface has these methods.
Method | Description |
---|---|
AcquireLicense | Asynchronously acquires a license from a specified URL. |
BackupLicenses | Creates a backup of the licenses in the local license store. |
CleanLicenseStore | Removes marked licenses from the license store and defragments the store to improve performance. |
CreateLicenseEnumeration | Creates a license enumerator object populated with license information based on parameter values. |
CreateLicenseRevocationChallenge | Generates a license revocation challenge. |
DeleteLicense | Deletes a license from the temporary local license store. |
MonitorLicenseAcquisition | Initiates monitoring for a license acquisition process. |
ProcessLicenseDeletionMessage | Deletes a license that was imported for content originally protected with another content protection system. |
ProcessLicenseRevocationResponse | Revokes licenses from the local license store. |
RestoreLicenses | Restores previously backed up licenses. |
StoreLicense | Adds a license to the local license store. |