Microsoft DirectX 9.0


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.



User data. The value of this parameter is the pointer that the caller specified in the userData parameter of the RegisterForEvent method.


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.

See Also