Index: /trunk/src/VBox/Main/idl/VirtualBox.xidl
===================================================================
--- /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 55594)
+++ /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 55595)
@@ -11975,5 +11975,5 @@
   <interface
     name="IGuestProcess" extends="IProcess"
-    uuid="1f3c2d60-4c09-d824-4ca1-579a2bda858f"
+    uuid="35cf4b3f-4453-4f3e-c9b8-5686939c80b6"
     wsmap="managed"
     >
@@ -11982,4 +11982,5 @@
       for processes the host has started in the guest.
     </desc>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21126,5 +21127,5 @@
       <see><link to="ISnapshot"/></see>
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21145,5 +21146,5 @@
       <see><link to="ISnapshot"/></see>
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21157,5 +21158,5 @@
       <see><link to="ISnapshot"/></see>
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21169,5 +21170,5 @@
       <see><link to="ISnapshot"/></see>
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21328,5 +21329,5 @@
       find out what has changed.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21395,5 +21396,5 @@
       changes.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21889,5 +21890,5 @@
     </desc>
 
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21918,5 +21919,5 @@
     </desc>
 
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21932,5 +21933,5 @@
       find out what has changed.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21945,5 +21946,5 @@
       attributes to find out what is the current status.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21956,5 +21957,5 @@
       Notification when video capture settings have changed.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -21970,5 +21971,5 @@
       find out what has changed.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -22278,5 +22279,5 @@
       <link to="IConsole::state">machine state</link> change.
     </desc>
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
@@ -22645,5 +22646,5 @@
     dtracename="HostNameResCfgChangeEvent"
     >
-    <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
+    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
   </interface>
 
Index: /trunk/src/VBox/Main/idl/apiwrap-server.xsl
===================================================================
--- /trunk/src/VBox/Main/idl/apiwrap-server.xsl	(revision 55594)
+++ /trunk/src/VBox/Main/idl/apiwrap-server.xsl	(revision 55595)
@@ -1113,4 +1113,8 @@
     </xsl:variable>
 
+    <xsl:if test="$attrbasename = 'MidlDoesNotLikeEmptyInterfaces'">
+        <xsl:text>    //</xsl:text>
+    </xsl:if>
+
     <xsl:value-of select="concat('    virtual HRESULT get', $attrbasename, '(')"/>
     <xsl:variable name="passAutoCaller">
@@ -1183,5 +1187,10 @@
     </xsl:call-template>
     <xsl:text>)
-{
+{</xsl:text>
+    <xsl:if test="$attrbasename = 'MidlDoesNotLikeEmptyInterfaces'">
+        <xsl:text>
+#if 0 /* This is a dummy attribute */</xsl:text>
+    </xsl:if>
+    <xsl:text>
     LogRelFlow(("{%p} %s: enter </xsl:text>
     <xsl:apply-templates select="@type" mode="logparamtext">
@@ -1210,5 +1219,5 @@
         <xsl:with-param name="dir" select="'out'"/>
     </xsl:apply-templates>
-    <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
+    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
         <xsl:text>
 #ifdef VBOX_WITH_DTRACE_R3_MAIN
@@ -1249,5 +1258,5 @@
     <xsl:text>);
 </xsl:text>
-    <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
+    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
         <xsl:text>
 #ifdef VBOX_WITH_DTRACE_R3_MAIN
@@ -1267,5 +1276,5 @@
     {
         hrc = hrc2;</xsl:text>
-    <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
+    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
         <xsl:text>
 #ifdef VBOX_WITH_DTRACE_R3_MAIN
@@ -1283,5 +1292,5 @@
     {
         hrc = VirtualBoxBase::handleUnexpectedExceptions(this, RT_SRC_POS);</xsl:text>
-    <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
+    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
         <xsl:text>
 #ifdef VBOX_WITH_DTRACE_R3_MAIN
@@ -1309,5 +1318,12 @@
     </xsl:apply-templates>
     <xsl:text>, hrc));
-    return hrc;
+    return hrc;</xsl:text>
+    <xsl:if test="$attrbasename = 'MidlDoesNotLikeEmptyInterfaces'">
+        <xsl:text>
+#else  /* dummy attribute */
+    return E_FAIL;
+#endif /* dummy attribute */</xsl:text>
+    </xsl:if>
+    <xsl:text>
 }
 </xsl:text>
@@ -1450,5 +1466,5 @@
     </xsl:variable>
 
-    <xsl:if test="@name != 'midlDoesNotLikEmptyInterfaces'">
+    <xsl:if test="@name != 'midlDoesNotLikeEmptyInterfaces'">
         <xsl:text>    probe </xsl:text>
         <!-- <xsl:value-of select="concat($dtracetopclass, '__get__', $dtraceattrname, '__enter(struct ', $topclass)"/> -->
@@ -1465,5 +1481,5 @@
 </xsl:text>
     </xsl:if>
-    <xsl:if test="(not(@readonly) or @readonly!='yes') and @name != 'midlDoesNotLikEmptyInterfaces'">
+    <xsl:if test="(not(@readonly) or @readonly!='yes') and @name != 'midlDoesNotLikeEmptyInterfaces'">
         <xsl:text>    probe </xsl:text>
         <!-- <xsl:value-of select="concat($topclass, '__set__', $dtraceattrname, '__enter(struct ', $topclass, ' *a_pThis, ')"/>-->
Index: /trunk/src/VBox/Main/idl/comimpl.xsl
===================================================================
--- /trunk/src/VBox/Main/idl/comimpl.xsl	(revision 55594)
+++ /trunk/src/VBox/Main/idl/comimpl.xsl	(revision 55595)
@@ -280,5 +280,5 @@
   </xsl:choose>
 
-  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikEmptyInterfaces']">
+  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikeEmptyInterfaces']">
     <xsl:variable name="aName" select="concat('a_',@name)"/>
     <xsl:variable name="aTypeName">
@@ -799,5 +799,5 @@
   </xsl:choose>
 
-  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikEmptyInterfaces']">
+  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikeEmptyInterfaces']">
     <xsl:variable name="aName" select="concat('a_',@name)"/>
     <xsl:variable name="aTypeName">
@@ -837,5 +837,5 @@
   </xsl:choose>
 
-  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikEmptyInterfaces']">
+  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikeEmptyInterfaces']">
     <xsl:variable name="aName" select="concat('a_',@name)"/>
     <xsl:choose>
