CodecAPIEventData structure (icodecapi.h)

The CodecAPIEventData structure contains event data for the EC_CODECAPI_EVENT event. This event is sent by codecs that support the ICodecAPI interface.

Syntax

struct CodecAPIEventData {
  GUID  guid;
  DWORD dataLength;
  DWORD reserved[3];
};

Members

guid

A GUID that identifies the codec event.

dataLength

The length of the additional data that follows this structure, in bytes. The value can be zero.

reserved[3]

Reserved; do not use.

Remarks

This structure may be followed by addition data, depending on the codec event. For more information, see ICodecAPI::RegisterForEvent.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header icodecapi.h

See also

DirectShow Structures

ICodecAPI::RegisterForEvent