RpcSmDisableAllocate
TOC
Collapse the table of content
Expand the table of content

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1

Header

Rpcndr.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

RpcSmAllocate
RpcSmEnableAllocate

 

 

Show:
© 2016 Microsoft