WinStd
Additional templates and function helpers for Microsoft Windows using Standard C++ classes
|
Activates given activation context in constructor and deactivates it in destructor. More...
#include <WinStd/Win.h>
Public Member Functions | |
actctx_activator (1 HANDLE hActCtx) noexcept | |
Construct the activator and activates the given activation context. More... | |
virtual | ~actctx_activator () |
Deactivates activation context and destructs the activator. More... | |
Protected Attributes | |
ULONG_PTR | m_cookie |
Cookie for context deactivation. | |
Activates given activation context in constructor and deactivates it in destructor.
|
inlinenoexcept |
Construct the activator and activates the given activation context.
[in] | hActCtx | Activation context |
|
inlinevirtual |
Deactivates activation context and destructs the activator.