From 266996bd67473e52ac180474147949d78bc31e8a Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 3 Mar 2022 09:17:22 +0100 Subject: [PATCH] Add winstd::thread and winstd::process_snapshot Signed-off-by: Simon Rozman --- include/WinStd/Win.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/WinStd/Win.h b/include/WinStd/Win.h index 3f01168d..f4e1a358 100644 --- a/include/WinStd/Win.h +++ b/include/WinStd/Win.h @@ -1463,6 +1463,20 @@ namespace winstd } }; + /// + /// Thread handle wrapper + /// + /// \sa [CreateThread function](https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createthread) + /// + typedef win_handle thread; + + /// + /// Process snapshot handle wrapper + /// + /// \sa [CreateToolhelp32Snapshot function](https://docs.microsoft.com/en-us/windows/win32/api/tlhelp32/nf-tlhelp32-createtoolhelp32snapshot) + /// + typedef win_handle process_snapshot; + /// /// File handle wrapper ///