Microsoft DirectX 8.0 |
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 methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. IAMPhysicalPinInfo method Description GetPhysicalType Retrieves the type and name of the physical pin.
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.