TpSetCallbackThreadpool function (winnt.h) - Win32 apps
Assigns a thread pool to a callback environment.