Freigeben über


AM_WMT_EVENT_DATA structure (evcode.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The AM_WMT_EVENT_DATA structure contains information pertaining to an EC_WMT_EVENT and the associated status code returned by the Windows Media Format SDK.

Syntax

typedef struct {
  HRESULT hrStatus;
  void    *pData;
} AM_WMT_EVENT_DATA;

Members

hrStatus

The status code returned by the Windows Media Format SDK.

pData

Pointer whose data is dependent on the value of the WMT_STATUS message in lParam1 of the EC_WMT_EVENT event. For more information, see EC_WMT_EVENT.

Remarks

This structure is relevant when using the WM ASF Reader filter to read files protected with Digital Rights Management.

Requirements

Requirement Value
Header evcode.h