CStdStubBuffer_AddRef function (rpcproxy.h)

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

The CStdStubBuffer_AddRef function implements the IRpcStubBuffer::AddRef method.

Syntax

ULONG CStdStubBuffer_AddRef(
  [in] IRpcStubBuffer *This
);

Parameters

[in] This

Pointer to the IRpcStubBuffer object.

Return value

Returns an integer from 1 to n, indicating the value of the new reference count.

Remarks

The return value is for diagnostic and testing purposes only; the return value may be unstable.

This function is used internally by proxies that are generated by MIDL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header rpcproxy.h
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

IRpcStubBuffer