The IPhysicalPinInfo interface 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. IPhysicalPinInfo 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.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.