CStdStubBuffer_Connect function (rpcproxy.h)

[CStdStubBuffer_Connect is not supported and may be altered or unavailable in the future.]

The CStdStubBuffer_Connect function implements the IRpcStubBuffer::Connect method and connects the server object to the stub.

Syntax

HRESULT CStdStubBuffer_Connect(
  [in] IRpcStubBuffer *This,
  [in] IUnknown       *pUnkServer
);

Parameters

[in] This

Pointer to the IRpcStubBuffer object.

[in] pUnkServer

Pointer to the IUnknown interface of the server object.

Return value

Returns S_OK if success. Returns E_NOINTERFACE on error.

Remarks

This function is used internally by proxies that are generated by MIDL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header rpcproxy.h
Library Rpcrt4.lib
DLL Rpcrt4.dll