summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60006-UNI-2049.cpp
blob: 4609fbeaac8268837990663dfafae7b6f7e703c7 (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;
}