EvoCorp Home    IridiumX Assist Home   

 

IInterfaceHandler IntfAddRef Method

Represents the proxy AddRef call for the interface brokered by this handler.

Return Value

This function should return the same values as IUnknown::AddRef.

Remarks

IntfAddRef will be called instead of the AddRef implementation of the interface being brokered. It is up to your handler to determine whether or not the original AddRef method (of the interface being brokered) is called.

Note that any calls to the brokered interface must be done using the lpBrokeredInterface pointer passed in to the InitializeHandler call. Using the interface pointer passed to ComBrokerRegisterInterface will cause the handlers implementation of the brokered interface to be called.