WinStd
Windows Win32 API using Standard C++
|
Activates given activation context in constructor and deactivates it in destructor. More...
#include <WinStd/Win.h>
Public Member Functions | |
actctx_activator (HANDLE hActCtx) noexcept | |
Construct the activator and activates the given activation context. | |
virtual | ~actctx_activator () |
Deactivates activation context and destructs the activator. | |
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.