VirtualBox

vbox的更動 13971 路徑 trunk/include/VBox


忽略:
時間撮記:
2008-11-7 下午04:07:57 (16 年 以前)
作者:
vboxsync
訊息:

HostServices/GuestProperties: added blocking waits for notifications

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r13928 r13971  
    431431 * On success, VINF_SUCCESS will be returned and the buffer will contain
    432432 * details of a property notification.  If no new notification is available,
    433  * a timestamp of zero will be returned.
     433 * the call will block until one is.
    434434 * If the last notification could not be found by timestamp, VWRN_NOT_FOUND
    435435 * will be returned and the oldest available notification will be returned.
    436  * if no timestamp is specified, the oldest available notification will be
     436 * If no timestamp is specified, the oldest available notification will be
    437437 * returned.
    438438 * If the buffer supplied was not large enough to hold the notification,
    439439 * VERR_BUFFER_OVERFLOW will be returned and the size parameter will contain
    440440 * the size of the buffer needed.
     441 *
     442 * The protocol for a guest to obtain notifications is to call
     443 * GET_NOTIFICATION in a loop.  On the first call, the ingoing timestamp
     444 * parameter should be set to zero.  On subsequent calls, it should be set to
     445 * the outgoing timestamp from the previous call.
    441446 */
    442447typedef struct _GetNotification
     
    452457     *
    453458     * The timestamp of the change being notified of (OUT uint64_t)
    454      * If this is zero then no new events are available.  Undefined on
    455      * failure.
     459     * Undefined on failure.
    456460     */
    457461    HGCMFunctionParameter timestamp;
    458462
    459463    /**
    460      * The returned data. if any will be placed here.  (OUT pointer)
     464     * The returned data, if any, will be placed here.  (OUT pointer)
    461465     * This call returns three null-terminated strings which will be placed
    462466     * one after another: name, value and flags.  For a delete notification,
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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