Microsoft DirectX 9.0

IAMPhysicalPinInfo::GetPhysicalType

Note   The IAMPhysicalPinInfo interface is deprecated.

Retrieves the type and name of the physical pin.

Syntax

HRESULT GetPhysicalType(
  long *pType,
  LPOLESTR *ppszType
);

Parameters

pType

[out] Pointer to a variable that receives a value indicating the pin's type. The PhysicalConnectorType enumeration defines the pin type values.

ppszType

[out] Address of a pointer to a buffer that receives a human-readable string identifying the pin type.

Return Value

Returns S_OK if a valid physical pin value is found. Otherwise, returns VFW_E_NO_ACCEPTABLE_TYPES.

See Also