次の方法で共有


IVPBaseConfig::GetVideoFormats (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the video formats the decoder supports.

Syntax

HRESULT GetVideoFormats(
  LPDWORD pdwNumFormats,
  LPDDPIXELFORMAT pddPixelFormats
);

Parameters

  • pdwNumFormats
    [in, out] Pointer to the number of DDPIXELFORMAT structures provided by the pddPixelFormats parameter.

    When called, this method updates this parameter with the actual number of structures retrieved.

    If pddPixelFormats is NULL, this method updates this parameter with the total number of formats the driver supports.

  • pddPixelFormats
    [in, out] Pointer to an array of DDPIXELFORMAT structures that the driver fills.

    Specify NULL to retrieve only the count of supported formats in pdwNumFormats.

Return Value

Returns NOERROR if the count or structures were returned, or a driver error otherwise.

Remarks

This method queries for either the number of DDPIXELFORMAT structures supported by the driver, or retrieves as many structures as can fit into the provided buffer space.

The callee must allocate the correct amount of space for the number of structures requested.

Set the video format by using IVPBaseConfig::SetVideoFormat.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IVPBaseConfig Interface