| Microsoft DirectX 8.1 (C++) | 
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.
See Also