NdrCStdStubBuffer2_Release function

[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 STDMETHODCALLTYPE NdrCStdStubBuffer2_Release(
  _In_ IRpcStubBuffer   *This,
  _In_ IPSFactoryBuffer *pPSF
);

Parameters

This [in]

Pointer to the IRpcStubBuffer object.

pPSF [in]

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

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Rpcndr.h (include Rpc.h)

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Show: