win32api.CloseHandle

CloseHandle(handle)

Closes an open handle.

Parameters

handle : PyHANDLE/int

A previously opened handle.