VirtualBox

Changeset 62686 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Jul 29, 2016 1:25:48 PM (8 years ago)
Author:
vboxsync
Message:

Use the iprt/win/setupapi.h wrapper for setupapi.h to deal with preprocessor warnings.

Location:
trunk/src/VBox/HostDrivers
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBInstall.cpp

    r62679 r62686  
    2121*********************************************************************************************************************************/
    2222#include <iprt/win/windows.h>
    23 #include <setupapi.h>
     23#include <iprt/win/setupapi.h>
    2424#include <newdev.h>
    2525#include <iprt/assert.h>
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBUninstall.cpp

    r62679 r62686  
    2121*********************************************************************************************************************************/
    2222#include <iprt/win/windows.h>
    23 #include <setupapi.h>
     23#include <iprt/win/setupapi.h>
    2424#include <newdev.h>
    2525
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp

    r62679 r62686  
    3939#include <stdio.h>
    4040#pragma warning (disable:4200) /* shuts up the empty array member warnings */
    41 #include <setupapi.h>
     41#include <iprt/win/setupapi.h>
    4242#include <usbdi.h>
    4343#include <hidsdi.h>
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/testcase/USBTest.cpp

    r62679 r62686  
    2121*********************************************************************************************************************************/
    2222#include <iprt/win/windows.h>
    23 #include <setupapi.h>
     23#include <iprt/win/setupapi.h>
    2424#include <newdev.h>
    2525#include <iprt/assert.h>
  • trunk/src/VBox/HostDrivers/win/cfg/VBoxDrvCfg.cpp

    r62491 r62686  
    2222#include <VBox/VBoxDrvCfg-win.h>
    2323
    24 #include <setupapi.h>
     24#include <iprt/win/setupapi.h>
    2525#include <shlobj.h>
    2626
     
    362362
    363363    LPWSTR lpszModels;
    364     LPWSTR lpszPnPId;
    365364    HRESULT hr = vboxDrvCfgInfQueryModelsSectionName(hInf, &lpszModels, NULL);
    366365    NonStandardLogRelCrap((__FUNCTION__ ": vboxDrvCfgInfQueryModelsSectionName returned lpszModels = (%S)", lpszModels));
     
    371370    }
    372371
     372    LPWSTR lpszPnPId = NULL;
    373373    INFCONTEXT InfCtx;
    374374    hr = vboxDrvCfgInfQueryContext(hInf, lpszModels, NULL, &InfCtx);
     
    454454{
    455455    DWORD dwErr = ERROR_SUCCESS;
    456     int counter = 0;
    457456    HDEVINFO hDevInfo = SetupDiCreateDeviceInfoList(
    458457                            pGuid, /* IN LPGUID ClassGuid, OPTIONAL */
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