Microsoft DirectX 9.0

IVPBaseConfig::SetVideoPortID

The SetVideoPortID method specifies the ID of the hardware video port to use.

Syntax

HRESULT SetVideoPortID (
  DWORD dwVideoPortID
);

Parameters

dwVideoPortID

[in] Specifies the video port ID. This value corresponds to the dwVideoPortID member of the DDVIDEOPORTDESC structure, which is documented in the Windows DDK.

Return Values

Returns an HRESULT value.

Remarks

This method sets the DirectDraw video port ID on the mini driver to enable it to communicate with the video port directly.

See Also