Freigeben über


IBDA_AUX::EnumCapability method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Gets the capabilities of an auxiliary connector, specified by index.

Syntax

HRESULT EnumCapability(
  [in]  DWORD     dwIndex,
  [out] DWORD     *dwInputID,
  [out] GUID      *pConnectorType,
  [out] DWORD     *ConnTypeNum,
  [out] DWORD     *NumVideoStds,
  [out] ULONGLONG *AnalogStds
);

Parameters

[in] dwIndex

The zero-based index of the auxiliary connector. To get the number of connectors on the device, call IBDA_AUX::QueryCapabilities.

[out] dwInputID

Receives a unique identifier for the auxiliary connector.

[out] pConnectorType

Receives a GUID that specifies the type of connector.

Value Meaning
PBDA_AUX_CONNECTOR_TYPE_Composite
Composite video connector.
PBDA_AUX_CONNECTOR_TYPE_SVideo
S-Video connector.

[out] ConnTypeNum

Receives a numeric identifier for the auxiliary input.

[out] NumVideoStds

Receives the number of analog video standards that the connector supports.

[out] AnalogStds

Receives a bitwise OR of flags from the AnalogVideoStandard enumeration, specifying which analog video standards the connector supports.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

You must call the IBDA_AUX::QueryCapabilities method before calling this method.

Requirements

Requirement Value
Target Platform Windows
Header bdaiface.h

See also

IBDA_AUX