Compartilhar via


IFullScreenVideoEx::GetMonitor

 
Microsoft DirectShow 9.0

IFullScreenVideoEx::GetMonitor

The GetMonitor method queries which monitor the Full Screen Renderer is using. The Full Screen Renderer only supports the primary monitor, so the returned value is always zero.

Syntax

  HRESULT GetMonitor(
  long *Monitor
);

Parameters

Monitor

[out] Pointer to a variable that receives the index of the monitor.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

Requirements

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

Library: Use Strmiids.lib.

See Also