CBasePin::QueryId
Microsoft DirectShow 9.0 |
CBasePin::QueryId
The QueryId method retrieves the pin identifier. This method implements the IPin::QueryId method.
Syntax
HRESULT QueryId( LPWSTR *Id );
Parameters
Id
Pointer to the pin identifier.
Return Value
Returns an HRESULT value. Possible values include those in the following table.
Value | Description |
S_OK | Success. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | Null pointer argument. |
Remarks
This method returns a copy of the CBasePin::m_pName member variable.
Requirements
** Header:** Declared in Amfilter.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also