Microsoft DirectX 8.0

IAMPhysicalPinInfo Interface

Note  This interface has been deprecated. It will continue to be supported for backward compatibility with existing applications, but new applications and filters should not use it.

Enables an application or filter to retrieve the type and name of the physical pin. It is implemented on pins that represent physical hardware connections.

Methods in Vtable Order

IUnknown methodsDescription
QueryInterface Retrieves pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.
IAMPhysicalPinInfo methodDescription
GetPhysicalType Retrieves the type and name of the physical pin.

IAMPhysicalPinInfo::GetPhysicalType

IAMPhysicalPinInfo Interface

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.