Skip to content

Latest commit

 

History

History
115 lines (87 loc) · 2.9 KB

nf-rpcndr-rpcsmclientfree.md

File metadata and controls

115 lines (87 loc) · 2.9 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.RpcSmClientFree
RpcSmClientFree function (rpcndr.h)
The RpcSmClientFree function frees memory returned from a client stub.
RpcSmClientFree
RpcSmClientFree function [RPC]
_rpc_rpcsmclientfree
rpc.rpcsmclientfree
rpcndr/RpcSmClientFree
rpc\rpcsmclientfree.htm
Rpc
b3e9a526-7b78-49a6-9550-e3f682cecfb8
12/05/2018
RpcSmClientFree, RpcSmClientFree function [RPC], _rpc_rpcsmclientfree, rpc.rpcsmclientfree, rpcndr/RpcSmClientFree
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
RpcSmClientFree
rpcndr/RpcSmClientFree
c++
APIRef
kbSyntax
DllExport
Rpcrt4.dll
RpcSmClientFree

RpcSmClientFree function

-description

The RpcSmClientFree function frees memory returned from a client stub.

-parameters

-param pNodeToFree

Pointer to memory returned from a client stub.

-returns

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

-remarks

The RpcSmClientFree function releases memory allocated and returned from a client stub. The memory management handle of the thread calling this function must match the handle of the thread that made the RPC call. Use RpcSmGetThreadHandle and RpcSmSetThreadHandle to pass handles from thread to thread.

Note that using RpcSmClientFree allows a function to free dynamically-allocated memory returned by an RPC call without knowing the memory-management environment from which it was called.

-see-also

RpcSmFree

RpcSmGetThreadHandle

RpcSmSetClientAllocFree

RpcSmSetThreadHandle

RpcSmSwapClientAllocFree