NdrCStdStubBuffer2_Release function (rpcproxy.h)

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

The NdrCStdStubBuffer2_Release function implements the IRpcStubBuffer::Release method.

Syntax

ULONG NdrCStdStubBuffer2_Release(
  [in] IRpcStubBuffer   *This,
  [in] IPSFactoryBuffer *pPSF
);

Parameters

[in] This

Pointer to the IRpcStubBuffer object.

[in] pPSF

Pointer to the IPSFactoryBuffer object. The pointer is contained in the global variable, gPFactory, defined in RpcProxy.h.

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.

This function is used on an aggregated interface.

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