VirtualBox

Changeset 62592 in vbox for trunk/src/VBox


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

IPRT: More unused parameters and undefined preprocessor macor warning (C4668) fixes/workarounds. The latter triggers in stdint.h from the compiler and in windows SDK/DDK headers.

Location:
trunk/src/VBox/Runtime
Files:
66 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/VBox/log-vbox.cpp

    r62477 r62592  
    129129#ifdef IN_RING3
    130130# if defined(RT_OS_WINDOWS)
    131 #  include <Windows.h>
     131#  include <iprt/win/windows.h>
    132132# elif defined(RT_OS_LINUX)
    133133#  include <unistd.h>
  • trunk/src/VBox/Runtime/common/asn1/oiddb2c.cpp

    r59761 r62592  
    393393     * see the description attribute.
    394394     */
    395     unsigned    cOidComponents;
     395    unsigned    cOidComponents = 0;
    396396    uint32_t    auOidComponents[16];
    397397    unsigned    iLineNo = 0;
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddbghelp.cpp

    r62584 r62592  
    4343#include "internal/dbgmod.h"
    4444
    45 #include <Windows.h>
     45#include <iprt/win/windows.h>
    4646#include <Dbghelp.h>
    4747#include <iprt/win/lazy-dbghelp.h>
     
    117117{
    118118    RTDBGMOD hCnt = (RTDBGMOD)pMod->pvDbgPriv;
    119     Assert(!pszSymbol[cchSymbol]);
     119    Assert(!pszSymbol[cchSymbol]); RT_NOREF_PV(cchSymbol);
    120120    return RTDbgModSymbolByName(hCnt, pszSymbol/*, cchSymbol*/, pSymInfo);
    121121}
  • trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp

    r62584 r62592  
    4444
    4545#if defined(RT_OS_WINDOWS)
    46 # include <Windows.h>
     46# include <iprt/win/windows.h>
    4747# include "../../r3/win/internal-r3-win.h"
    4848
  • trunk/src/VBox/Runtime/generic/RTDirQueryInfo-generic.cpp

    r62477 r62592  
    3131#define LOG_GROUP RTLOGGROUP_DIR
    3232#ifdef RT_OS_WINDOWS /* dir.h has host specific stuff */
    33 # include <Windows.h>
     33# include <iprt/win/windows.h>
    3434#else
    3535# include <dirent.h>
  • trunk/src/VBox/Runtime/generic/RTDirSetTimes-generic.cpp

    r62477 r62592  
    3131#define LOG_GROUP RTLOGGROUP_DIR
    3232#ifdef RT_OS_WINDOWS /* dir.h has host specific stuff */
    33 # include <Windows.h>
     33# include <iprt/win/windows.h>
    3434#else
    3535# include <dirent.h>
  • trunk/src/VBox/Runtime/generic/semrw-generic.cpp

    r62477 r62592  
    159159                        }
    160160                        RTLockValidatorRecMakeSiblings(&pThis->ValidatorWrite.Core, &pThis->ValidatorRead.Core);
     161#else
     162                        RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt);
    161163#endif
    162164                        *phRWSem = pThis;
     
    257259    return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorWrite, uSubClass);
    258260#else
     261    RT_NOREF_PV(hRWSem); RT_NOREF_PV(uSubClass);
    259262    return RTLOCKVAL_SUB_CLASS_INVALID;
    260263#endif
     
    374377#else
    375378        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_RW_READ, false);
     379        RT_NOREF_PV(pSrcPos);
    376380#endif
    377381        int rcWait;
     
    663667#else
    664668        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_RW_WRITE, false);
     669        RT_NOREF_PV(pSrcPos);
    665670#endif
    666671        int rcWait;
  • trunk/src/VBox/Runtime/r0drv/alloc-ef-r0drv.cpp

    r62477 r62592  
    117117*********************************************************************************************************************************/
    118118#ifdef RT_OS_WINDOWS
    119 # include <Windows.h>
     119# include <iprt/win/windows.h>
    120120#elif !defined(RT_OS_FREEBSD)
    121121# include <sys/mman.h>
  • trunk/src/VBox/Runtime/r0drv/nt/ntBldSymDb.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232#include <Dbghelp.h>
    3333
  • trunk/src/VBox/Runtime/r3/alloc-ef.h

    r62477 r62592  
    134134*******************************************************************************/
    135135#ifdef RT_OS_WINDOWS
    136 # include <Windows.h>
     136# include <iprt/win/windows.h>
    137137#else
    138138# include <sys/mman.h>
  • trunk/src/VBox/Runtime/r3/init.cpp

    r62564 r62592  
    3434#ifdef RT_OS_WINDOWS
    3535# include <process.h>
    36 # include <Windows.h>
     36# include <iprt/win/windows.h>
    3737#else
    3838# include <unistd.h>
  • trunk/src/VBox/Runtime/r3/nt/direnum-r3-nt.cpp

    r62477 r62592  
    196196                     VERR_IO_GEN_FAILURE);
    197197    }
     198#else
     199    RT_NOREF_PV(pThis);
    198200#endif
    199201
  • trunk/src/VBox/Runtime/r3/poll.cpp

    r62584 r62592  
    3131#include <iprt/cdefs.h>
    3232#ifdef RT_OS_WINDOWS
    33 # include <Windows.h>
     33# include <iprt/win/windows.h>
    3434
    3535#elif defined(RT_OS_OS2)
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r62584 r62592  
    3030*********************************************************************************************************************************/
    3131#ifdef RT_OS_WINDOWS
    32 # include <winsock2.h>
     32# include <iprt/win/winsock2.h>
    3333# include <ws2tcpip.h>
    3434#else /* !RT_OS_WINDOWS */
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r62477 r62592  
    5959#endif
    6060#ifdef RT_OS_WINDOWS
    61 # include <Windows.h>
     61# include <iprt/win/windows.h>
    6262#endif
    6363#ifndef RT_OS_WINDOWS
  • trunk/src/VBox/Runtime/r3/tcp.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#ifdef RT_OS_WINDOWS
    32 # include <winsock2.h>
     32# include <iprt/win/winsock2.h>
    3333#else
    3434# include <sys/types.h>
  • trunk/src/VBox/Runtime/r3/udp.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#ifdef RT_OS_WINDOWS
    32 # include <winsock2.h>
     32# include <iprt/win/winsock2.h>
    3333#else
    3434# include <sys/types.h>
  • trunk/src/VBox/Runtime/r3/win/RTCrStoreCreateSnapshotById-win.cpp

    r62477 r62592  
    3737#include <iprt/ldr.h>
    3838
    39 #include <Windows.h>
     39#include <iprt/win/windows.h>
    4040
    4141
  • trunk/src/VBox/Runtime/r3/win/RTHandleGetStandard-win.cpp

    r62477 r62592  
    3838#include <iprt/log.h>
    3939
    40 #include <Windows.h>
     40#include <iprt/win/windows.h>
    4141
    4242#include "internal/socket.h"            /* (Needs Windows.h.) */
  • trunk/src/VBox/Runtime/r3/win/RTLogWriteDebugger-win.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232
    3333#include <iprt/log.h>
  • trunk/src/VBox/Runtime/r3/win/RTSystemQueryDmiString-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define _WIN32_DCOM
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333#include <WbemCli.h>
    3434
  • trunk/src/VBox/Runtime/r3/win/RTSystemQueryOSInfo-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#include "internal/iprt.h"
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333#include <WinUser.h>
    3434
  • trunk/src/VBox/Runtime/r3/win/RTSystemQueryTotalRam-win.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <windows.h>
     31#include <iprt/win/windows.h>
    3232#include <iprt/system.h>
    3333#include "internal/iprt.h"
  • trunk/src/VBox/Runtime/r3/win/RTSystemShutdown-win.cpp

    r62477 r62592  
    3636#include <iprt/string.h>
    3737
    38 #include <Windows.h>
     38#include <iprt/win/windows.h>
    3939
    4040
  • trunk/src/VBox/Runtime/r3/win/RTUuidCreate-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_UUID
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/uuid.h>
  • trunk/src/VBox/Runtime/r3/win/alloc-win.cpp

    r62584 r62592  
    3131/*#define USE_VIRTUAL_ALLOC*/
    3232#define LOG_GROUP RTLOGGROUP_MEM
    33 #include <Windows.h>
     33#include <iprt/win/windows.h>
    3434
    3535#include <iprt/alloc.h>
  • trunk/src/VBox/Runtime/r3/win/allocex-win.cpp

    r62584 r62592  
    3838#include "../allocex.h"
    3939
    40 #include <Windows.h>
     40#include <iprt/win/windows.h>
    4141
    4242
  • trunk/src/VBox/Runtime/r3/win/dir-win.cpp

    r62584 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_DIR
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/dir.h>
  • trunk/src/VBox/Runtime/r3/win/direnum-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_DIR
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/dir.h>
  • trunk/src/VBox/Runtime/r3/win/dllmain-win.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232#include <iprt/thread.h>
    3333#include <iprt/param.h>
  • trunk/src/VBox/Runtime/r3/win/errvars-win.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Winsock2.h>
     31#include <iprt/win/winsock2.h>
    3232#include <errno.h>
    3333
  • trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp

    r62477 r62592  
    4040#include "internal/fileaio.h"
    4141
    42 #include <Windows.h>
     42#include <iprt/win/windows.h>
    4343
    4444
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r62584 r62592  
    3333# define _WIN32_WINNT 0x0500
    3434#endif
    35 #include <Windows.h>
     35#include <iprt/win/windows.h>
    3636
    3737#include <iprt/file.h>
  • trunk/src/VBox/Runtime/r3/win/fs-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_FS
    32 #include <windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/fs.h>
  • trunk/src/VBox/Runtime/r3/win/init-win.cpp

    r62584 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_DEFAULT
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333#ifndef LOAD_LIBRARY_SEARCH_APPLICATION_DIR
    3434# define LOAD_LIBRARY_SEARCH_APPLICATION_DIR    0x200
  • trunk/src/VBox/Runtime/r3/win/localipc-win.cpp

    r62584 r62592  
    4242#endif
    4343#define UNICODE    /* For the SDDL_ strings. */
    44 #include <Windows.h>
     44#include <iprt/win/windows.h>
    4545#include <sddl.h>
    4646
  • trunk/src/VBox/Runtime/r3/win/mp-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SYSTEM
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/mp.h>
  • trunk/src/VBox/Runtime/r3/win/path-win.cpp

    r62584 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_PATH
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333#include <Shlobj.h>
    3434
  • trunk/src/VBox/Runtime/r3/win/pipe-win.cpp

    r62584 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232
    3333#include <iprt/pipe.h>
  • trunk/src/VBox/Runtime/r3/win/rtFileNativeSetAttributes-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131/* APIs used here require DDK headers. */
     32#pragma warning(disable: 4668)
    3233#include <wdm.h>
     34#pragma warning(default: 4668)
    3335
    3436/* Declare ntdll exports. */
  • trunk/src/VBox/Runtime/r3/win/rtProcInitExePath-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_PROCESS
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/string.h>
  • trunk/src/VBox/Runtime/r3/win/sched-win.cpp

    r62477 r62592  
    3434*********************************************************************************************************************************/
    3535#define LOG_GROUP RTLOGGROUP_THREAD
    36 #include <Windows.h>
     36#include <iprt/win/windows.h>
    3737
    3838#include <iprt/thread.h>
     
    259259DECLHIDDEN(int) rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType)
    260260{
    261     Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END);
     261    Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END); RT_NOREF_PV(enmType);
    262262    return VINF_SUCCESS;
    263263}
     
    275275DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    276276{
    277     Assert(enmPriority > RTPROCPRIORITY_INVALID && enmPriority < RTPROCPRIORITY_LAST);
     277    Assert(enmPriority > RTPROCPRIORITY_INVALID && enmPriority < RTPROCPRIORITY_LAST); RT_NOREF_PV(enmPriority);
    278278    return VINF_SUCCESS;
    279279}
  • trunk/src/VBox/Runtime/r3/win/semevent-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SEMAPHORE
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/semaphore.h>
     
    113113        }
    114114        pThis->fEverHadSignallers = false;
     115#else
     116        RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt);
    115117#endif
    116118
     
    211213
    212214            AssertMsgFailed(("WaitForSingleObject(event) -> rc=%d while converted lasterr=%d\n", rc, rc2));
     215            RT_NOREF_PV(pThis);
    213216            return VERR_INTERNAL_ERROR;
    214217        }
     
    267270    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    268271    RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL);
     272#else
     273    RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread);
    269274#endif
    270275}
     
    280285    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    281286    RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL);
     287#else
     288    RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread);
    282289#endif
    283290}
     
    292299
    293300    RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread);
    294 #endif
    295 }
    296 
     301#else
     302    RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread);
     303#endif
     304}
     305
  • trunk/src/VBox/Runtime/r3/win/semeventmulti-win.cpp

    r62477 r62592  
    3333*********************************************************************************************************************************/
    3434#define LOG_GROUP RTLOGGROUP_SEMAPHORE
    35 #include <Windows.h>
     35#include <iprt/win/windows.h>
    3636
    3737#include <iprt/semaphore.h>
     
    109109        }
    110110        pThis->fEverHadSignallers = false;
     111#else
     112        RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt);
    111113#endif
    112114
     
    222224
    223225            AssertMsgFailed(("WaitForSingleObject(event) -> rc=%d while converted lasterr=%d\n", rc, rc2));
     226            RT_NOREF_PV(pThis);
    224227            return VERR_INTERNAL_ERROR;
    225228        }
     
    294297#else
    295298    RTTHREAD hThreadSelf = RTThreadSelf();
     299    RT_NOREF_PV(pSrcPos);
    296300#endif
    297301    RTThreadBlocking(hThreadSelf, RTTHREADSTATE_EVENT_MULTI, true);
     
    340344    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    341345    RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL);
     346#else
     347    RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread);
    342348#endif
    343349}
     
    353359    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    354360    RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL);
     361#else
     362    RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread);
    355363#endif
    356364}
     
    365373
    366374    RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread);
    367 #endif
    368 }
    369 
     375#else
     376    RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread);
     377#endif
     378}
     379
  • trunk/src/VBox/Runtime/r3/win/semmutex-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SEMAPHORE
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/semaphore.h>
     
    109109                va_end(va);
    110110            }
     111#else
     112            RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt);
    111113#endif
    112114            *phMutexSem = pThis;
     
    167169    return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass);
    168170#else
     171    RT_NOREF_PV(hMutexSem); RT_NOREF_PV(uSubClass);
    169172    return RTLOCKVAL_SUB_CLASS_INVALID;
    170173#endif
     
    221224        hThreadSelf = RTThreadSelf();
    222225        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_MUTEX, true);
     226        RT_NOREF_PV(pSrcPos);
    223227#endif
    224228    }
  • trunk/src/VBox/Runtime/r3/win/symlink-win.cpp

    r62584 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SYMLINK
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/symlink.h>
  • trunk/src/VBox/Runtime/r3/win/thread-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_THREAD
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <errno.h>
  • trunk/src/VBox/Runtime/r3/win/thread2-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_THREAD
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/thread.h>
  • trunk/src/VBox/Runtime/r3/win/time-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_TIME
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/time.h>
  • trunk/src/VBox/Runtime/r3/win/time2-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_TIME
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/time.h>
  • trunk/src/VBox/Runtime/r3/win/timer-win.cpp

    r62477 r62592  
    5656#define LOG_GROUP RTLOGGROUP_TIMER
    5757#define _WIN32_WINNT 0x0500
    58 #include <Windows.h>
     58#include <iprt/win/windows.h>
    5959
    6060#include <iprt/timer.h>
  • trunk/src/VBox/Runtime/r3/win/tls-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_THREAD
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/thread.h>
  • trunk/src/VBox/Runtime/r3/win/utf16locale-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_UTF16
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/string.h>
  • trunk/src/VBox/Runtime/r3/win/utf8-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_UTF8
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/string.h>
  • trunk/src/VBox/Runtime/r3/win/uuid-win.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_UUID
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333
    3434#include <iprt/uuid.h>
  • trunk/src/VBox/Runtime/r3/win/vcc100-kernel32-fakes.cpp

    r62477 r62592  
    5454#define VerSetConditionMask                     Ignore_VerSetConditionMask
    5555
    56 #include <Windows.h>
     56#include <iprt/win/windows.h>
    5757
    5858#undef DecodePointer
  • trunk/src/VBox/Runtime/r3/win/vcc100-ntdll-fakes.cpp

    r62477 r62592  
    3636#endif
    3737
    38 #include <Windows.h>
     38#include <iprt/win/windows.h>
    3939
    4040
  • trunk/src/VBox/Runtime/r3/win/vcc100-ws2_32-fakes.cpp

    r62477 r62592  
    4141#define freeaddrinfo                            Ignore_freeaddrinfo
    4242
    43 #include <winsock2.h>
     43#include <iprt/win/winsock2.h>
    4444#include <ws2tcpip.h>
    4545
  • trunk/src/VBox/Runtime/testcase/ntGetTimerResolution.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#define _WIN32_WINNT 0x0500
    32 #include <Windows.h>
     32#include <iprt/win/windows.h>
    3333#include <stdio.h>
    3434
  • trunk/src/VBox/Runtime/testcase/tstFileAppendWin-1.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232#include <stdio.h>
    3333#include <string.h>
  • trunk/src/VBox/Runtime/testcase/tstRTCritSect.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#ifdef TRY_WIN32_CRIT
    32 # include <Windows.h>
     32# include <iprt/win/windows.h>
    3333#endif
    3434#define RTCRITSECT_WITHOUT_REMAPPING
  • trunk/src/VBox/Runtime/testcase/tstRTProcCreateEx.cpp

    r62477 r62592  
    4646#ifdef RT_OS_WINDOWS
    4747# define SECURITY_WIN32
    48 # include <windows.h>
     48# include <iprt/win/windows.h>
    4949# include <Security.h>
    5050#endif
  • trunk/src/VBox/Runtime/testcase/tstTime-3.cpp

    r62477 r62592  
    3030*********************************************************************************************************************************/
    3131#ifdef RT_OS_WINDOWS
    32 # include <Windows.h>
     32# include <iprt/win/windows.h>
    3333
    3434#else /* posix */
  • trunk/src/VBox/Runtime/tools/RTNtDbgHelp.cpp

    r62477 r62592  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232#include <Dbghelp.h>
    3333
  • trunk/src/VBox/Runtime/win/RTErrConvertFromWin32.cpp

    r59545 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232
    3333#include <iprt/err.h>
  • trunk/src/VBox/Runtime/win/errmsgwin.cpp

    r62477 r62592  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
    31 #include <Windows.h>
     31#include <iprt/win/windows.h>
    3232
    3333#include <iprt/err.h>
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