Microsoft DirectX 9.0 |
This event is sent when an application uses the ASF Reader filter to play ASF files protected by digital rights management (DRM).
Parameters
lParam1
Can be one of the following WMT_STATUS values:
WMT_STATUS Message | Description |
WMT_NO_RIGHTS | The application has no rights to perform he requested action on a file protected by DRM version 1. |
WMT_ACQUIRE_LICENSE | Sent when the DRM component has completed the license acquisition process, either successfully or unsuccessfully. |
WMT_NO_RIGHTS_EX | The application has no rights to perform he requested action on a file protected by DRM version 7. |
WMT_NEEDS_INDIVIDUALIZATION | The file requires that an application receive a security upgrade before performing the requested action. |
WMT_INDIVIDUALIZE | The security upgrade process has completed, either successfully or unsuccessfully. |
lParam2
Optional pointer to an AM_WMT_EVENT_DATA structure that contains information about the event. The pData member of this structure points to additional data, whose type depends on the value of lParam1, as shown in the following table.
lParam1 | AM_WMT_EVENT_DATA.pData |
WMT_NO_RIGHTS | Pointer to a wide-character string containing a challenge URL. |
WMT_ACQUIRE_LICENSE | Pointer to a WM_GET_LICENSE_DATA structure (defined in the Windows Media Format SDK). |
WMT_NO_RIGHTS_EX | Pointer to a WM_GET_LICENSE_DATA structure (defined in the Windows Media Format SDK). |
WMT_NEEDS_INDIVIDUALIZATION | NULL. |
WMT_INDIVIDUALIZE | Pointer to a WM_INDIVIDUALIZE_STATUS structure (defined in the Windows Media Format SDK). |
The value of lParam2 might be NULL. Check the value before dereferencing the pointer.
Remarks
See the Windows Media Format SDK documentation for more information on enabling playback of DRM-protected files.
See Also