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