VirtualBox

Changeset 42376 in vbox for trunk/src/VBox/Devices/Parallel


Ignore:
Timestamp:
Jul 25, 2012 8:22:05 AM (12 years ago)
Author:
vboxsync
Message:

Devices/Parallel: DrvHostParallel.cpp fixed compilation errors on Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Parallel/DrvHostParallel.cpp

    r42375 r42376  
    6464
    6565#if defined(VBOX_WITH_WIN_PARPORT_SUP) && defined(IN_RING3)
     66# include <Windows.h>
     67# include <setupapi.h>
     68# include <cfgmgr32.h>
    6669# include <iprt/mem.h>
    6770# include <iprt/string.h>
     
    354357        if ((cmRet = CM_Get_Res_Des_Data_Size((PULONG)(&u32Size), nextLogConf, 0L)) != CR_SUCCESS
    355358            &&  !(pBuf = (uint8_t *)RTMemAlloc(u32Size + 1))
    356             &&   (cmRet = CM_Get_Res_Des_Data(nextLogConf, pBuf, u32Size, 0L)) != CR_SUCESS
     359            &&   (cmRet = CM_Get_Res_Des_Data(nextLogConf, pBuf, u32Size, 0L)) != CR_SUCCESS
    357360            )
    358361        {
    359362            CM_Free_Res_Des_Handle(nextLogConf);
    360363            if (pBuf)
    361                 RtMemFree(pBuf);
     364                RTMemFree(pBuf);
    362365            break;
    363366
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette