CStdStubBuffer2_CountRefs function (rpcproxy.h)

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

Implements the IRpcStubBuffer::CountRefs method.

Syntax

ULONG CStdStubBuffer2_CountRefs(
  [in] IRpcStubBuffer *pthis
);

Parameters

[in] pthis

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

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