IDDVideoPortContainer::GetVideoPortConnectInfo (Windows CE 5.0)

Send Feedback

This method 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 lpConnectInfo can 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 lpNumEntries to indicate the total number of connections, and returns DDERR_MOREDATA.

  • lpConnectInfo
    Address of an array of DDVIDEOPORTCONNECT structures that will be filled with the connection options supported by the specified video port.

    If this parameter is NULL, the method sets lpNumEntries to indicate the total number of connections that the video port supports and 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:

DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_MOREDATA

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dvp.h.
Link Library: Ddraw.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.