BWAPI
|
00001 #pragma once 00002 #include <windows.h> 00003 00004 LONG WINAPI BWAPIExceptionFilter(EXCEPTION_POINTERS *ep); 00005 const char *GetExceptionName(DWORD dwExceptionCode); 00006 void GetCurrentProductVersion(WORD &w1, WORD &w2, WORD &w3, WORD &w4); 00007 00008 class TopLevelExceptionFilter 00009 { 00010 public: 00011 TopLevelExceptionFilter(); 00012 TopLevelExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER lpNewExceptionFilter); 00013 ~TopLevelExceptionFilter(); 00014 00015 LONG DefFilterProc(EXCEPTION_POINTERS *ep); 00016 private: 00017 LPTOP_LEVEL_EXCEPTION_FILTER pOldExceptionFilter; 00018 };