#include "precomp.h"
#include "ntlpcapi.h"
#include <winsta.h>
Go to the source code of this file.
Functions | |
VOID | UserHardErrorEx (PCSR_THREAD pt, PHARDERROR_MSG pmsg, PCTXHARDERRORINFO pCtxHEInfo) |
VOID | UserExitWorkerThread (VOID) |
VOID | ProcessHardErrorRequest (BOOL fNewThread) |
VOID | HardErrorInsert (PCSR_THREAD, PHARDERROR_MSG, PCTXHARDERRORINFO) |
VOID | HardErrorRemove (PCTXHARDERRORINFO) |
HANDLE | UserRegisterEventSource (PCWSTR pwszSourceName) |
VOID | LogErrorPopup (IN LPWSTR Caption, IN LPWSTR Message) |
VOID | SubstituteDeviceName (PUNICODE_STRING InputDeviceName, LPSTR OutputDriveLetter) |
DWORD | GetErrorMode (VOID) |
void | FreePhi (PHARDERRORINFO phi) |
void | ReplyHardError (PHARDERRORINFO phi, DWORD dwResponse) |
void | CheckDefaultDesktop (void) |
VOID | MsgBoxTimerFunc (HWND hWnd, UINT MessageType, UINT_PTR idEvent, DWORD TimeWhenCalled) |
void | GetHardErrorText (PHARDERRORINFO phi) |
VOID | HardErrorHandler (void) |
LPWSTR | RtlLoadStringOrError (HANDLE hModule, UINT wID, LPWSTR lpDefault, PBOOL pAllocated, BOOL bAnsi) |
NTSTATUS | HardErrorWorkerThread (PVOID ThreadParameter) |
VOID | UserHardError (PCSR_THREAD pt, PHARDERROR_MSG pmsg) |
BOOL | BoostHardError (ULONG_PTR dwProcessId, DWORD dwCode) |
Variables | |
BOOLEAN | gbExitInProgress |
BOOL | gfTimedOut = FALSE |
CONST UINT | wIcons [] |
CONST UINT | wOptions [] |
CONST DWORD | dwResponses [] |
CONST DWORD | dwResponseDefault [] |
UINT_PTR | gTimerId = 0 |
FARPROC | gfnRegisterEventSource |
FARPROC | gfnDeregisterEventSource |
FARPROC | gfnReportEvent |
WCHAR | wszDosDevices [] = L"\\??\\A:" |
|
Definition at line 1906 of file w32/ntuser/server/harderr.c. References BHE_ACTIVATE, BHE_FORCE, BOOL, tagHARDERRORINFO::dwHEIFFlags, DWORD, EnterCrit, EnumThreadWindows(), FALSE, FindWindowFromThread(), gdwHardErrorThreadId, gphiList, HEIF_ACTIVE, HEIF_NUKED, LeaveCrit, NtUserHardErrorControl(), NULL, tagHARDERRORINFO::phiNext, PostThreadMessage(), ReplyHardError(), SetForegroundWindow(), and TRUE. Referenced by CreateCtrlThread(), EndTaskDlgProc(), KillProcess(), ThreadShutdownNotify(), UserClientShutdown(), and W32WinStationTerminate().
|
|
Definition at line 347 of file w32/ntuser/server/harderr.c. References tagHARDERRORINFO::dwHEIFFlags, EnterCrit, gphiList, HEIF_WRONGDESKTOP, LeaveCrit, NtUserHardErrorControl(), NULL, and tagHARDERRORINFO::phiNext. Referenced by HardErrorHandler().
|
|
Definition at line 291 of file w32/ntuser/server/harderr.c. References tagHARDERRORINFO::dwHEIFFlags, HEIF_ALLOCATEDMSG, tagHARDERRORINFO::pmsg, RtlFreeUnicodeString(), tagHARDERRORINFO::usCaption, and tagHARDERRORINFO::usText. Referenced by ReplyHardError(), and UserHardErrorEx().
|
|
Definition at line 255 of file w32/ntuser/server/harderr.c. References BYTE, DWORD, L, NT_SUCCESS, NtClose(), NtOpenKey(), NtQueryValueKey(), NULL, RtlInitUnicodeString(), and Status. Referenced by UserHardErrorEx().
|
|
Definition at line 423 of file w32/ntuser/server/harderr.c. References ARRAY_SIZE, BOOL, tagHARDERRORINFO::dwHEIFFlags, tagHARDERRORINFO::dwMBFlags, DWORD, tagHARDERRORINFO::dwVDMParam0, tagHARDERRORINFO::dwVDMParam1, EnterCrit, EnumThreadWindows(), EXCEPTION_EXECUTE_HANDLER, FALSE, FindWindowFromThread(), GetWindowText(), GetWindowTextLength(), ghModuleWin, gNtDllHandle, gpwszaSUCCESS, gpwszaSYSTEM_ERROR, gpwszaSYSTEM_INFORMATION, gpwszaSYSTEM_WARNING, HEIF_SYSTEMERROR, HEIF_VDMERROR, L, LeaveCrit, LMEM_ZEROINIT, NT_SUCCESS, NtClose(), NtQueryInformationProcess(), NtReadVirtualMemory(), NTSTATUS(), NULL, tagHARDERRORINFO::pmsg, RtlAnsiStringToUnicodeString(), RtlCreateUnicodeString(), RtlFindMessage(), RtlFreeAnsiString(), RtlFreeHeap, RtlFreeUnicodeString(), RtlInitAnsiString(), RtlInitUnicodeString(), RtlUnicodeStringToAnsiString(), ServerLoadString, Status, SubstituteDeviceName(), TRUE, UINT, tagHARDERRORINFO::usCaption, tagHARDERRORINFO::usText, wIcons, wOptions, and wsprintfW(). Referenced by UserHardErrorEx().
|
|
Definition at line 1129 of file w32/ntuser/server/harderr.c. References ARRAY_SIZE, BOOL, _MSGBOXDATA::CancelId, _MSGBOXDATA::cButtons, CheckDefaultDesktop(), COPY_FLAG, _MSGBOXDATA::DefButton, tagHARDERRORINFO::dwHEIFFlags, tagHARDERRORINFO::dwMBFlags, DWORD, dwResponses, tagHARDERRORINFO::dwVDMParam0, tagHARDERRORINFO::dwVDMParam1, EnterCrit, FALSE, gbExitInProgress, gdwHardErrorThreadId, gfTimedOut, gphiList, gSessionId, gTimerId, HardErrorRemove(), HEIF_ACTIVE, HEIF_NUKED, HEIF_VDMERROR, HEIF_WRONGDESKTOP, ISTS, L, LeaveCrit, MAX_SEB_STYLES, MB_GetString(), msg, MSGBOXDATA, MsgBoxTimerFunc(), MsgWaitForMultipleObjects(), NtUserHardErrorControl(), NULL, tagHARDERRORINFO::pCtxHEInfo, PeekMessage(), tagHARDERRORINFO::phiNext, _MSGBOXDATA::pidButton, tagHARDERRORINFO::pmsg, _MSGBOXDATA::ppszButtonText, tagHARDERRORINFO::pthread, ReplyHardError(), tagCTXHARDERRORINFO::Response, SEB_CANCEL, SEB_DEFBUTTON, SetTimer, SoftModalMessageBox(), tagCTXHARDERRORINFO::Timeout, UINT, tagHARDERRORINFO::usCaption, tagHARDERRORINFO::usText, and VOID(). Referenced by ProcessHardErrorRequest().
|
|
Definition at line 1669 of file w32/ntuser/server/harderr.c. References UserHardErrorEx(), and VOID().
|
|
Definition at line 282 of file icamsg.c. References tagCTXHARDERRORINFO::DoNotWait, tagCTXHARDERRORINFO::pMessage, tagCTXHARDERRORINFO::pTitle, ReplyMessageToTerminalServer(), and VOID().
|
|
Definition at line 1569 of file w32/ntuser/server/harderr.c. References FALSE, ProcessHardErrorRequest(), and UserExitWorkerThread(). Referenced by ProcessHardErrorRequest().
|
|
Definition at line 166 of file w32/ntuser/server/harderr.c. References gEventSource, gfnReportEvent, and NULL. Referenced by UserHardErrorEx().
|
|
Definition at line 383 of file w32/ntuser/server/harderr.c. References BOOL, gdwHardErrorThreadId, gfTimedOut, hWnd, PostThreadMessage(), and TRUE. Referenced by HardErrorHandler().
|
|
Definition at line 1599 of file w32/ntuser/server/harderr.c. References DWORD, EnterCrit, gdwHardErrorThreadId, HardErrorHandler(), HardErrorWorkerThread(), LeaveCrit, NT_SUCCESS, NtResumeThread(), NTSTATUS(), NULL, PostThreadMessage(), RtlCreateUserThread(), Status, and TRUE. Referenced by HardErrorWorkerThread(), and UserHardErrorEx().
|
|
Definition at line 310 of file w32/ntuser/server/harderr.c. References tagHARDERRORINFO::dwHEIFFlags, FreePhi(), HEIF_DEREFTHREAD, HEIF_REPLIED, tagHARDERRORINFO::hEventHardError, NtReplyPort(), NtSetEvent(), NULL, tagHARDERRORINFO::pmsg, and tagHARDERRORINFO::pthread. Referenced by BoostHardError(), HardErrorHandler(), and UserHardErrorEx().
|
|
Definition at line 1499 of file w32/ntuser/server/harderr.c. References CHAR, FALSE, LMEM_ZEROINIT, NT_SUCCESS, NTSTATUS(), NULL, RtlFindMessage(), Status, and TRUE. Referenced by GetRegIntFromID(), and UserServerDllInitialization().
|
|
Definition at line 191 of file w32/ntuser/server/harderr.c. References ARRAY_SIZE, CHAR, L, NT_SUCCESS, NtClose(), NtOpenSymbolicLinkObject(), NtQuerySymbolicLinkObject(), NTSTATUS(), NULL, RtlEqualUnicodeString(), RtlInitUnicodeString(), Status, TRUE, and wszDosDevices. Referenced by GetHardErrorText().
|
|
Referenced by ConsoleInputThread(), HardErrorWorkerThread(), and UnlockConsole(). |
|
Definition at line 1662 of file w32/ntuser/server/harderr.c. References NULL, UserHardErrorEx(), and VOID(). Referenced by UserServerDllInitialization().
|
|
Definition at line 1686 of file w32/ntuser/server/harderr.c. References ARRAY_SIZE, BOOL, tagHARDERRORINFO::dwHEIFFlags, DWORD, dwResponseDefault, EnterCrit, ErrorExit(), FALSE, FreePhi(), GetErrorMode(), GetHardErrorText(), gEventSource, gfnDeregisterEventSource, gphiList, HARDERRORINFO, HEIF_ALLOCATEDMSG, HEIF_DEREFTHREAD, HEIF_REPLIED, HEIF_SYSTEMERROR, tagHARDERRORINFO::hEventHardError, ISTS, L, LeaveCrit, LogErrorPopup(), NtClose(), NtReplyPort(), NtWaitForSingleObject(), NULL, tagHARDERRORINFO::pCtxHEInfo, tagHARDERRORINFO::phiNext, tagHARDERRORINFO::pmsg, ProcessHardErrorRequest(), tagHARDERRORINFO::pthread, ReplyHardError(), TRUE, UINT, tagHARDERRORINFO::usCaption, UserRegisterEventSource(), tagHARDERRORINFO::usText, and VOID(). Referenced by HardErrorInsert(), and UserHardError().
|
|
Definition at line 99 of file w32/ntuser/server/harderr.c. References EnterCrit, gfnDeregisterEventSource, gfnRegisterEventSource, gfnReportEvent, L, LeaveCrit, and NULL. Referenced by UserHardErrorEx().
|
|
Initial value:
Definition at line 62 of file w32/ntuser/server/harderr.c. Referenced by UserHardErrorEx(). |
|
Initial value:
Definition at line 48 of file w32/ntuser/server/harderr.c. Referenced by HardErrorHandler(). |
|
Definition at line 17 of file w32/ntuser/server/harderr.c. |
|
Definition at line 86 of file w32/ntuser/server/harderr.c. Referenced by UserHardErrorEx(), and UserRegisterEventSource(). |
|
Definition at line 85 of file w32/ntuser/server/harderr.c. Referenced by UserRegisterEventSource(). |
|
Definition at line 87 of file w32/ntuser/server/harderr.c. Referenced by LogErrorPopup(), and UserRegisterEventSource(). |
|
Definition at line 18 of file w32/ntuser/server/harderr.c. Referenced by HardErrorHandler(), and MsgBoxTimerFunc(). |
|
Definition at line 77 of file w32/ntuser/server/harderr.c. Referenced by HardErrorHandler(). |
|
Initial value:
Definition at line 31 of file w32/ntuser/server/harderr.c. Referenced by GetHardErrorText(). |
|
Initial value:
Definition at line 37 of file w32/ntuser/server/harderr.c. Referenced by GetHardErrorText(). |
|
Definition at line 189 of file w32/ntuser/server/harderr.c. Referenced by SubstituteDeviceName(). |