CloseHandle
The CloseHandle function closes an open object handle.
原型:
BOOL CloseHandle(
HANDLE hObject // handle to object to close
);
返回值
If the function succeeds, the return value is nonzero.成功返回非零
If the function fails, the return value is zero. To get extended error information, call GetLastError.