Sets the stack reserve and commit sizes for new threads in the specified thread pool. Stack reserve and commit sizes for existing threads are not changed.
BOOL SetThreadpoolStackInformation(
PTP_POOL ptpp,
PTP_POOL_STACK_INFORMATION ptpsi
)
ptpp
Type: PTP_POOL
[in, out] A TP_POOL structure that specifies the thread pool. The CreateThreadpool function returns this structure.
ptpsi
Type: PTP_POOL_STACK_INFORMATION
[in] A TP_POOL_STACK_INFORMATION structure that specifies the stack reserve and commit size for threads in the pool.
Type: BOOL
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Header: Declared in threadpoolapiset.h.
Library: Use kernelx.lib.