Windows C++ Library
|
The RAII style class used to install and uninstall the Structured Exception translator function. More...
#include <SeTranslator.hpp>
Public Member Functions | |
SeTranslator () | |
Default constructor. | |
~SeTranslator () | |
Destructor. | |
Static Public Member Functions | |
static _se_translator_function | Install () |
Install the translator function. | |
Static Private Member Functions | |
static void | Translate (uint nCode, _EXCEPTION_POINTERS *pInfo) |
The translator function. | |
Private Attributes | |
_se_translator_function | m_lpfnOldTranslator |
The old translator function. |
The RAII style class used to install and uninstall the Structured Exception translator function.
Default constructor.
Install our handler.
Destructor.
Re-installs the old handler.
_se_translator_function WCL::SeTranslator::Install | ( | ) | [static] |
Install the translator function.
Install our translator function.
The method returns the previous translator function and assumes that we never want to uninstall it.
void WCL::SeTranslator::Translate | ( | uint | nCode, |
_EXCEPTION_POINTERS * | pInfo | ||
) | [static, private] |
The translator function.
_se_translator_function WCL::SeTranslator::m_lpfnOldTranslator [private] |
The old translator function.