Changeset 26173 in vbox for trunk/src/VBox/Frontends/VBoxBFE
- Timestamp:
- Feb 2, 2010 9:11:09 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp
r26166 r26173 1167 1167 * @copydoc FNPDMDRVCONSTRUCT 1168 1168 */ 1169 DECLCALLBACK(int) VMDisplay::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags)1169 DECLCALLBACK(int) VMDisplay::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 1170 1170 { 1171 1171 PDRVMAINDISPLAY pData = PDMINS_2_DATA(pDrvIns, PDRVMAINDISPLAY); … … 1176 1176 * Validate configuration. 1177 1177 */ 1178 if (!CFGMR3AreValuesValid(pCfg Handle, "Object\0"))1178 if (!CFGMR3AreValuesValid(pCfg, "Object\0")) 1179 1179 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 1180 1180 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, … … 1209 1209 */ 1210 1210 void *pv; 1211 int rc = CFGMR3QueryPtr(pCfg Handle, "Object", &pv);1211 int rc = CFGMR3QueryPtr(pCfg, "Object", &pv); 1212 1212 if (RT_FAILURE(rc)) 1213 1213 { -
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.h
r25966 r26173 69 69 70 70 static DECLCALLBACK(void*) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID); 71 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags);71 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); 72 72 static DECLCALLBACK(int) displayResizeCallback(PPDMIDISPLAYCONNECTOR pInterface, uint32_t bpp, void *pvVRAM, uint32_t cbLine, uint32_t cx, uint32_t cy); 73 73 static DECLCALLBACK(void) displayUpdateCallback(PPDMIDISPLAYCONNECTOR pInterface, -
trunk/src/VBox/Frontends/VBoxBFE/KeyboardImpl.cpp
r26166 r26173 202 202 * @copydoc FNPDMDRVCONSTRUCT 203 203 */ 204 DECLCALLBACK(int) Keyboard::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags)204 DECLCALLBACK(int) Keyboard::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 205 205 { 206 206 PDRVMAINKEYBOARD pData = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD); … … 210 210 * Validate configuration. 211 211 */ 212 if (!CFGMR3AreValuesValid(pCfg Handle, "Object\0"))212 if (!CFGMR3AreValuesValid(pCfg, "Object\0")) 213 213 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 214 214 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, … … 237 237 */ 238 238 void *pv; 239 int rc = CFGMR3QueryPtr(pCfg Handle, "Object", &pv);239 int rc = CFGMR3QueryPtr(pCfg, "Object", &pv); 240 240 if (RT_FAILURE(rc)) 241 241 { -
trunk/src/VBox/Frontends/VBoxBFE/KeyboardImpl.h
r25966 r26173 57 57 58 58 static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID); 59 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags);59 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); 60 60 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns); 61 61 -
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp
r26166 r26173 208 208 * @copydoc FNPDMDRVCONSTRUCT 209 209 */ 210 DECLCALLBACK(int) Mouse::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags)210 DECLCALLBACK(int) Mouse::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 211 211 { 212 212 PDRVMAINMOUSE pData = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE); … … 216 216 * Validate configuration. 217 217 */ 218 if (!CFGMR3AreValuesValid(pCfg Handle, "Object\0"))218 if (!CFGMR3AreValuesValid(pCfg, "Object\0")) 219 219 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 220 220 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, … … 241 241 */ 242 242 void *pv; 243 int rc = CFGMR3QueryPtr(pCfg Handle, "Object", &pv);243 int rc = CFGMR3QueryPtr(pCfg, "Object", &pv); 244 244 if (RT_FAILURE(rc)) 245 245 { -
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.h
r25966 r26173 69 69 70 70 static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID); 71 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags);71 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); 72 72 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns); 73 73 -
trunk/src/VBox/Frontends/VBoxBFE/StatusImpl.cpp
r26166 r26173 122 122 * @copydoc FNPDMDRVCONSTRUCT 123 123 */ 124 DECLCALLBACK(int) VMStatus::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags)124 DECLCALLBACK(int) VMStatus::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 125 125 { 126 126 PDRVMAINSTATUS pData = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS); … … 130 130 * Validate configuration. 131 131 */ 132 if (!CFGMR3AreValuesValid(pCfg Handle, "papLeds\0First\0Last\0"))132 if (!CFGMR3AreValuesValid(pCfg, "papLeds\0First\0Last\0")) 133 133 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 134 134 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, … … 145 145 * Read config. 146 146 */ 147 int rc = CFGMR3QueryPtr(pCfg Handle, "papLeds", (void **)&pData->papLeds);147 int rc = CFGMR3QueryPtr(pCfg, "papLeds", (void **)&pData->papLeds); 148 148 if (RT_FAILURE(rc)) 149 149 { … … 152 152 } 153 153 154 rc = CFGMR3QueryU32(pCfg Handle, "First", &pData->iFirstLUN);154 rc = CFGMR3QueryU32(pCfg, "First", &pData->iFirstLUN); 155 155 if (rc == VERR_CFGM_VALUE_NOT_FOUND) 156 156 pData->iFirstLUN = 0; … … 161 161 } 162 162 163 rc = CFGMR3QueryU32(pCfg Handle, "Last", &pData->iLastLUN);163 rc = CFGMR3QueryU32(pCfg, "Last", &pData->iLastLUN); 164 164 if (rc == VERR_CFGM_VALUE_NOT_FOUND) 165 165 pData->iLastLUN = 0; -
trunk/src/VBox/Frontends/VBoxBFE/StatusImpl.h
r25966 r26173 36 36 static DECLCALLBACK(void) drvUnitChanged(PPDMILEDCONNECTORS pInterface, unsigned iLUN); 37 37 static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID); 38 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags);38 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); 39 39 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns); 40 40 }; -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r26166 r26173 378 378 * @copydoc FNPDMDRVCONSTRUCT 379 379 */ 380 DECLCALLBACK(int) VMMDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags)380 DECLCALLBACK(int) VMMDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 381 381 { 382 382 PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); … … 386 386 * Validate configuration. 387 387 */ 388 if (!CFGMR3AreValuesValid(pCfg Handle, "Object\0"))388 if (!CFGMR3AreValuesValid(pCfg, "Object\0")) 389 389 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 390 390 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, … … 435 435 */ 436 436 void *pv; 437 int rc = CFGMR3QueryPtr(pCfg Handle, "Object", &pv);437 int rc = CFGMR3QueryPtr(pCfg, "Object", &pv); 438 438 if (RT_FAILURE(rc)) 439 439 { -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.h
r25966 r26173 64 64 65 65 static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID); 66 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags);66 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); 67 67 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns); 68 68 };
Note:
See TracChangeset
for help on using the changeset viewer.