次の方法で共有


IVMRMonitorConfig9::GetMonitor

 
Microsoft DirectShow 9.0

IVMRMonitorConfig9::GetMonitor

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

Syntax

  HRESULT GetMonitor(
  UINT*  puDev
);

Parameters

puDev

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

Return Values

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

Value Description
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.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also