summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-09-30 11:58:42 -0700
committerBert Belder <bertbelder@gmail.com>2018-09-30 12:44:58 -0700
commit4c6f37cec31d51f6d7ad9e815aafd23efe9e1a80 (patch)
treee41ce70328b91b9cd872a67ea8c38e3221e0cb53
parent062b22fe569fffc0f52ec36de99e5048e4d42703 (diff)
tools: define ERROR_INVALID_PARAMETER in utils.py
Fixes #865.
-rw-r--r--tools/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/util.py b/tools/util.py
index 442aeb143..afe4690ce 100644
--- a/tools/util.py
+++ b/tools/util.py
@@ -226,6 +226,7 @@ def enable_ansi_colors_win10():
# Generic constants.
NULL = ctypes.c_void_p(0).value
INVALID_HANDLE_VALUE = ctypes.c_void_p(-1).value
+ ERROR_INVALID_PARAMETER = 87
# CreateFile flags.
# yapf: disable