RpcSsDisableAllocate function (rpcndr.h)

The RpcSsDisableAllocate function frees resources and memory within the stub memory–management environment.

Syntax

void RpcSsDisableAllocate();

Return value

Note  For a list of valid error codes, see RPC Return Values.
 

Remarks

RpcSsDisableAllocate frees all the resources used by a call to RpcSsEnableAllocate. It also releases memory that was allocated by a call to RpcSsAllocate after the call to RpcSsEnableAllocate.

RpcSsEnableAllocate and RpcSsDisableAllocate must be used together as matching pairs.

Requirements

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

See also

RpcSmDisableAllocate

RpcSsAllocate

RpcSsEnableAllocate