Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Rpcproxy.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Show:
© 2017 Microsoft