Partager via


IVPManager Interface

 
Microsoft DirectShow 9.0

IVPManager Interface

The IVPManager interface is implemented on the Video Port Manager (VPM). The interface provides methods for applications to specify and retrieve indexes for ports when there are multiple video ports on a system, and to specify and retrieve the rectangle used by the video port. Currently, only the two index-related methods are implemented.

In addition to the methods inherited from IUnknown, the IVPManager interface exposes the following methods:

Method Description
GetVideoPortIndex Returns the current video port index being used by the Video Port Manager.
SetVideoPortIndex Instructs the Video Port Manager to connect to the specified video port.

Requirements

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

Library: Use Strmiids.lib.