RpcSsFree  B30AZP

The RpcSsFree function releases memory allocated by RpcSsAllocate.

#include <rpc.h>

void RPC_ENTRY RpcSsFree(

    void *  NodeToFree

 

   );

 

 

Parameters

NodeToFree

Specifies a pointer to memory allocated by RpcSsAllocate or RpcSmAllocate.

 

Remarks

The RpcSsFree routine is used by applications to free memory allocated by RpcSsAllocate. In cases where the stub allocates the memory for the environment, the RpcSsFree routine can also be used to release memory. See Memory Management22W17G for a complete discussion of memory management conditions supported by RPC.

Note that the handle of the thread calling RpcSsFree must match the handle of the thread that allocated the memory by calling RpcSsAllocate. Use RpcSsGetThreadHandle and RpcSsSetThreadHandle to pass handles from thread to thread.

See Also

RpcSmFree, RpcSsAllocate, RpcSsGetThreadHandle, RpcSsSetThreadHandle