VirtualBox

Changeset 25984 in vbox for trunk/src/VBox/Devices/VirtIO


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VirtIO/Virtio.cpp

    r25966 r25984  
    533533    if (RTUuidCompare2Strs(pszIID, PDMIBASE_IID) == 0)
    534534        return &pThis->IBase;
    535     if (RTUuidCompare2Strs(pszIID, PDMINTERFACE_LED_PORTS) == 0)
    536         return &pThis->ILeds;
     535    PDMIBASE_RETURN_INTERFACE(pszIID, PDMILEDPORTS, &pThis->ILeds);
    537536    return NULL;
    538537}
     
    837836    if (RT_FAILURE(rc))
    838837        return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to attach the status LUN"));
    839     pState->pLedsConnector = (PPDMILEDCONNECTORS)pBase->pfnQueryInterface(pBase, PDMINTERFACE_LED_CONNECTORS);
     838    pState->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pBase, PDMILEDCONNECTORS);
    840839
    841840    pState->nQueues = nQueues;
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