Export (0) Print
Expand All
Expand Minimize

RpcSmDisableAllocate function

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

Syntax


RPC_STATUS RPC_ENTRY RpcSmDisableAllocate(void);

Parameters

This function has no parameters.

Return value

ValueMeaning
RPC_S_OK

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.

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

RpcSmAllocate
RpcSmEnableAllocate

 

 

Community Additions

ADD
Show:
© 2014 Microsoft