Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 2.71 KB

nf-rpcndr-rpcsmswapclientallocfree.md

File metadata and controls

120 lines (94 loc) · 2.71 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:rpcndr.RpcSmSwapClientAllocFree
RpcSmSwapClientAllocFree function (rpcndr.h)
The RpcSmSwapClientAllocFree function exchanges the client stub's memory-allocation and memory-freeing mechanisms with those supplied by the client.
RpcSmSwapClientAllocFree
RpcSmSwapClientAllocFree function [RPC]
_rpc_rpcsmswapclientallocfree
rpc.rpcsmswapclientallocfree
rpcndr/RpcSmSwapClientAllocFree
rpc\rpcsmswapclientallocfree.htm
Rpc
f07df5ec-0798-4cd2-a2f5-73e6245a7020
12/05/2018
RpcSmSwapClientAllocFree, RpcSmSwapClientAllocFree function [RPC], _rpc_rpcsmswapclientallocfree, rpc.rpcsmswapclientallocfree, rpcndr/RpcSmSwapClientAllocFree
rpcndr.h
Rpc.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Rpcrt4.lib
Rpcrt4.dll
Windows
19H1
RpcSmSwapClientAllocFree
rpcndr/RpcSmSwapClientAllocFree
c++
APIRef
kbSyntax
DllExport
Rpcrt4.dll
RpcSmSwapClientAllocFree

RpcSmSwapClientAllocFree function

-description

The RpcSmSwapClientAllocFree function exchanges the client stub's memory-allocation and memory-freeing mechanisms with those supplied by the client.

-parameters

-param ClientAlloc

New memory-allocation function.

-param ClientFree

New memory-releasing function.

-param OldClientAlloc

Returns the previous memory-allocation function before the call to this function.

-param OldClientFree

Returns the previous memory-releasing function before the call to this function.

-returns

Value Meaning
RPC_S_OK
The call succeeded.
RPC_S_INVALID_ARG
The argument is invalid.
 
Note  For a list of valid error codes, see RPC Return Values.
 

-see-also

RpcSmAllocate

RpcSmFree

RpcSmSetClientAllocFree