VirtualBox

Changeset 34244 in vbox for trunk/include/VBox/ExtPack


Ignore:
Timestamp:
Nov 22, 2010 2:31:02 PM (14 years ago)
Author:
vboxsync
Message:

Main,Config.kmk,VBoxManage,ExtPacks: Moved the VRDE bits from IVirtualBox to the extension packs; changed ISystemProperties and IVRDEServer to talk about VRDE extension packs instead of VRDE libraries.

File:
1 edited

Legend:

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

    r34086 r34244  
    4242VBOXEXTPACK_IF_CS(IMachine);
    4343VBOXEXTPACK_IF_CS(IVirtualBox);
     44
     45/**
     46 * Module kind for use with VBOXEXTPACKHLP::pfnFindModule.
     47 */
     48typedef enum VBOXEXTPACKMODKIND
     49{
     50    /** Zero is invalid as alwasy. */
     51    VBOXEXTPACKMODKIND_INVALID = 0,
     52    /** Raw-mode context module. */
     53    VBOXEXTPACKMODKIND_RC,
     54    /** Ring-0 context module. */
     55    VBOXEXTPACKMODKIND_R0,
     56    /** Ring-3 context module. */
     57    VBOXEXTPACKMODKIND_R3,
     58    /** End of the valid values (exclusive). */
     59    VBOXEXTPACKMODKIND_END,
     60    /** The usual 32-bit type hack. */
     61    VBOXEXTPACKMODKIND_32BIT_HACK = 0x7fffffff
     62} VBOXEXTPACKMODKIND;
    4463
    4564
     
    7493     * @param   pszExt          The extension. If NULL the default ring-3
    7594     *                          library extension will be used.
     95     * @param   enmKind         The kind of module to locate.
    7696     * @param   pszFound        Where to return the path to the module on
    7797     *                          success.
     
    80100     */
    81101    DECLR3CALLBACKMEMBER(int, pfnFindModule,(PCVBOXEXTPACKHLP pHlp, const char *pszName, const char *pszExt,
     102                                             VBOXEXTPACKMODKIND enmKind,
    82103                                             char *pszFound, size_t cbFound, bool *pfNative));
    83104
     
    97118     */
    98119    DECLR3CALLBACKMEMBER(int, pfnGetFilePath,(PCVBOXEXTPACKHLP pHlp, const char *pszFilename, char *pszPath, size_t cbPath));
    99 
    100     /**
    101      * Registers a VRDE library (IVirtualBox::VRDERegisterLibrary wrapper).
    102      *
    103      * @returns VBox status code.
    104      * @param   pHlp            Pointer to this helper structure.
    105      * @param   pszName         The module base name.  This will be found using
    106      *                          the pfnFindModule algorithm.
    107      * @param   fSetDefault     Whether to make it default if no other default
    108      *                          is set.
    109      *
    110      * @remarks This helper should be called from pfnVirtualBoxReady as it may
    111      *          cause trouble when called from pfnInstalled.
    112      */
    113     DECLR3CALLBACKMEMBER(int, pfnRegisterVrde,(PCVBOXEXTPACKHLP pHlp, const char *pszName, bool fSetDefault));
    114120
    115121    /** End of structure marker (VBOXEXTPACKHLP_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