HRESULT IRpcStubBuffer::Connect(pUnkServer)
Informs the interface stub of server object to which it is now to be connected, and to which it should forward all subsequent Invoke() operations. The stub will have to QueryInterface() on pUnkServer to obtain access to appropriate interfaces. The stub will of course follow the normal AddRef() rules when it stores pointers to the server object in its internal state.
If the stub is currently connected, then this call fails with E_UNEXPECTED.
Argument
Type
Description
pUnkServer
IUnknown *
The new server object to which this stub is now to be connected.