aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/Error.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-30 21:59:37 +0200
committerMax Kellermann <max@duempel.org>2014-07-30 22:08:26 +0200
commitd1bc46ffad08e070e24f775dd3e13201d97aeb5d (patch)
tree7811daa9ca326156c4d3b01758cbaeea1bf8ea85 /src/util/Error.hxx
parent32e5848f345b2a0135989e0e6de85445998c9629 (diff)
downloadmpd-d1bc46ffad08e070e24f775dd3e13201d97aeb5d.tar.gz
mpd-d1bc46ffad08e070e24f775dd3e13201d97aeb5d.tar.xz
mpd-d1bc46ffad08e070e24f775dd3e13201d97aeb5d.zip
util/Error: add SetLastError() overload with "DWORD code" parameter
Diffstat (limited to '')
-rw-r--r--src/util/Error.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/Error.hxx b/src/util/Error.hxx
index 803ec002a..82f01105f 100644
--- a/src/util/Error.hxx
+++ b/src/util/Error.hxx
@@ -166,6 +166,7 @@ public:
void FormatErrno(int e, const char *prefix, ...);
#ifdef WIN32
+ void SetLastError(DWORD _code, const char *prefix);
void SetLastError(const char *prefix);
#endif
};