Share via


Requirements for Windows Media DRM-Enabled Applications

banner art

Previous Next

Requirements for Windows Media DRM-Enabled Applications

To create a Windows Media Digital Rights Management (DRM)-enabled application, you must have the headers and libraries described in the General Requirements for Application Development section of this document. In addition, the application will need to supply additional properties in the client information when opening the device.

The two additional properties that are required to enable Windows Media DRM-protected content transfers are described in the following table.

Property Description
WPD_CLIENT_WMDRM_APPLICATION_PRIVATE_KEY Specifies the application's private key.
WPD_CLIENT_WMDRM_APPLICATION_CERTIFICATE Specifies the application's certificate.

These properties must be supplied in the application's client information when the device is opened with the IPortableDevice::Open method. When these properties are supplied, the Windows Portable Devices API allows protected content transfers. If the application has provided a certificate and private key, the API will CoCreate the IPortableDeviceWMDRM component and initialize it with an instance of itself (IPortableDevice) and the client information from the application (IPortableDeviceValues).

See Also

Previous Next