VirtualBox

Changeset 99295 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Apr 5, 2023 10:08:15 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156681
Message:

Guest Additions/Main: Return and document a dedicated error if I[Guest]Directory::list() is not supported by the installed Guest Additions. bugref:9783

File:
1 edited

Legend:

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

    r99085 r99295  
    10081008 * @retval VERR_GSTCTL_GUEST_ERROR / VERR_NO_MORE_FILES if no more entries are available after this iteration.
    10091009 *         \a vecObjData will contain the rest of the entries then (if any).
     1010 * @retval VERR_NOT_SUPPORTED if the installed Guest Additions do not support this method.
    10101011 * @param  cMaxEntries          How many directory entries to read at max.
    10111012 * @param  fFlags               Flags of type GSTCTL_DIRLIST_F_XXX.
     
    11101111 * @retval VERR_GSTCTL_GUEST_ERROR / VERR_NO_MORE_FILES if no more entries are available after this iteration.
    11111112 *         \a vecObjData will contain the rest of the entries then (if any).
     1113 * @retval VERR_NOT_SUPPORTED if the installed Guest Additions do not support this method.
    11121114 * @param  cMaxEntries          How many directory entries to read at max.
    11131115 * @param  fFlags               Flags of type GSTCTL_DIRLIST_F_XXX.
     
    11551157 * @retval VERR_GSTCTL_GUEST_ERROR / VERR_NO_MORE_FILES if no more entries are available after this iteration.
    11561158 *         \a vecObjData will contain the rest of the entries then (if any).
     1159 * @retval VERR_NOT_SUPPORTED if the installed Guest Additions do not support this method.
    11571160 * @param  cMaxEntries          How many directory entries to read at max.
    11581161 * @param  vecObjInfo           Where to store the read directory entries on success.
     
    14751478                break;
    14761479            }
     1480
     1481            case VERR_NOT_SUPPORTED: /* Returned from i_list(). */
     1482                hrc = VBOX_E_NOT_SUPPORTED;
     1483                break;
    14771484
    14781485            default:
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