EC_VMR_RENDERDEVICE_SET
[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.]
Sent when the VMR has selected its rendering mechanism.
Parameters
-
lParam1
-
May be one of the following values:
Value Meaning VMR_RENDER_DEVICE_OVERLAY The VMR will render to the overlay surface (VMR-7 only). VMR_RENDER_DEVICE_VIDMEM The VMR will render to video memory. VMR_RENDER_DEVICE_SYSMEM The VMR will render to system memory (VMR-7 only). -
lParam2
-
Not used.
Remarks
This event is sent by both the VMR-7 and the VMR-9 and it is forwarded to applications. Note that the VMR-9 only supports video memory render targets.
Requirements
Requirement | Value |
---|---|
Header |
|