Microsoft Windows CE 3.0  

IDDVideoPortContainer::GetVideoPortConnectInfo

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The IDDVideoPortContainer::GetVideoPortConnectInfomethod retrieves the connection information supported by all video ports.

HRESULT GetVideoPortConnectInfo( DWORD
dwPortId
, LPDWORD
lpNumEntries
, LPDDVIDEOPORTCONNECT
lpConnectInfo
);

Parameters

dwPortId
Identifier of the video port for which the connection information will be retrieved.
lpNumEntries
Address of a variable containing the number of entries that the array at lpConnectInfocan hold. If this number is less than the total number of connections, the method fills the array with as many entries as will fit, sets the value at lpNumEntriesto indicate the total number of connections, and returns DDERR_MOREDATA.
lpConnectInfo
Address of an array of DDVIDEOPORTCONNECTstructures that will be filled with the connection options supported by the specified video port. If this parameter is NULL, the method sets lpNumEntriesto indicate the total number of connections that the video port supports, then returns DD_OK.

Return Values

If the method succeeds, the return value is DD_OK.

If the method fails, the return value may be one of the following error values:

Requirements

Runs on Versions Declared in Link to
Windows CE OS 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. dvp.h ddraw.lib