VirtualBox

Ignore:
Timestamp:
Dec 11, 2017 3:02:07 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119600
Message:

GuestPropertySvc.h: Working on making it usable from C (VBoxGuest, ++)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r69500 r70058  
    11891189     * of space here in case the maximum values are raised. */
    11901190    void *pvBuf = NULL;
    1191     uint32_t cbBuf = MAX_VALUE_LEN + MAX_FLAGS_LEN + 1024;
     1191    uint32_t cbBuf = GUEST_PROP_MAX_VALUE_LEN + GUEST_PROP_MAX_FLAGS_LEN + 1024;
    11921192    if (RT_SUCCESS(rc))
    11931193    {
     
    14971497     * of space here in case the maximum values are raised. */
    14981498    void *pvBuf = NULL;
    1499     uint32_t cbBuf = MAX_NAME_LEN + MAX_VALUE_LEN + MAX_FLAGS_LEN + 1024;
     1499    uint32_t cbBuf = GUEST_PROP_MAX_NAME_LEN + GUEST_PROP_MAX_VALUE_LEN + GUEST_PROP_MAX_FLAGS_LEN + 1024;
    15001500    /* Because there is a race condition between our reading the size of a
    15011501     * property and the guest updating it, we loop a few times here and
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