Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The RpcSsSwapClientAllocFree function exchanges the memory allocation and release mechanisms used by the client stubs with those supplied by the client.
Syntax
void RpcSsSwapClientAllocFree(
RPC_CLIENT_ALLOC *ClientAlloc,
RPC_CLIENT_FREE *ClientFree,
RPC_CLIENT_ALLOC **OldClientAlloc,
RPC_CLIENT_FREE **OldClientFree
);
Parameters
ClientAlloc
New function to allocate memory.
ClientFree
New function to release memory.
OldClientAlloc
Returns the previous memory-allocation function.
OldClientFree
Returns the previous memory-freeing function.
Return value
Value | Meaning |
---|---|
|
The call succeeded. |
|
The system is out of memory. |
Remarks
RpcSsSwapClientAllocFree exchanges the current memory allocation and memory freeing mechanisms with those supplied by the client.
Requirements
Requirement | Value |
---|---|
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 |