CodecAPIEventData structure (strmif.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 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 XP with SP2 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 R2 [desktop apps | UWP apps] |
Header | strmif.h (include Dshow.h) |