summaryrefslogtreecommitdiffstats
path: root/base/win_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/win_util.h')
-rw-r--r--base/win_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/win_util.h b/base/win_util.h
index 54f5e4a..d3728c1 100644
--- a/base/win_util.h
+++ b/base/win_util.h
@@ -28,6 +28,9 @@ void GetNonClientMetrics(NONCLIENTMETRICS* metrics);
// Returns the running version of Windows.
WinVersion GetWinVersion();
+// Returns the major and minor version of the service pack installed.
+void GetServicePackLevel(int* major, int* minor);
+
// Adds an ACE in the DACL of the object referenced by handle. The ACE is
// granting |access| to the user |known_sid|.
// If |known_sid| is WinSelfSid, the sid of the current user will be added to