IRpcStubBuffer::Connect method

Initializes a server stub, binding it to the specified interface.

Syntax

HRESULT Connect(
  IUnknown *pUnkServer
);

Parameters

pUnkServer

A pointer to the interface.

Return Value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h (include ObjIdl.h)

See Also

IRpcStubBuffer