Microsoft DirectX 8.1 (C++)

IVPBaseConfig::InformVPInputFormats

The InformVPInputFormats method informs the device what video formats the video port supports.

Syntax

HRESULT InformVPInputFormats(
  DWORD dwNumFormats,
  LPDDPIXELFORMAT pDDPixelFormats
);

Parameters

dwNumFormats

[in] Number of video formats contained in the pDDPixelFormats parameter.

pDDPixelFormats

[in] Pointer to an array of pixel format structures (DDPIXELFORMAT) to send to the device.

Return Values

Returns S_FALSE if failure, or NOERROR otherwise.

Remarks

The supplied array of supported video port formats might determine what formats the device, in turn, proposes.

See Also