RpcSmDisableAllocate function (rpcndr.h)
The RpcSmDisableAllocate function frees resources and memory within the stub memory–management environment.
Syntax
RPC_STATUS RpcSmDisableAllocate();
Return value
| Value | Meaning |
|---|---|
|
The call succeeded. |
Note For a list of valid error codes, see
RPC Return Values.
Remarks
The RpcSmDisableAllocate function frees all the resources used by a call to RpcSmEnableAllocate. It also releases memory allocated by a call to RpcSmAllocate after the call to RpcSmEnableAllocate and marked for deletion by the RpcSmFree function.
Note that RpcSmEnableAllocate and RpcSmDisableAllocate must be used together as matching pairs.
Requirements
| 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 |