共用方式為


IFullScreenVideoEx::SetMonitor

 
Microsoft DirectShow 9.0

IFullScreenVideoEx::SetMonitor

The SetMonitor method specifies which monitor to use. The Full Screen Renderer only supports the primary monitor, however, so this method is not useful in the current implementation.

Syntax

  HRESULT SetMonitor(
  long Monitor
);

Parameters

Monitor

[in] Specifies the index of the monitor to use. Must be zero in the current implementation.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument.
S_OK Success.

Requirements

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

Library: Use Strmiids.lib.

See Also