RpcSsFree function (rpcndr.h)
The RpcSsFree function releases memory allocated by RpcSsAllocate.
void RpcSsFree(
void *NodeToFree
);
NodeToFree
Pointer to memory allocated by RpcSsAllocate or RpcSmAllocate.
None
An application uses RpcSsFree to free memory that was allocated with RpcSsAllocate. In cases where the stub allocates the memory for the environment, RpcSsFree can also be used to release memory. For more information, see Memory Management.
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.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | rpcndr.h (include Rpc.h) |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |