Microsoft DirectX 9.0

IVPManager::SetVideoPortIndex

The SetVideoPortIndex method instructs the Video Port Manager (VPM) to connect to the specified video port.

Syntax

HRESULT SetVideoPortIndex(
  DWORD  dwVideoPortIndex
);

Parameters

dwVideoPortIndex

[in]  Double word containing the video port index.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Use this method on a multi-monitor system to specify to the Video Port Manager which video port index is being used.

See Also