Share via


IVPBaseConfig::GetConnectInfo (Windows Embedded CE 6.0)

1/6/2010

This method retrieves connection information structures.

Syntax

HRESULT GetConnectInfo(
  LPDWORD pdwNumConnectInfo,
  LPDDVIDEOPORTCONNECT pddVPConnectInfo
);

Parameters

  • pdwNumConnectInfo
    [in, out] Points to a buffer that contains the number of DDVIDEOPORTCONNECT structures provided by the pddVPConnectInfo parameter.

    Contains the actual number of structures returned on output.

    If pddVPConnectInfo is NULL, this method updates this parameter with the number of structures supported by the driver.

  • pddVPConnectInfo
    [in, out] Points to an array of DDVIDEOPORTCONNECT structures that the driver fills in.

    Specify NULL to retrieve the total number of formats supported.

Return Value

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

Remarks

This method retrieves the various connection information structures such as GUID and port width structures, in an array of structures specified by pddVPConnectInfo.

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

Set the index for connection information by using the IVPBaseConfig::SetConnectInfo method.

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