Index: util/win/xp_compat.h |
diff --git a/util/win/xp_compat.h b/util/win/xp_compat.h |
index 1501f3c58e31bdaacbc61e97809399f46a27c796..7c62e41bed5994ff213adc60b55b9493ef28690f 100644 |
--- a/util/win/xp_compat.h |
+++ b/util/win/xp_compat.h |
@@ -25,7 +25,14 @@ enum { |
//! Requesting `PROCESS_ALL_ACCESS` with the value defined when building |
//! against a Vista+ SDK results in `ERROR_ACCESS_DENIED` when running on XP. |
//! See https://msdn.microsoft.com/en-ca/library/windows/desktop/ms684880.aspx |
- kXPProcessAllAccess = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFF |
+ kXPProcessAllAccess = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFF, |
+ |
+ //! \brief This is the XP-suitable value of `THREAD_ALL_ACCESS`. |
+ //! |
+ //! Requesting `THREAD_ALL_ACCESS` with the value defined when building |
+ //! against a Vista+ SDK results in `ERROR_ACCESS_DENIED` when running on XP. |
+ //! See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686769.aspx |
+ kXPThreadAllAccess = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3FF, |
}; |
} // namespace crashpad |