ReactOS  0.4.15-dev-1392-g3014417
fbtxcpt.h File Reference
#include "fbtLog.h"
Include dependency graph for fbtxcpt.h:

Go to the source code of this file.

Macros

#define FBT_TRY   __try{
 
#define FBT_CATCH   } __except(EXCEPTION_EXECUTE_HANDLER) { fbtLog(fbtLog_Failure, "Exception %08X caught at line %u in file %s (%s)", GetExceptionCode(), __LINE__, __FILE__, GetCommandLine()); fbtLog(fbtLog_Exception, "Exception %08X caught at line %u in file %s (%s)", GetExceptionCode(), __LINE__, __FILE__, GetCommandLine());
 
#define FBT_CATCH_RETURN(RETVAL)   FBT_CATCH return RETVAL;}
 
#define FBT_CATCH_NORETURN   FBT_CATCH return;}
 
#define FBT_CATCH_NODEBUG_RETURN(x)   } __except(EXCEPTION_EXECUTE_HANDLER) { return x;}
 

Macro Definition Documentation

◆ FBT_CATCH

#define FBT_CATCH   } __except(EXCEPTION_EXECUTE_HANDLER) { fbtLog(fbtLog_Failure, "Exception %08X caught at line %u in file %s (%s)", GetExceptionCode(), __LINE__, __FILE__, GetCommandLine()); fbtLog(fbtLog_Exception, "Exception %08X caught at line %u in file %s (%s)", GetExceptionCode(), __LINE__, __FILE__, GetCommandLine());

Definition at line 17 of file fbtxcpt.h.

◆ FBT_CATCH_NODEBUG_RETURN

#define FBT_CATCH_NODEBUG_RETURN (   x)    } __except(EXCEPTION_EXECUTE_HANDLER) { return x;}

Definition at line 20 of file fbtxcpt.h.

◆ FBT_CATCH_NORETURN

#define FBT_CATCH_NORETURN   FBT_CATCH return;}

Definition at line 19 of file fbtxcpt.h.

◆ FBT_CATCH_RETURN

#define FBT_CATCH_RETURN (   RETVAL)    FBT_CATCH return RETVAL;}

Definition at line 18 of file fbtxcpt.h.

◆ FBT_TRY

#define FBT_TRY   __try{

Definition at line 16 of file fbtxcpt.h.