Diff of /ooDialog/trunk/ooDialog/oodUtilities.cpp [r9172] .. [r9173] Maximize Restore

  Switch to side-by-side view

--- a/ooDialog/trunk/ooDialog/oodUtilities.cpp
+++ b/ooDialog/trunk/ooDialog/oodUtilities.cpp
@@ -49,6 +49,7 @@
 #include <Rpc.h>
 #include "APICommon.hpp"
 #include "oodCommon.hpp"
+#include "oodShared.hpp"
 #include "oodDeviceGraphics.hpp"
 #include "oodResources.hpp"
 #include "oodResourceIDs.hpp"
@@ -1127,11 +1128,20 @@
  * @param  format  [optional]  Keyword indicating which format the returned
  *                 string should be in.  Keywords are:
  *
- *         Short   4.1.0.5814
- *
- *         Full    ooDialog Version 4.1.0.5814 (an ooRexx Windows Extension)
- *
- *         Level   4.2.0
+ *         Short    4.1.0.5814
+ *
+ *         Full     ooDialog Version 4.1.0.5814 (an ooRexx Windows Extension)
+ *
+ *         Level    4.2.0
+ *
+ *         Complete
+ *
+ *              ooDialog: ooDialog Version 4.2.3.9166 (64 bit)
+ *                        Built Apr 16 2013 13:41:25
+ *                        Copyright (c) RexxLA 2005-2013.
+ *                        All Rights Reserved.
+ *
+ *              Rexx:     Open Object Rexx Version 4.2.0
  *
  *                 Only the first letter is required and case is not
  *                 significant.  If the argument is omitted the Full format is
@@ -1155,6 +1165,21 @@
         case 'S' :
             _snprintf(buf, sizeof(buf), "%u.%u.%u.%u", OOD_VER, OOD_REL, OOD_MOD, OOD_BLD);
             break;
+
+        case 'C' :
+        {
+            char *buff = getCompleteVersion(context->threadContext);
+            if ( buff == NULL )
+            {
+                outOfMemoryException(context->threadContext);
+                return context->NullString();
+            }
+
+            RexxStringObject s = context->String(buff);
+            LocalFree(buff);
+
+            return s;
+        } break;
 
         case 'F' :
         default :