Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RpcSsFree
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.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Rpcndr.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

RpcSmFree
RpcSsAllocate
RpcSsGetThreadHandle
RpcSsSetThreadHandle

 

 

Community Additions

ADD
Show:
© 2015 Microsoft