diff --git a/client/app_control.cpp b/client/app_control.cpp index 7458863a39..973fc70dff 100644 --- a/client/app_control.cpp +++ b/client/app_control.cpp @@ -26,10 +26,13 @@ #define snprintf _snprintf #endif #ifndef STATUS_SUCCESS -#define STATUS_SUCCESS 0x0 // may be in ntstatus.h +#define STATUS_SUCCESS 0x0 // may be in ntstatus.h #endif #ifndef STATUS_DLL_INIT_FAILED -#define STATUS_DLL_INIT_FAILED 0xC0000142 // may be in ntstatus.h +#define STATUS_DLL_INIT_FAILED 0xC0000142 // may be in ntstatus.h +#endif +#ifndef STATUS_DLL_INIT_FAILED_LOGOFF +#define STATUS_DLL_INIT_FAILED_LOGOFF 0xC000026B // may be in ntstatus.h #endif #else @@ -476,6 +479,7 @@ void ACTIVE_TASK::handle_exited_app(int stat) { case 0xc000013a: // control-C?? case 0x40010004: // vista shutdown?? can someone explain this? case STATUS_DLL_INIT_FAILED: + case STATUS_DLL_INIT_FAILED_LOGOFF: // This can happen because: // - The OS is shutting down, and attempting to start // any new application fails automatically.