Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/shared/Utils.h

Issue 6308231068516352: Fix issues with security tokens (Enhanced Protected Mode, Protected Mode etc) (Closed)
Patch Set: Slaying the comments Created March 4, 2014, 10:38 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/shared/Utils.h
===================================================================
--- a/src/shared/Utils.h
+++ b/src/shared/Utils.h
@@ -10,8 +10,28 @@
#define WM_UPDATE_CHECK_ERROR WM_APP+2
#define WM_DOWNLOADING_UPDATE WM_APP+3
+//
+// Application Package Authority.
+//
+
+#define SECURITY_APP_PACKAGE_AUTHORITY {0,0,0,0,0,15}
+
+#define SECURITY_APP_PACKAGE_BASE_RID (0x00000002L)
+#define SECURITY_BUILTIN_APP_PACKAGE_RID_COUNT (2L)
+#define SECURITY_APP_PACKAGE_RID_COUNT (8L)
+#define SECURITY_CAPABILITY_BASE_RID (0x00000003L)
+#define SECURITY_BUILTIN_CAPABILITY_RID_COUNT (2L)
+#define SECURITY_CAPABILITY_RID_COUNT (5L)
+
+//
+// Built-in Packages.
+//
+
+#define SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE (0x00000001L)
+
+
bool IsWindowsVistaOrLater();
-bool IsWindows8();
+bool IsAppContainersSupported();
std::string ToUtf8String(const std::wstring& str);
std::wstring ToUtf16String(const std::string& str);

Powered by Google App Engine
This is Rietveld