CEventListenerBase::QueryInterface

HRESULT CEventListenerBase::QueryInterface(REFIID riid, void ** ppvObj)

Retrieve a pointer to an interface supported by this object.

Defined in: EventListener.h

Return Value

S_OK if the interface is supported, E_NOINTERFACE if not.

Parameters

riid

Identifier of the interface being requested.

ppvObj

Address of pointer variable that receives the interface pointer requested in riid.

Comments

Checks for the interface ID passed in the template parameter list. Also checks for IEventListener and IUnknown.