VirtualBox

Changeset 14104 in vbox for trunk/include


Ignore:
Timestamp:
Nov 11, 2008 7:16:32 PM (16 years ago)
Author:
vboxsync
Message:

HostServices/GuestProperties: fixed the GET_NOTIFICATION protocol

File:
1 edited

Legend:

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

    r13995 r14104  
    426426
    427427/**
    428  * The guest is polling for notifications on changes to properties, optionally
    429  * specifying the timestamp of the last notification seen.
     428 * The guest is polling for notifications on changes to properties, specifying
     429 * a set of patterns to match the names of changed properties against and
     430 * optionally the timestamp of the last notification seen.
    430431 * On success, VINF_SUCCESS will be returned and the buffer will contain
    431  * details of a property notification.  If no new notification is available,
    432  * the call will block until one is.
     432 * details of a property notification.  If no new notification is available
     433 * which matches one of the specified patterns, the call will block until one
     434 * is.
    433435 * If the last notification could not be found by timestamp, VWRN_NOT_FOUND
    434436 * will be returned and the oldest available notification will be returned.
    435  * If no timestamp is specified, the oldest available notification will be
    436  * returned.
     437 * If a zero timestamp is specified, the call will always wait for a new
     438 * notification to arrive.
    437439 * If the buffer supplied was not large enough to hold the notification,
    438440 * VERR_BUFFER_OVERFLOW will be returned and the size parameter will contain
     
    446448typedef struct _GetNotification
    447449{
    448     VBoxGuestHGCMCallInfo hdr;
    449 
     450    VBoxGuestHGCMCallInfoTimeout hdr;
     451
     452    /**
     453     * A list of patterns to match the guest event name against, separated by
     454     * vertical bars (|) (IN pointer)
     455     * An empty string means match all.
     456     */
     457    HGCMFunctionParameter patterns;
    450458    /**
    451459     * The timestamp of the last change seen (IN uint64_t)
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