/***********************************************************************\ * errorrep.d * * * * Windows API header module * * * * Translated from MinGW Windows headers * * by Stewart Gordon * * * * Placed into public domain * \***********************************************************************/ module windows.errorrep; nothrow: private import windows.w32api, windows.windef; static assert (_WIN32_WINNT >= 0x501, "windows.errorrep is available only if version WindowsXP, Windows2003 " ~"or WindowsVista is set"); enum EFaultRepRetVal { frrvOk, frrvOkManifest, frrvOkQueued, frrvErr, frrvErrNoDW, frrvErrTimeout, frrvLaunchDebugger, frrvOkHeadless // = 7 } extern (Windows) { BOOL AddERExcludedApplicationA(LPCSTR); BOOL AddERExcludedApplicationW(LPCWSTR); EFaultRepRetVal ReportFault(LPEXCEPTION_POINTERS, DWORD); } version (Unicode) { alias AddERExcludedApplicationW AddERExcludedApplication; } else { alias AddERExcludedApplicationA AddERExcludedApplication; }