Index: /trunk/src/VBox/Main/idl/VirtualBox.xidl
===================================================================
--- /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 35250)
+++ /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 35251)
@@ -8951,5 +8951,5 @@
   <interface
     name="IMedium" extends="$unknown"
-    uuid="bfcf5b8c-5155-4f24-9414-9457054b16db"
+    uuid="9edda847-1279-4b0a-9af7-9d66251ccc18"
     wsmap="managed"
     >
@@ -9334,7 +9334,8 @@
     </attribute>
 
-    <attribute name="variant" type="MediumVariant" readonly="yes">
-      <desc>
-        Returns the storage format variant information for this medium.
+    <attribute name="variant" type="unsigned long" readonly="yes">
+      <desc>
+        Returns the storage format variant information for this medium
+        as a combination of the flags described at <link to="MediumVariant" />.
         Before <link to="#refreshState"/> is called this method returns
         an undefined value.
@@ -10037,6 +10038,7 @@
         <desc>Maximum logical size of the medium in bytes.</desc>
       </param>
-      <param name="variant" type="MediumVariant" dir="in">
-        <desc>Exact image variant which should be created.</desc>
+      <param name="variant" type="unsigned long" dir="in">
+        <desc>Exact image variant which should be created (as a combination of
+          <link to="MediumVariant" /> flags).</desc>
       </param>
       <param name="progress" type="IProgress" dir="return">
@@ -10119,6 +10121,7 @@
         <desc>Target medium.</desc>
       </param>
-      <param name="variant" type="MediumVariant" dir="in">
-        <desc>Exact image variant which should be created.</desc>
+      <param name="variant" type="unsigned long" dir="in">
+        <desc>Exact image variant which should be created (as a combination of
+          <link to="MediumVariant" /> flags).</desc>
       </param>
       <param name="progress" type="IProgress" dir="return">
@@ -10246,6 +10249,7 @@
         <desc>Target medium.</desc>
       </param>
-      <param name="variant" type="MediumVariant" dir="in">
-        <desc>Exact image variant which should be created.</desc>
+      <param name="variant" type="unsigned long" dir="in">
+        <desc>Exact image variant which should be created (as a combination of
+          <link to="MediumVariant" /> flags).</desc>
       </param>
       <param name="parent" type="IMedium" dir="in">
