Partager via


EC_WMT_EVENT

 
Microsoft DirectShow 9.0

EC_WMT_EVENT

Sent by the WM ASF Reader filter when it reads ASF files protected by digital rights management (DRM).

Parameters

lParam1

One of the following WMT_STATUS values:

Value Description
WMT_ACQUIRE_LICENSE Sent when the DRM component has completed the license acquisition process, either successfully or unsuccessfully.
WMT_INDIVIDUALIZE The security upgrade process has completed, either successfully or unsuccessfully.
WMT_NEEDS_INDIVIDUALIZATION The file requires that an application receive a security upgrade before performing the requested action.
WMT_NO_RIGHTS The application has no rights to perform he requested action on a file protected by DRM version 1.
WMT_NO_RIGHTS_EX The application has no rights to perform he requested action on a file protected by DRM version 7.

lParam2

Pointer to an AM_WMT_EVENT_DATA structure that contains information about the event, or NULL. 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_ACQUIRE_LICENSE Pointer to a WM_GET_LICENSE_DATA structure. This structure is documented in the Windows Media Format SDK.
WMT_INDIVIDUALIZE Pointer to a WM_INDIVIDUALIZE_STATUS structure.
WMT_NEEDS_INDIVIDUALIZATION NULL.
WMT_NO_RIGHTS Pointer to a wide-character string containing a challenge URL.
WMT_NO_RIGHTS_EX Pointer to a WM_GET_LICENSE_DATA structure.

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.

Requirements

  Header: Dshow.h.

See Also