Artifact e15d42c911b399d343b254aaec7fe37f252f562f
- File
src/win32/errorrep.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
/***********************************************************************\
* errorrep.d *
* *
* Windows API header module *
* *
* Translated from MinGW Windows headers *
* by Stewart Gordon *
* *
* Placed into public domain *
\***********************************************************************/
module win32.errorrep;
private import win32.w32api, win32.windef;
static assert (_WIN32_WINNT >= 0x501,
"win32.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;
}