Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/Defs.h')
-rwxr-xr-xWindows/Defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Windows/Defs.h b/Windows/Defs.h
index c0038d61..f8c6daaa 100755
--- a/Windows/Defs.h
+++ b/Windows/Defs.h
@@ -6,6 +6,9 @@
inline bool BOOLToBool(BOOL value)
{ return (value != FALSE); }
+inline bool LRESULTToBool(LRESULT value)
+ { return (value != FALSE); }
+
inline BOOL BoolToBOOL(bool value)
{ return (value ? TRUE: FALSE); }