RpcSmDisableAllocate

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

#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcSmDisableAllocate (VOID);

Remarks

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.

Return Values

Value Meaning
RPC_S_OK Success

QuickInfo

  Windows NT: Yes
  Windows CE: Unsupported.
  Header: Declared in rpcndr.h.
  Import Library: Link with rpcrt4.lib.

See Also

RpcSmAllocate, RpcSmEnableAllocate