CStdAsyncStubBuffer_Connect function (rpcproxy.h)

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

Implements the IRpcStubBuffer::Connect method and connects the server object to the stub.

Syntax

HRESULT CStdAsyncStubBuffer_Connect(
  [in] IRpcStubBuffer *pthis,
  [in] IUnknown       *pUnkServer
);

Parameters

[in] pthis

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 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header rpcproxy.h
Library Ole32.lib
DLL Ole32.dll