CWorkerThread::RemoveHandle
Call this method to remove a handle from the list of waitable objects.
HRESULT RemoveHandle(
HANDLE hObject
) throw( );
Параметры
- hObject
The handle to remove.
Возвращаемое значение
Returns S_OK on success, or an error HRESULT on failure.
Заметки
When the handle is removed IWorkerThreadClient::CloseHandle will be called on the associated object that was passed to AddHandle. If this call fails, CWorkerThread will call the Windows CloseHandle function on the handle.
Требования
Header: atlutil.h