Changeset 25969 in vbox for trunk/src/VBox/Frontends/VBoxBFE
- Timestamp:
- Jan 22, 2010 12:22:38 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp
r25966 r25969 53 53 } DRVMAINMOUSE, *PDRVMAINMOUSE; 54 54 55 /** Converts PDMIMOUSECONNECTOR pointer to a DRVMAINMOUSE pointer. */56 #define PDMIMOUSECONNECTOR_2_MAINMOUSE(pInterface) ( (PDRVMAINMOUSE) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINMOUSE, Connector)) )57 55 58 56 // IMouse methods … … 186 184 if (RTUuidCompare2Strs(pszIID, PDMIBASE_IID) == 0) 187 185 return &pDrvIns->IBase; 188 if (RTUuidCompare2Strs(pszIID, PDMI NTERFACE_MOUSE_CONNECTOR) == 0)186 if (RTUuidCompare2Strs(pszIID, PDMIMOUSECONNECTOR_IID) == 0) 189 187 return &pDrv->Connector; 190 188 return NULL; … … 232 230 * Get the IMousePort interface of the above driver/device. 233 231 */ 234 pData->pUpPort = (PPDMIMOUSEPORT)pDrvIns->pUpBase->pfnQueryInterface(pDrvIns->pUpBase, PDMINTERFACE_MOUSE_PORT);232 pData->pUpPort = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIMOUSEPORT); 235 233 if (!pData->pUpPort) 236 234 {
Note:
See TracChangeset
for help on using the changeset viewer.