RpcSsFree
TOC
Collapse the table of content
Expand the table of content

RpcSsFree function

The RpcSsFree function releases memory allocated by RpcSsAllocate.

Syntax


void RPC_ENTRY RpcSsFree(
   void *NodeToFree
);

Parameters

NodeToFree

Pointer to memory allocated by RpcSsAllocate or RpcSmAllocate.

Return value

This function does not return a value.

Remarks

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1

Header

Rpcndr.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

RpcSmFree
RpcSsAllocate
RpcSsGetThreadHandle
RpcSsSetThreadHandle

 

 

Show:
© 2016 Microsoft