CBasePin.QueryId method

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.

Return codeDescription
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

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBasePin Class

 

 

Show: