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:

ValueDescription
WMT_ACQUIRE_LICENSESent when the DRM component has completed the license acquisition process, either successfully or unsuccessfully.
WMT_INDIVIDUALIZEThe security upgrade process has completed, either successfully or unsuccessfully.
WMT_NEEDS_INDIVIDUALIZATIONThe file requires that an application receive a security upgrade before performing the requested action.
WMT_NO_RIGHTSThe application has no rights to perform he requested action on a file protected by DRM version 1.
WMT_NO_RIGHTS_EXThe 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.

lParam1AM_WMT_EVENT_DATA.pData
WMT_ACQUIRE_LICENSEPointer to a WM_GET_LICENSE_DATA structure. This structure is documented in the Windows Media Format SDK.
WMT_INDIVIDUALIZEPointer to a WM_INDIVIDUALIZE_STATUS structure.
WMT_NEEDS_INDIVIDUALIZATIONNULL.
WMT_NO_RIGHTSPointer to a wide-character string containing a challenge URL.
WMT_NO_RIGHTS_EXPointer 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

Event Notification Codes
Event Notification in DirectShow

 

 

Show: