Namespaces | Defines | Functions | Variables

src/Framework/Msi/Handlers.h File Reference

Go to the source code of this file.

Namespaces

namespace  AppSecInc
namespace  AppSecInc::Msi
namespace  AppSecInc::Msi::Exceptions

Defines

#define MSI_STD_EXCEPTION_HANDLER_BLOCK
#define MSI_COM_EXCEPTION_HANDLER_BLOCK
#define MSI_ELLIPSIS_EXCEPTION_HANDLER_BLOCK
#define MSI_EXCEPTION_HANDLER_PROLOG
#define MSI_EXCEPTION_HANDLER_EPILOG

Functions

void AppSecInc::Msi::Exceptions::MSI_EXCEPTION_HANDLER_PROLOG_impl (MSIHANDLE h, LPCTSTR func)
DWORD AppSecInc::Msi::Exceptions::MSI_COM_EXCEPTION_HANDLER_BLOCK_impl (MSIHANDLE h, LPCTSTR func, _com_error &e)
DWORD AppSecInc::Msi::Exceptions::MSI_STD_EXCEPTION_HANDLER_BLOCK_impl (MSIHANDLE h, LPCTSTR func, std::exception &e)
DWORD AppSecInc::Msi::Exceptions::MSI_ELLIPSIS_EXCEPTION_HANDLER_BLOCK_impl (MSIHANDLE h, LPCTSTR func)

Variables

const DWORD AppSecInc::Msi::Exceptions::default_error_code = ERROR_FUNCTION_FAILED

Define Documentation

#define MSI_COM_EXCEPTION_HANDLER_BLOCK
Value:
catch (_com_error& e) \
{ \
    return AppSecInc::Msi::Exceptions::MSI_COM_EXCEPTION_HANDLER_BLOCK_impl(hInstall, _T(__FUNCTION__), e); \
}
#define MSI_ELLIPSIS_EXCEPTION_HANDLER_BLOCK
Value:
catch (...) \
{ \
    return AppSecInc::Msi::Exceptions::MSI_ELLIPSIS_EXCEPTION_HANDLER_BLOCK_impl(hInstall, _T(__FUNCTION__)); \
}
#define MSI_EXCEPTION_HANDLER_EPILOG
#define MSI_EXCEPTION_HANDLER_PROLOG
Value:
#define MSI_STD_EXCEPTION_HANDLER_BLOCK
Value:
catch (std::exception& e) \
{ \
    return AppSecInc::Msi::Exceptions::MSI_STD_EXCEPTION_HANDLER_BLOCK_impl(hInstall, _T(__FUNCTION__), e); \
}


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com