Win32 resource management mechanisms. More...
Classes | |
struct | invalid_handle_value_t |
A class intended for using with check_handle_t and AutoHandle in order to check a managed Windows API handle for equality to INVALID_HANDLE_VALUE. More... | |
struct | null_handle_value_t |
A class intended for using with check_handle_t and AutoHandle in order to check a managed Windows API handle for equality to NULL. More... | |
struct | check_handle_t |
A function object of a class template that allows specifying values, a handle to be checked against by the supplied parenthesis operator, which returns true only if the specified (as its only argument) handle is not equal to any of the template parameters. More... | |
struct | AutoHandle |
A class defining functionality for automated management of Windows resources, described by the HANDLE values, e.g. files, processes, tokens, etc. More... | |
Typedefs | |
typedef AutoHandle< decltype(&CloseHandle), CloseHandle, invalid_handle_value_t > | AutoFile |
An alias for the type of managed Windows file handles. | |
typedef AutoHandle< decltype(&HeapDestroy), HeapDestroy, null_handle_value_t > | AutoHeap |
An alias for the type of managed Windows heap handles. | |
Win32 resource management mechanisms.