summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/UNI-2049.cpp
blob: 7c64f76a1da588be71fd84deb01056876cd6ba12 (plain)
1
2
3
4
5
6
7
8
// Pointer mark should be formatted (WINAPI* SetXX)
typedef DWORD (WINAPI *SetDllDirectory) (LPCSTR);
// Pointer mark should be formatted (EXCEPTION_POINTERS* pExt)
static LONG WINAPI CustomUnhandledExceptionFilter(EXCEPTION_POINTERS * pExInfo)
{
    if (EXCEPTION_BREAKPOINT == pExInfo->ExceptionRecord->ExceptionCode) // Breakpoint. Don't treat this as a normal crash.
        return EXCEPTION_CONTINUE_SEARCH;
}