CStdStubBuffer2_CountRefs function

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

Implements the IRpcStubBuffer::CountRefs method.

Syntax


ULONG STDMETHODCALLTYPE CStdStubBuffer2_CountRefs(
  _In_ IRpcStubBuffer *pthis
);

Parameters

pthis [in]

Pointer to the IRpcStubBuffer object.

Return value

Returns the number of server objects connected to the stub.

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: