DRM Import

[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 following sections explain how to convert media content from a third-party content protection system (CPS) to Windows Media DRM. This process is known as DRM Import and consists essentially of the following steps:

  1. Creating the ASF file.
  2. Creating the license.
  3. Optionally deleting the license.

DRM Import is explained in the following sections.

Section Description
Importing License and Key Material Describes how to issue licenses locally and import them into Windows Media DRM.
Checking Certificate Revocation Describes how to check certificate revocation.
Building an XMR License Describes how to create an XMR license and pass it to the DRM subsystem.
Creating and Initializing a DRM Writer Describes how to initialize an ASF writer object to prepare for DRM Import.
Encrypting and Importing Media Samples Describes how to encrypt and import individual media samples into Windows Media DRM.
License Deletion Describes how to delete locally created licenses.

 

Programming Guide