CStdAsyncStubBuffer_Connect function

[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 STDMETHODCALLTYPE CStdAsyncStubBuffer_Connect(
  _In_ IRpcStubBuffer *pthis,
  _In_ IUnknown       *pUnkServer
);

Parameters

pthis [in]

Pointer to the IRpcStubBuffer object.

pUnkServer [in]

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

Minimum supported client

Windows 10 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2016 [desktop apps | Windows Store apps]

Header

Rpcproxy.h

Library

Ole32.lib

DLL

Ole32.dll

 

 

Show: