The RpcSmDisableAllocate function frees resources and memory within the stub memory management environment.
#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcSmDisableAllocate (VOID);
The RpcSmDisableAllocate routine frees all the resources used by a call to RpcSmEnableAllocate. It also releases memory that was allocated by a call to RpcSmAllocate after the call to RpcSmEnableAllocate.
Note that RpcSmEnableAllocate and RpcSmDisableAllocate must be used together as matching pairs.
Value | Meaning |
---|---|
RPC_S_OK | Success |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcndr.h.
Import Library: Link with rpcrt4.lib.
RpcSmAllocate, RpcSmEnableAllocate