Export (0) Print
Expand All

NdrCStdStubBuffer2_Release function

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 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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft