EC_CODECAPI_EVENT
[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 EC_CODECAPI_EVENT event is sent by an encoder to signal an encoding event. The client registers for encoder event by calling the ICodecAPI::RegisterForEvent method.
Parameters
-
lParam1
-
User data. The value of this parameter is the pointer that the caller specified in the userData parameter of the RegisterForEvent method.
-
lParam2
-
Pointer to the event data. This data is allocated by the encoder and must be freed by the application, using the CoTaskMemFree function. The data block starts with a CodecAPIEventData structure; cast the lParam2 parameter to a pointer to this structure.
Default Action
No default action.
Requirements
Requirement | Value |
---|---|
Header |
|