Microsoft DirectX 9.0

MonitorInfo Sample

Description

This sample enumerates the monitors on the user's system and displays information about each, including the dimensions, flags, handle, name, and optional description field. This sample demonstrates the IVMRMonitorConfig and IVMRMonitorConfig9 interfaces on the Video Mixing Renderer filter.

Two versions of this sample are available, one for the VMR-7 and one for the VMR-9.

VMR-7

Source: (SDK root)\Samples\C++\DirectShow\VMR\MonitorInfo

Executable: (SDK root)\Samples\C++\DirectShow\Bin\MonitorInfo.exe

VMR-9

Source: (SDK root)\Samples\C++\DirectShow\VMR9\MonitorInfo

Executable: (SDK root)\Samples\C++\DirectShow\Bin\MonitorInfo9.exe

See Also