VirtualBox

Ignore:
Timestamp:
Jan 23, 2010 12:51:04 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56850
Message:

pdmifs.h: the final batch of refactored interface ID code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvBlock.cpp

    r25974 r25985  
    658658    PDRVBLOCK   pThis = PDMINS_2_DATA(pDrvIns, PDRVBLOCK);
    659659
    660     if (RTUuidCompare2Strs(pszIID, PDMIBASE_IID) == 0)
    661         return &pDrvIns->IBase;
     660    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase);
    662661    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBLOCK, &pThis->IBlock);
    663662    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBLOCKBIOS, pThis->fBiosVisible ? &pThis->IBlockBios : NULL);
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