Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Call this method to set the maximum time in milliseconds that the thread pool will wait for a thread to shut down.
STDMETHOD(SetTimeout)(
DWORD dwMaxWait
);
Parameters
- dwMaxWait
The requested maximum time in milliseconds that the thread pool will wait for a thread to shut down.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Example
See IThreadPoolConfig::GetSize.
Requirements
Header: atlutil.h