Sets the minimum number of threads that the specified thread pool must make available to process callbacks.
BOOL SetThreadpoolThreadMinimum(
PTP_POOL ptpp,
DWORD cthrdMic
)
ptpp
Type: PTP_POOL
[in, out] A TP_POOL structure that defines the thread pool. The CreateThreadpool function returns this structure.
cthrdMic
Type: DWORD
[in] The minimum number of threads.
Type: BOOL
If the function succeeds, it returns TRUE.If the function fails, it returns FALSE. To retrieve extended error information, call GetLastError.
To specify the maximum number of threads that the pool may allocate, call SetThreadpoolThreadMaximum.
Header: Declared in threadpoolapiset.h.
Library: Use kernelx.lib.