VirtualBox

Changeset 89949 in vbox for trunk/include


Ignore:
Timestamp:
Jun 29, 2021 12:18:45 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145407
Message:

VMM/PDMDriver: Add PDMDRVHLPR3::pfnQueryGenericUserObject/PDMDevHlpQueryGenericUserObject mapping to VMM2USERMETHODS::pfnQueryGenericObject, bugref:10053

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmdrv.h

    r88775 r89949  
    13351335    DECLR3CALLBACKMEMBER(int, pfnSTAMDeregisterByPrefix,(PPDMDRVINS pDrvIns, const char *pszPrefix));
    13361336
     1337    /**
     1338     * Queries a generic object from the VMM user.
     1339     *
     1340     * @returns Pointer to the object if found, NULL if not.
     1341     * @param   pDrvIns     The driver instance.
     1342     * @param   pUuid       The UUID of what's being queried.  The UUIDs and
     1343     *                      the usage conventions are defined by the user.
     1344     */
     1345    DECLR3CALLBACKMEMBER(void *, pfnQueryGenericUserObject,(PPDMDRVINS pDrvIns, PCRTUUID pUuid));
     1346
    13371347    DECLR3CALLBACKMEMBER(void, pfnReserved2,(PPDMDRVINS pDrvIns));
    13381348    DECLR3CALLBACKMEMBER(void, pfnReserved3,(PPDMDRVINS pDrvIns));
     
    13421352    DECLR3CALLBACKMEMBER(void, pfnReserved7,(PPDMDRVINS pDrvIns));
    13431353    DECLR3CALLBACKMEMBER(void, pfnReserved8,(PPDMDRVINS pDrvIns));
    1344     DECLR3CALLBACKMEMBER(void, pfnReserved9,(PPDMDRVINS pDrvIns));
    13451354    /** @}  */
    13461355
     
    18641873}
    18651874
     1875/**
     1876 * @copydoc PDMDRVHLPR3::pfnQueryGenericUserObject
     1877 */
     1878DECLINLINE(void *) PDMDrvHlpQueryGenericUserObject(PPDMDRVINS pDrvIns, PCRTUUID pUuid)
     1879{
     1880    return pDrvIns->pHlpR3->pfnQueryGenericUserObject(pDrvIns, pUuid);
     1881}
     1882
    18661883
    18671884/** Pointer to callbacks provided to the VBoxDriverRegister() call. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette