VirtualBox

Changeset 85295 in vbox


Ignore:
Timestamp:
Jul 13, 2020 9:04:19 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139273
Message:

Main/comimpl.xsl: Made the fireXxxxxEvent methods call FireEvent directly and skip VBoxEventDesc. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/comimpl.xsl

    r85294 r85295  
    780780  <xsl:text>)&#10;</xsl:text>
    781781  <xsl:text>{&#10;</xsl:text>
     782  <xsl:text>    AssertReturn(aSource, E_INVALIDARG);&#10;</xsl:text>
    782783  <xsl:text>    ComPtr&lt;IEvent&gt; ptrEvent;&#10;</xsl:text>
    783784  <xsl:text>    HRESULT hrc = </xsl:text>
     
    789790  <xsl:text>    if (SUCCEEDED(hrc))&#10;</xsl:text>
    790791  <xsl:text>    {&#10;</xsl:text>
    791   <xsl:text>        VBoxEventDesc EvtDesc(ptrEvent, aSource);&#10;</xsl:text>
    792   <xsl:text>        EvtDesc.fire(/* do not wait for delivery */ 0);&#10;</xsl:text>
     792  <xsl:text>        BOOL fDeliveredIgnored = FALSE;&#10;</xsl:text>
     793  <xsl:text>        hrc = aSource-&gt;FireEvent(ptrEvent, /* do not wait for delivery */ 0, &amp;fDeliveredIgnored);&#10;</xsl:text>
     794  <xsl:text>        AssertComRC(hrc);&#10;</xsl:text>
    793795  <xsl:text>    }&#10;</xsl:text>
    794796  <xsl:text>    return hrc;&#10;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette