Add winstd::thread and winstd::process_snapshot

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2022-03-03 09:17:22 +01:00
parent 24f11e5253
commit 266996bd67

View File

@ -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<NULL> thread;
///
/// Process snapshot handle wrapper
///
/// \sa [CreateToolhelp32Snapshot function](https://docs.microsoft.com/en-us/windows/win32/api/tlhelp32/nf-tlhelp32-createtoolhelp32snapshot)
///
typedef win_handle<INVALID_HANDLE_VALUE> process_snapshot;
///
/// File handle wrapper
///