diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-23 19:59:03 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-23 19:59:03 +0300 |
commit | 0843ecaee7c53dea868f866811559416533d49cc (patch) | |
tree | 2baf3750ef215b5ffe5343e446ac3187f7a01cd4 /include | |
parent | shmem_tests: notify_all outside of lock (diff) | |
download | winapi-common-0843ecaee7c53dea868f866811559416533d49cc.tar.gz winapi-common-0843ecaee7c53dea868f866811559416533d49cc.zip |
Handle: add static is_invalid() method
Diffstat (limited to '')
-rw-r--r-- | include/winapi/handle.hpp | 1 |
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(); |