Поделиться через


IVPBaseConfig::InformVPInputFormats

 
Microsoft DirectShow 9.0

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 S_OK otherwise.

Remarks

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

The DDPIXELFORMAT structure is documented in the Windows DDK.

Requirements

Header: Include Dvp.h, Vptype.h, Vpconfig.h.

Library: None.

See Also