Compartir a través de


NdrCStdStubBuffer_Release

The NdrCStdStubBuffer_Release function implements the IRpcStubBuffer::Release method.

ULONG STDMETHODCALLTYPE NdrCStdStubBuffer_Release(
  IRpcStubBuffer* This,
  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.

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server.
Header

Declared in Rpcndr.h; include Rpc.h.

Library

Use RpcRT4.lib.

DLL Requires RpcRT4.dll.