CStdStubBuffer_Connect function

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

Parameters

This [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 2000 Professional [desktop apps | UWP apps]

Minimum supported server

Windows 2000 Server [desktop apps | UWP apps]

Header

Rpcproxy.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Show: