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 remove a handle from the list of waitable objects.
HRESULT RemoveHandle(
HANDLE hObject
) throw( );
Parameters
- hObject
The handle to remove.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Remarks
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.
Requirements
Header: atlutil.h