VirtualBox

Changeset 59337 in vbox


Ignore:
Timestamp:
Jan 14, 2016 11:36:59 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105011
Message:

VBOXEXTPACKREG: Extended with uVBoxFullVersion member and reserved space to prevent future amendments from having to be incompatible.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/ExtPack/ExtPack.h

    r58124 r59337  
    217217     * This is set to VBOXEXTPACKREG_VERSION. */
    218218    uint32_t                    u32Version;
     219    /** The VirtualBox version this extension pack was built against.  */
     220    uint32_t                    uVBoxVersion;
    219221
    220222    /**
     
    346348    DECLCALLBACKMEMBER(void *, pfnQueryObject)(PCVBOXEXTPACKREG pThis, PCRTUUID pObjectId);
    347349
     350    DECLR3CALLBACKMEMBER(int, pfnReserved1,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     351    DECLR3CALLBACKMEMBER(int, pfnReserved2,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     352    DECLR3CALLBACKMEMBER(int, pfnReserved3,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     353    DECLR3CALLBACKMEMBER(int, pfnReserved4,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     354    DECLR3CALLBACKMEMBER(int, pfnReserved5,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     355    DECLR3CALLBACKMEMBER(int, pfnReserved6,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */
     356
     357    /** Reserved for minor structure revisions. */
     358    uint32_t                    uReserved7;
     359
    348360    /** End of structure marker (VBOXEXTPACKREG_VERSION). */
    349361    uint32_t                    u32EndMarker;
    350362} VBOXEXTPACKREG;
    351363/** Current version of the VBOXEXTPACKREG structure.  */
    352 #define VBOXEXTPACKREG_VERSION        RT_MAKE_U32(0, 1)
     364#define VBOXEXTPACKREG_VERSION        RT_MAKE_U32(1, 1)
    353365
    354366
  • trunk/src/VBox/ExtPacks/BusMouseSample/VBoxBusMouseMain.cpp

    r57358 r59337  
    137137{
    138138    VBOXEXTPACKREG_VERSION,
     139    /* .uVBoxFullVersion =  */  VBOX_FULL_VERSION,
    139140    /* .pfnInstalled =      */  NULL,
    140141    /* .pfnUninstall =      */  NULL,
     
    147148    /* .pfnVMPowerOff =     */  NULL,
    148149    /* .pfnQueryObject =    */  NULL,
     150    /* .pfnReserved1 =      */  NULL,
     151    /* .pfnReserved2 =      */  NULL,
     152    /* .pfnReserved3 =      */  NULL,
     153    /* .pfnReserved4 =      */  NULL,
     154    /* .pfnReserved5 =      */  NULL,
     155    /* .pfnReserved6 =      */  NULL,
     156    /* .u32Reserved7 =      */  0,
    149157    VBOXEXTPACKREG_VERSION
    150158};
  • trunk/src/VBox/ExtPacks/Skeleton/VBoxSkeletonMain.cpp

    r57358 r59337  
    9595{
    9696    VBOXEXTPACKREG_VERSION,
     97    /* .uVBoxFullVersion =  */  VBOX_FULL_VERSION,
    9798    /* .pfnInstalled =      */  NULL,
    9899    /* .pfnUninstall =      */  NULL,
     
    105106    /* .pfnVMPowerOff =     */  NULL,
    106107    /* .pfnQueryObject =    */  NULL,
     108    /* .pfnReserved1 =      */  NULL,
     109    /* .pfnReserved2 =      */  NULL,
     110    /* .pfnReserved3 =      */  NULL,
     111    /* .pfnReserved4 =      */  NULL,
     112    /* .pfnReserved5 =      */  NULL,
     113    /* .pfnReserved6 =      */  NULL,
     114    /* .u32Reserved7 =      */  0,
    107115    VBOXEXTPACKREG_VERSION
    108116};
  • trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceMain.cpp

    r57358 r59337  
    9595{
    9696    VBOXEXTPACKREG_VERSION,
     97    /* .uVBoxFullVersion =  */  VBOX_FULL_VERSION,
    9798    /* .pfnInstalled =      */  NULL,
    9899    /* .pfnUninstall =      */  NULL,
  • trunk/src/VBox/ExtPacks/VNC/VBoxVNCMain.cpp

    r57358 r59337  
    8282{
    8383    VBOXEXTPACKREG_VERSION,
     84    /* .uVBoxFullVersion =  */  VBOX_FULL_VERSION,
    8485    /* .pfnInstalled =      */  NULL,
    8586    /* .pfnUninstall =      */  NULL,
     
    9293    /* .pfnVMPowerOff =     */  NULL,
    9394    /* .pfnQueryObject =    */  NULL,
     95    /* .pfnReserved1 =      */  NULL,
     96    /* .pfnReserved2 =      */  NULL,
     97    /* .pfnReserved3 =      */  NULL,
     98    /* .pfnReserved4 =      */  NULL,
     99    /* .pfnReserved5 =      */  NULL,
     100    /* .pfnReserved6 =      */  NULL,
     101    /* .u32Reserved7 =      */  0,
    94102    VBOXEXTPACKREG_VERSION
    95103};
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