Windows C++ Library
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes
WCL::SeTranslator Class Reference

The RAII style class used to install and uninstall the Structured Exception translator function. More...

#include <SeTranslator.hpp>

List of all members.

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.

Detailed Description

The RAII style class used to install and uninstall the Structured Exception translator function.


Constructor & Destructor Documentation

Default constructor.

Install our handler.

Destructor.

Re-installs the old handler.


Member Function Documentation

_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.


Member Data Documentation

_se_translator_function WCL::SeTranslator::m_lpfnOldTranslator [private]

The old translator function.


The documentation for this class was generated from the following files: