VirtualBox

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


Ignore:
Timestamp:
Nov 15, 2010 3:38:20 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67761
Message:

ExtPack: Fixes to IExtPack (QueryInterface can't be used for getting stuff from the ext pack, designed the plug-in interfaces). Bugfixes making 'VBoxManage list extpack' work when building with VBOX_WITH_EXTPACK_PUEL=1.

File:
1 edited

Legend:

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

    r33693 r34073  
    7676                                             char *pszFound, size_t cbFound, bool *pfNative));
    7777
     78    /**
     79     * Gets the path to a file belonging to this extension pack.
     80     *
     81     * @returns VBox status code.
     82     * @retval  VERR_INVALID_POINTER if any of the pointers are invalid.
     83     * @retval  VERR_BUFFER_OVERFLOW if the buffer is too small.  The buffer
     84     *          will contain nothing.
     85     *
     86     * @param   pHlp            Pointer to this helper structure.
     87     * @param   pszFilename     The filename.
     88     * @param   pszPath         Where to return the path to the file on
     89     *                          success.
     90     * @param   cbPath          The size of the buffer @a pszPath.
     91     */
     92    DECLR3CALLBACKMEMBER(int, pfnGetFilePath,(PCVBOXEXTPACKHLP pHlp, const char *pszFilename, char *pszPath, size_t cbPath));
     93
     94
    7895    /** End of structure marker (VBOXEXTPACKHLP_VERSION). */
    7996    uint32_t                    u32EndMarker;
     
    174191     */
    175192    DECLCALLBACKMEMBER(void, pfnVMPowerOff)(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
     193
     194    /**
     195     * Query the IUnknown interface to an object in the main module.
     196     *
     197     * This is can be called in any context.
     198     *
     199     * @returns IUnknown pointer (referenced) on success, NULL on failure.
     200     * @param   pThis       Pointer to this structure.
     201     * @param   pObjectId   Pointer to the object ID (UUID).
     202     */
     203    DECLCALLBACKMEMBER(void *, pfnQueryObject)(PCVBOXEXTPACKREG pThis, PCRTUUID pObjectId);
    176204
    177205    /** 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