Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.