VirtualBox

Changeset 82488 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Dec 7, 2019 3:42:27 AM (5 years ago)
Author:
vboxsync
Message:

VBoxSharedClipboardSvc: Return VERR_NOT_IMPLEMENTED like we used to do for everything which isn't defined (VERR_ACCESS_DENIED isn't appropriate). This means introducing (and updating) a VBOX_SHCL_GUEST_FN_LAST define in the public header. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r82486 r82488  
    293293 *
    294294 * @deprecated Replaced by VBOX_SHCL_GUEST_FN_MSG_PEEK_WAIT,
    295  *             VBOX_SHCL_GUEST_FN_MSG_GET, VBOX_SHCL_GUEST_FN_MSG_CANCEL.
     295 *             VBOX_SHCL_GUEST_FN_MSG_GET, VBOX_SHCL_GUEST_FN_CANCEL.
    296296 */
    297297#define VBOX_SHCL_GUEST_FN_GET_HOST_MSG_OLD       1
     
    313313#define VBOX_SHCL_GUEST_FN_DATA_WRITE             4
    314314
    315 /** Does the actual protocol handshake. If this message is not
    316  *  being sent by the guest, the host handles that particular client
    317  *  with the legacy protocol (v0).
     315/** Does the actual protocol handshake.
     316 *
     317 * If this message is not being sent by the guest, the host handles that
     318 * particular client with the legacy protocol (v0).
    318319 *
    319320 * @retval  VINF_SUCCESS on success.
     
    339340/** Query the host ones feature masks.
    340341 *
    341  * That way the guest (client) can get hold of the features
    342  * from the host.  Again, it is prudent to set the 127 bit and observe it being
    343  * cleared on success, as older hosts might return success without doing
    344  * anything.
     342 * That way the guest (client) can get hold of the features from the host.
     343 * Again, it is prudent to set the 127 bit and observe it being cleared on
     344 * success, as older hosts might return success without doing anything.
    345345 *
    346346 * @retval  VINF_SUCCESS on success.
     
    533533 */
    534534#define VBOX_SHCL_GUEST_FN_ERROR                  27
     535
     536/** The last function number (used for validation/sanity).   */
     537#define VBOX_SHCL_GUEST_FN_LAST                   VBOX_SHCL_GUEST_FN_ERROR
    535538/** @} */
    536539
Note: See TracChangeset for help on using the changeset viewer.

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