Microsoft DirectX 8.1 (C++)

IVPManager::SetVideoPortIndex

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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