VirtualBox

Changeset 36423 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 25, 2011 11:14:52 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70785
Message:

VRDE.h: note about UTF8 USB descriptor strings. Minor updates for 4th version of VRDE interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/RemoteDesktop/VRDE.h

    r35985 r36423  
    428428    /** Revision, integer part. */
    429429    uint16_t        bcdRev;
    430     /** Manufacturer string. */
     430    /** Offset of the UTF8 manufacturer string relative to the structure start. */
    431431    uint16_t        oManufacturer;
    432     /** Product string. */
     432    /** Offset of the UTF8 product string relative to the structure start. */
    433433    uint16_t        oProduct;
    434     /** Serial number string. */
     434    /** Offset of the UTF8 serial number string relative to the structure start. */
    435435    uint16_t        oSerialNumber;
    436436    /** Physical USB port the device is connected to. */
     
    588588#define VRDE_INTERFACE_VERSION_2 (2)
    589589#define VRDE_INTERFACE_VERSION_3 (3)
     590#define VRDE_INTERFACE_VERSION_4 (4)
    590591
    591592/** The header that does not change when the interface changes. */
     
    14621463     *                   Only VRDEINTERFACEHDR is initialized by the caller.
    14631464     * @param pCallbacks Callbacks required by the interface. The server makes a local copy.
     1465     *                   VRDEINTERFACEHDR version must correspond to the requested interface version.
    14641466     * @param pvContext  The context to be used in callbacks.
    14651467     */
    14661468
    1467     int VRDEGetInterface(HVRDESERVER hServer,
    1468                          const char *pszId,
    1469                          VRDEINTERFACEHDR *pInterface,
    1470                          const VRDEINTERFACEHDR *pCallbacks,
    1471                          void *pvContext);
     1469    DECLR3CALLBACKMEMBER(int, VRDEGetInterface, (HVRDESERVER hServer,
     1470                                                 const char *pszId,
     1471                                                 VRDEINTERFACEHDR *pInterface,
     1472                                                 const VRDEINTERFACEHDR *pCallbacks,
     1473                                                 void *pvContext));
    14721474} VRDEENTRYPOINTS_4;
    14731475
     1476/* Callbacks are the same for the version 3 and version 4 interfaces. */
     1477typedef VRDECALLBACKS_3 VRDECALLBACKS_4;
    14741478
    14751479/**
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