aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-23 19:59:03 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-23 19:59:03 +0300
commit0843ecaee7c53dea868f866811559416533d49cc (patch)
tree2baf3750ef215b5ffe5343e446ac3187f7a01cd4 /include
parentshmem_tests: notify_all outside of lock (diff)
downloadwinapi-common-0843ecaee7c53dea868f866811559416533d49cc.tar.gz
winapi-common-0843ecaee7c53dea868f866811559416533d49cc.zip
Handle: add static is_invalid() method
Diffstat (limited to '')
-rw-r--r--include/winapi/handle.hpp1
1 files changed, 1 insertions, 0 deletions
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();