Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The RpcSmSwapClientAllocFree function exchanges the client stub's memory-allocation and memory-freeing mechanisms with those supplied by the client.
Syntax
RPC_STATUS RpcSmSwapClientAllocFree(
RPC_CLIENT_ALLOC *ClientAlloc,
RPC_CLIENT_FREE *ClientFree,
RPC_CLIENT_ALLOC **OldClientAlloc,
RPC_CLIENT_FREE **OldClientFree
);
Parameters
ClientAlloc
New memory-allocation function.
ClientFree
New memory-releasing function.
OldClientAlloc
Returns the previous memory-allocation function before the call to this function.
OldClientFree
Returns the previous memory-releasing function before the call to this function.
Return value
| Value | Meaning |
|---|---|
|
The call succeeded. |
|
The argument is invalid. |
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 |