Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IVMRMonitorConfig9::GetMonitor method

The GetMonitor method retrieves the monitor that this instance of the VMR is using for video playback.

Syntax


HRESULT GetMonitor(
  [out] UINT *puDev
);

Parameters

puDev [out]

Pointer that receives an index that identifies the monitor currently in use.

Return value

The method returns an HRESULT. Possible values include the following.

Return codeDescription
E_POINTER

NULL pointer argument.

S_OK

The method succeeded.

VFW_E_WRONG_STATE

The allocator-presenter has not been loaded.

 

Remarks

Use this method to determine the Direct3D object that will be used when connecting the mixer filter to an upstream decoder filter.

Include DShow.h and D3d9.h before Vmr9.h.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Using the Video Mixing Renderer
IVMRMonitorConfig9 Interface
IVMRMonitorConfig9::SetMonitor

 

 

Community Additions

ADD
Show:
© 2015 Microsoft