共用方式為


VMR9MonitorInfo

 
Microsoft DirectShow 9.0

VMR9MonitorInfo

The VMR9MonitorInfo structure is used with the VMR-9 in the IVMRMonitorConfig9::GetAvailableMonitors method to set and retrieve information about monitors on the system.

Syntax

typedef struct VMR9MonitorInfo{
  UINT  uDevID;
  RECT  rcMonitor;
  HMONITOR  hMon;
  DWORD  dwFlags;
  wchar_t  szDevice[VMR9DEVICENAMELEN];
  wchar_t  szDescription[VMR9DEVICEDESCRIPTIONLEN]
  LARGE_INTEGER  liDriverVersion;
  DWORD  dwVendorId;
  DWORD  dwDeviceId;
  DWORD  dwSubSysId;
  DWORD  dwRevision;
};

Members

uDevID

Integer index that specifies the monitor device.

rcMonitor

Specifies the monitor's rectangle.

hMon

Handle to the monitor.

dwFlags

Described in MONITORINFOEX, currently only MONITORINFOF_PRIMARY.

szDevice

Null-terminated string containing the device name.

szDescription

Null-terminated string containing a description of the device.

liDriverVersion

Specifies the driver version.

dwVendorId

Specifies the vendor.

dwDeviceId

Specifies the device ID.

dwSubSysId

Specifies the device subsystem.

dwRevision

Specifies the revision number.

Remarks

This structure is used to configure monitors on multi-monitor systems.

Requirements

Header: Vmr9.h.

See Also