UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:rpcdce.RpcMgmtSetServerStackSize |
RpcMgmtSetServerStackSize function (rpcdce.h) |
The RpcMgmtSetServerStackSize function specifies the stack size for server threads created by the RPC run time. |
|
rpc\rpcmgmtsetserverstacksize.htm |
Rpc |
5cf04ff5-d25b-42f5-a14e-2e73225765e9 |
12/05/2018 |
RpcMgmtSetServerStackSize, RpcMgmtSetServerStackSize function [RPC], _rpc_rpcmgmtsetserverstacksize, rpc.rpcmgmtsetserverstacksize, rpcdce/RpcMgmtSetServerStackSize |
rpcdce.h |
Rpc.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Rpcrt4.lib |
Rpcrt4.dll |
Windows |
19H1 |
|
|
|
|
|
|
The RpcMgmtSetServerStackSize function specifies the stack size for server threads created by the RPC run time.
Stack size allocated for each thread created by the RPC run time, in bytes. This value is applied to all threads created for the server, but not to threads already created. Select this value based on the stack requirements of the remote procedures offered by the server.
Value | Meaning |
---|---|
|
The call succeeded. |
|
The argument was invalid. |
A server application calls the RpcMgmtSetServerStackSize function to specify the thread stack size to use when the RPC run-time library creates call threads for executing remote procedure calls.
Servers that know the stack requirements of all the manager functions in the interfaces it offers can call the RpcMgmtSetServerStackSize function to ensure that each call thread has the necessary stack size.
Calling RpcMgmtSetServerStackSize is optional. If a server does not call RpcMgmtSetServerStackSize, the default thread stack size from the executable image is used.