VirtualBox

Changeset 33693 in vbox for trunk/include


Ignore:
Timestamp:
Nov 2, 2010 2:52:24 PM (14 years ago)
Author:
vboxsync
Message:

Main: More ExtPack code.

File:
1 edited

Legend:

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

    r33676 r33693  
    101101     * This is called in the context of the per-user service (VBoxSVC).
    102102     *
    103      * @returns VBox status code.
    104      * @param   pThis       Pointer to this structure.
    105      */
    106     DECLCALLBACKMEMBER(int, pfnInstalled)(PCVBOXEXTPACKREG pThis);
     103     * @param   pThis       Pointer to this structure.
     104     */
     105    DECLCALLBACKMEMBER(void, pfnInstalled)(PCVBOXEXTPACKREG pThis);
    107106
    108107    /**
     
    117116
    118117    /**
     118     * Hook for doing work before unloading.
     119     *
     120     * This is called both in the context of the per-user service (VBoxSVC) and
     121     * in context of the VM process (VBoxC).
     122     *
     123     * @param   pThis       Pointer to this structure.
     124     *
     125     * @remarks The helpers are not available at this point in time.
     126     * @remarks This is not called on uninstall, then pfnUninstall will be the
     127     *          last callback.
     128     */
     129    DECLCALLBACKMEMBER(void, pfnUnload)(PCVBOXEXTPACKREG pThis);
     130
     131    /**
    119132     * Hook for changing the default VM configuration upon creation.
    120133     *
     
    134147     * @returns VBox status code.
    135148     * @param   pThis       Pointer to this structure.
     149     * @param   pConsole    The console interface.
    136150     * @param   pVM         The VM handle.
     151     */
     152    DECLCALLBACKMEMBER(int, pfnVMConfigureVMM)(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
     153
     154    /**
     155     * Hook for doing work right before powering on the VM.
     156     *
     157     * This is called in the context of the VM process (VBoxC).
     158     *
     159     * @returns VBox status code.
     160     * @param   pThis       Pointer to this structure.
    137161     * @param   pConsole    The console interface.
    138      */
    139     DECLCALLBACKMEMBER(int, pfnVMConfigureVMM)(PCVBOXEXTPACKREG pThis, PVM pVM, IConsole *pConsole);
    140 
    141     /**
    142      * Hook for doing work right before powering on the VM.
     162     * @param   pVM         The VM handle.
     163     */
     164    DECLCALLBACKMEMBER(int, pfnVMPowerOn)(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
     165
     166    /**
     167     * Hook for doing work after powering on the VM.
    143168     *
    144169     * This is called in the context of the VM process (VBoxC).
    145170     *
    146      * @returns VBox status code.
    147      * @param   pThis       Pointer to this structure.
    148      * @param   pVM         The VM handle.
     171     * @param   pThis       Pointer to this structure.
    149172     * @param   pConsole    The console interface.
    150      */
    151     DECLCALLBACKMEMBER(int, pfnVMPowerOn)(PCVBOXEXTPACKREG pThis, PVM pVM, IConsole *pConsole);
    152 
    153     /**
    154      * Hook for doing work after powering on the VM.
    155      *
    156      * This is called in the context of the VM process (VBoxC).
    157      *
    158      * @returns VBox status code.
    159      * @param   pThis       Pointer to this structure.
    160173     * @param   pVM         The VM handle.  Can be NULL.
    161      * @param   pConsole    The console interface.
    162      */
    163     DECLCALLBACKMEMBER(int, pfnVMPowerOff)(PCVBOXEXTPACKREG pThis, PVM pVM, IConsole *pConsole);
     174     */
     175    DECLCALLBACKMEMBER(void, pfnVMPowerOff)(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
    164176
    165177    /** End of structure marker (VBOXEXTPACKREG_VERSION). */
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