Compartir a través de


CBasePin::QueryPinInfo

 
Microsoft DirectShow 9.0

CBasePin::QueryPinInfo

The QueryPinInfo method retrieves information about the pin. This method implements the IPin::QueryPinInfo method.

Syntax

  HRESULT QueryPinInfo(
    PIN_INFO *pInfo
);

Parameters

pInfo

Pointer to a PIN_INFO structure that receives the pin information.

Return Value

Returns S_OK or E_POINTER.

Remarks

This method uses the CBasePin::m_pName member variable for the achName member of the PIN_INFO structure.

When the method returns, if the pFilter member of the PIN_INFO structure is non-NULL, it has an outstanding reference count. Be sure to release the interface when you are done.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also