Changeset 42376 in vbox for trunk/src/VBox/Devices/Parallel
- Timestamp:
- Jul 25, 2012 8:22:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Parallel/DrvHostParallel.cpp
r42375 r42376 64 64 65 65 #if defined(VBOX_WITH_WIN_PARPORT_SUP) && defined(IN_RING3) 66 # include <Windows.h> 67 # include <setupapi.h> 68 # include <cfgmgr32.h> 66 69 # include <iprt/mem.h> 67 70 # include <iprt/string.h> … … 354 357 if ((cmRet = CM_Get_Res_Des_Data_Size((PULONG)(&u32Size), nextLogConf, 0L)) != CR_SUCCESS 355 358 && !(pBuf = (uint8_t *)RTMemAlloc(u32Size + 1)) 356 && (cmRet = CM_Get_Res_Des_Data(nextLogConf, pBuf, u32Size, 0L)) != CR_SUC ESS359 && (cmRet = CM_Get_Res_Des_Data(nextLogConf, pBuf, u32Size, 0L)) != CR_SUCCESS 357 360 ) 358 361 { 359 362 CM_Free_Res_Des_Handle(nextLogConf); 360 363 if (pBuf) 361 R tMemFree(pBuf);364 RTMemFree(pBuf); 362 365 break; 363 366
Note:
See TracChangeset
for help on using the changeset viewer.