VirtualBox

Changeset 77113 in vbox


Ignore:
Timestamp:
Feb 1, 2019 12:51:27 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128570
Message:

Guest Control/Main: The comment about Guest::i_notifyCtrlDispatcher() is not needed anymore; it's now properly returning error codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r76958 r77113  
    6565 *
    6666 * @returns VBox status code.
    67  *
    68  * @todo
    69  *
    70  * @todo    r=bird: This code mostly returned VINF_SUCCESS with the comment
    71  *          "Never return any errors back to the guest here." attached to the
    72  *          return locations.  However, there is no explaination for this attitude
    73  *          thowards error handling.   Further, it creates a slight problem since
    74  *          the service would route all message calls it didn't recognize here,
    75  *          thereby making any undefined messages confusingly return VINF_SUCCESS.
    76  *
    77  *          In my humble opinion, if the guest gives us incorrect input it should
    78  *          expect and deal with error statuses.  If there is unimplemented
    79  *          features I expect there to have been sufficient forethought by the
    80  *          coder that these return sensible status codes.
    81  *
    82  *          It would be much appreciated if the esteemed card house builder could
    83  *          please step in and explain this confusing state of affairs.
    8467 */
    8568/* static */
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