IVPBaseConfig::GetConnectInfo (Windows CE 5.0)
This method retrieves connection information structures.
HRESULT GetConnectInfo(LPDWORDpdwNumConnectInfo,LPDDVIDEOPORTCONNECTpddVPConnectInfo);
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 Values
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
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
See Also
Send Feedback on this topic to the authors