.closehandle (Close Handle)

The .closehandle command closes a handle owned by the target application.

.closehandle Handle 
.closehandle -a 

Parameters

Handle
Specifies the handle to be closed.

-a
Causes all handles owned by the target application to be closed.

Environment

Modes

user mode only

Targets

live debugging only

Platforms

all

Remarks

You can use the !handle extension to display the existing handles.

Send comments about this topic to Microsoft