Compartilhar via


IVMRMonitorConfig::GetMonitor

 
Microsoft DirectShow 9.0

IVMRMonitorConfig::GetMonitor

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

Syntax

  HRESULT GetMonitor(

  
  VMRGUID*
  
  pGUID

  );

Parameters

pGUID

[out]  Pointer to a VMRGUID structure allocated by the caller. The method fills this structure with a GUID that identifies the monitor.

Return Values

Returns an HRESULT value. Possible values include the following.

Error Code Description
E_POINTER NULL pointer argument.
S_OK Success.
VFW_E_WRONG_STATE The allocator-presenter has not been loaded.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also