IRpcStubBuffer::Connect method

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

Syntax


HRESULT Connect(
  [in] IUnknown *pUnkServer
);

Parameters

pUnkServer [in]

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 | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IRpcStubBuffer is defined as D5F56AFC-593B-101A-B569-08002B2DBF7A

See also

IRpcStubBuffer

 

 

Show: