From 0843ecaee7c53dea868f866811559416533d49cc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 23 Oct 2020 19:59:03 +0300 Subject: Handle: add static is_invalid() method --- include/winapi/handle.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/winapi') diff --git a/include/winapi/handle.hpp b/include/winapi/handle.hpp index f6f4c11..536de26 100644 --- a/include/winapi/handle.hpp +++ b/include/winapi/handle.hpp @@ -31,6 +31,7 @@ public: explicit operator HANDLE() const { return m_impl.get(); } bool is_invalid() const; + static bool is_invalid(HANDLE); void close(); -- cgit v1.2.3