CThreadPool::GetTimeout
Call this method to get the maximum time in milliseconds that the thread pool will wait for a thread to shut down.
HRESULT STDMETHODCALLTYPE GetTimeout(
DWORD* pdwMaxWait
) throw( );
Параметры
- pdwMaxWait
[out] Address of the variable that, on success, receives the maximum time in milliseconds that the thread pool will wait for a thread to shut down.
Возвращаемое значение
Returns S_OK on success, or an error HRESULT on failure.
Заметки
This timeout value is used by CThreadPool::Shutdown if no other value is supplied to that method.
Требования
Header: atlutil.h