WinStd
Additional templates and function helpers for Microsoft Windows using Standard C++ classes
|
Integrates WinStd classes with Microsoft Windows API. More...
Classes | |
class | winstd::win_handle< INVALID > |
Windows HANDLE wrapper class. More... | |
class | winstd::library |
Module handle wrapper. More... | |
struct | winstd::UnmapViewOfFile_delete< _Ty > |
Deleter for unique_ptr using UnmapViewOfFile. More... | |
struct | winstd::UnmapViewOfFile_delete< _Ty[]> |
Deleter for unique_ptr to array of unknown size using UnmapViewOfFile. More... | |
class | winstd::critical_section |
Critical section wrapper. More... | |
class | winstd::find_file |
Find-file handle wrapper. More... | |
class | winstd::heap |
Heap handle wrapper. More... | |
class | winstd::heap_allocator< _Ty > |
HeapAlloc allocator. More... | |
class | winstd::actctx_activator |
Activates given activation context in constructor and deactivates it in destructor. More... | |
class | winstd::user_impersonator |
Lets the calling thread impersonate the security context of a logged-on user. More... | |
class | winstd::console_ctrl_handler |
Console control handler stack management. More... | |
class | winstd::vmemory |
Memory in virtual address space of a process handle wrapper. More... | |
class | winstd::reg_key |
Registry key wrapper class. More... | |
class | winstd::security_id |
SID wrapper class. More... | |
class | winstd::process_information |
PROCESS_INFORMATION struct wrapper. More... | |
class | winstd::event_log |
Event log handle wrapper. More... | |
Macros | |
#define | GuidToString GuidToStringA |
Formats GUID and stores it in a std::wstring string. More... | |
#define | StringToGuid StringToGuidA |
Parses string with GUID and stores it to GUID. More... | |
Typedefs | |
typedef win_handle< NULL > | winstd::process |
Process handle wrapper. More... | |
typedef win_handle< NULL > | winstd::thread |
Thread handle wrapper. More... | |
typedef win_handle< INVALID_HANDLE_VALUE > | winstd::process_snapshot |
Process snapshot handle wrapper. More... | |
typedef win_handle< INVALID_HANDLE_VALUE > | winstd::file |
File handle wrapper. More... | |
typedef win_handle< NULL > | winstd::file_mapping |
File mapping. More... | |
typedef win_handle< NULL > | winstd::event |
Event handle wrapper. More... | |
Integrates WinStd classes with Microsoft Windows API.
#define GuidToString GuidToStringA |
Formats GUID and stores it in a std::wstring string.
[in] | lpGuid | Pointer to GUID |
[out] | str | String to store the result to |
#define StringToGuid StringToGuidA |
Parses string with GUID and stores it to GUID.
[in] | lpszGuid | String with GUID |
[out] | lpGuid | GUID to store the result to |
[out] | lpszGuidEnd | If non-NULL the pointer to the end of parsed GUID within lpszGuid is returned |
TRUE
if GUID successfuly parsed;FALSE
otherwise. typedef win_handle<NULL> winstd::event |
Event handle wrapper.
typedef win_handle<INVALID_HANDLE_VALUE> winstd::file |
File handle wrapper.
typedef win_handle<NULL> winstd::file_mapping |
File mapping.
typedef win_handle<NULL> winstd::process |
Process handle wrapper.
typedef win_handle<INVALID_HANDLE_VALUE> winstd::process_snapshot |
Process snapshot handle wrapper.
typedef win_handle<NULL> winstd::thread |
Thread handle wrapper.