Compartir a través de


IVPBaseConfig::InformVPInputFormats (Compact 2013)

3/26/2014

This 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] Array of pixel format structures (DDPIXELFORMAT) to send to the device.

Return Value

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.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVPBaseConfig Interface