Changeset 62592 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jul 27, 2016 1:24:48 PM (8 years ago)
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/alloc-ef.h
r62477 r62592 134 134 *******************************************************************************/ 135 135 #ifdef RT_OS_WINDOWS 136 # include < Windows.h>136 # include <iprt/win/windows.h> 137 137 #else 138 138 # include <sys/mman.h> -
trunk/src/VBox/Runtime/r3/init.cpp
r62564 r62592 34 34 #ifdef RT_OS_WINDOWS 35 35 # include <process.h> 36 # include < Windows.h>36 # include <iprt/win/windows.h> 37 37 #else 38 38 # include <unistd.h> -
trunk/src/VBox/Runtime/r3/nt/direnum-r3-nt.cpp
r62477 r62592 196 196 VERR_IO_GEN_FAILURE); 197 197 } 198 #else 199 RT_NOREF_PV(pThis); 198 200 #endif 199 201 -
trunk/src/VBox/Runtime/r3/poll.cpp
r62584 r62592 31 31 #include <iprt/cdefs.h> 32 32 #ifdef RT_OS_WINDOWS 33 # include < Windows.h>33 # include <iprt/win/windows.h> 34 34 35 35 #elif defined(RT_OS_OS2) -
trunk/src/VBox/Runtime/r3/socket.cpp
r62584 r62592 30 30 *********************************************************************************************************************************/ 31 31 #ifdef RT_OS_WINDOWS 32 # include < winsock2.h>32 # include <iprt/win/winsock2.h> 33 33 # include <ws2tcpip.h> 34 34 #else /* !RT_OS_WINDOWS */ -
trunk/src/VBox/Runtime/r3/stream.cpp
r62477 r62592 59 59 #endif 60 60 #ifdef RT_OS_WINDOWS 61 # include < Windows.h>61 # include <iprt/win/windows.h> 62 62 #endif 63 63 #ifndef RT_OS_WINDOWS -
trunk/src/VBox/Runtime/r3/tcp.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #ifdef RT_OS_WINDOWS 32 # include < winsock2.h>32 # include <iprt/win/winsock2.h> 33 33 #else 34 34 # include <sys/types.h> -
trunk/src/VBox/Runtime/r3/udp.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #ifdef RT_OS_WINDOWS 32 # include < winsock2.h>32 # include <iprt/win/winsock2.h> 33 33 #else 34 34 # include <sys/types.h> -
trunk/src/VBox/Runtime/r3/win/RTCrStoreCreateSnapshotById-win.cpp
r62477 r62592 37 37 #include <iprt/ldr.h> 38 38 39 #include < Windows.h>39 #include <iprt/win/windows.h> 40 40 41 41 -
trunk/src/VBox/Runtime/r3/win/RTHandleGetStandard-win.cpp
r62477 r62592 38 38 #include <iprt/log.h> 39 39 40 #include < Windows.h>40 #include <iprt/win/windows.h> 41 41 42 42 #include "internal/socket.h" /* (Needs Windows.h.) */ -
trunk/src/VBox/Runtime/r3/win/RTLogWriteDebugger-win.cpp
r62477 r62592 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #include < Windows.h>31 #include <iprt/win/windows.h> 32 32 33 33 #include <iprt/log.h> -
trunk/src/VBox/Runtime/r3/win/RTSystemQueryDmiString-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define _WIN32_DCOM 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 #include <WbemCli.h> 34 34 -
trunk/src/VBox/Runtime/r3/win/RTSystemQueryOSInfo-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #include "internal/iprt.h" 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 #include <WinUser.h> 34 34 -
trunk/src/VBox/Runtime/r3/win/RTSystemQueryTotalRam-win.cpp
r62477 r62592 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #include < windows.h>31 #include <iprt/win/windows.h> 32 32 #include <iprt/system.h> 33 33 #include "internal/iprt.h" -
trunk/src/VBox/Runtime/r3/win/RTSystemShutdown-win.cpp
r62477 r62592 36 36 #include <iprt/string.h> 37 37 38 #include < Windows.h>38 #include <iprt/win/windows.h> 39 39 40 40 -
trunk/src/VBox/Runtime/r3/win/RTUuidCreate-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_UUID 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/uuid.h> -
trunk/src/VBox/Runtime/r3/win/alloc-win.cpp
r62584 r62592 31 31 /*#define USE_VIRTUAL_ALLOC*/ 32 32 #define LOG_GROUP RTLOGGROUP_MEM 33 #include < Windows.h>33 #include <iprt/win/windows.h> 34 34 35 35 #include <iprt/alloc.h> -
trunk/src/VBox/Runtime/r3/win/allocex-win.cpp
r62584 r62592 38 38 #include "../allocex.h" 39 39 40 #include < Windows.h>40 #include <iprt/win/windows.h> 41 41 42 42 -
trunk/src/VBox/Runtime/r3/win/dir-win.cpp
r62584 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_DIR 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/dir.h> -
trunk/src/VBox/Runtime/r3/win/direnum-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_DIR 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/dir.h> -
trunk/src/VBox/Runtime/r3/win/dllmain-win.cpp
r62477 r62592 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #include < Windows.h>31 #include <iprt/win/windows.h> 32 32 #include <iprt/thread.h> 33 33 #include <iprt/param.h> -
trunk/src/VBox/Runtime/r3/win/errvars-win.cpp
r62477 r62592 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #include < Winsock2.h>31 #include <iprt/win/winsock2.h> 32 32 #include <errno.h> 33 33 -
trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp
r62477 r62592 40 40 #include "internal/fileaio.h" 41 41 42 #include < Windows.h>42 #include <iprt/win/windows.h> 43 43 44 44 -
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r62584 r62592 33 33 # define _WIN32_WINNT 0x0500 34 34 #endif 35 #include < Windows.h>35 #include <iprt/win/windows.h> 36 36 37 37 #include <iprt/file.h> -
trunk/src/VBox/Runtime/r3/win/fs-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_FS 32 #include < windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/fs.h> -
trunk/src/VBox/Runtime/r3/win/init-win.cpp
r62584 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_DEFAULT 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 #ifndef LOAD_LIBRARY_SEARCH_APPLICATION_DIR 34 34 # define LOAD_LIBRARY_SEARCH_APPLICATION_DIR 0x200 -
trunk/src/VBox/Runtime/r3/win/localipc-win.cpp
r62584 r62592 42 42 #endif 43 43 #define UNICODE /* For the SDDL_ strings. */ 44 #include < Windows.h>44 #include <iprt/win/windows.h> 45 45 #include <sddl.h> 46 46 -
trunk/src/VBox/Runtime/r3/win/mp-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_SYSTEM 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/mp.h> -
trunk/src/VBox/Runtime/r3/win/path-win.cpp
r62584 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_PATH 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 #include <Shlobj.h> 34 34 -
trunk/src/VBox/Runtime/r3/win/pipe-win.cpp
r62584 r62592 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #include < Windows.h>31 #include <iprt/win/windows.h> 32 32 33 33 #include <iprt/pipe.h> -
trunk/src/VBox/Runtime/r3/win/rtFileNativeSetAttributes-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 /* APIs used here require DDK headers. */ 32 #pragma warning(disable: 4668) 32 33 #include <wdm.h> 34 #pragma warning(default: 4668) 33 35 34 36 /* Declare ntdll exports. */ -
trunk/src/VBox/Runtime/r3/win/rtProcInitExePath-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_PROCESS 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/string.h> -
trunk/src/VBox/Runtime/r3/win/sched-win.cpp
r62477 r62592 34 34 *********************************************************************************************************************************/ 35 35 #define LOG_GROUP RTLOGGROUP_THREAD 36 #include < Windows.h>36 #include <iprt/win/windows.h> 37 37 38 38 #include <iprt/thread.h> … … 259 259 DECLHIDDEN(int) rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType) 260 260 { 261 Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END); 261 Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END); RT_NOREF_PV(enmType); 262 262 return VINF_SUCCESS; 263 263 } … … 275 275 DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority) 276 276 { 277 Assert(enmPriority > RTPROCPRIORITY_INVALID && enmPriority < RTPROCPRIORITY_LAST); 277 Assert(enmPriority > RTPROCPRIORITY_INVALID && enmPriority < RTPROCPRIORITY_LAST); RT_NOREF_PV(enmPriority); 278 278 return VINF_SUCCESS; 279 279 } -
trunk/src/VBox/Runtime/r3/win/semevent-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_SEMAPHORE 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/semaphore.h> … … 113 113 } 114 114 pThis->fEverHadSignallers = false; 115 #else 116 RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt); 115 117 #endif 116 118 … … 211 213 212 214 AssertMsgFailed(("WaitForSingleObject(event) -> rc=%d while converted lasterr=%d\n", rc, rc2)); 215 RT_NOREF_PV(pThis); 213 216 return VERR_INTERNAL_ERROR; 214 217 } … … 267 270 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 268 271 RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL); 272 #else 273 RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread); 269 274 #endif 270 275 } … … 280 285 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 281 286 RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL); 287 #else 288 RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread); 282 289 #endif 283 290 } … … 292 299 293 300 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 33 33 *********************************************************************************************************************************/ 34 34 #define LOG_GROUP RTLOGGROUP_SEMAPHORE 35 #include < Windows.h>35 #include <iprt/win/windows.h> 36 36 37 37 #include <iprt/semaphore.h> … … 109 109 } 110 110 pThis->fEverHadSignallers = false; 111 #else 112 RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt); 111 113 #endif 112 114 … … 222 224 223 225 AssertMsgFailed(("WaitForSingleObject(event) -> rc=%d while converted lasterr=%d\n", rc, rc2)); 226 RT_NOREF_PV(pThis); 224 227 return VERR_INTERNAL_ERROR; 225 228 } … … 294 297 #else 295 298 RTTHREAD hThreadSelf = RTThreadSelf(); 299 RT_NOREF_PV(pSrcPos); 296 300 #endif 297 301 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_EVENT_MULTI, true); … … 340 344 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 341 345 RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL); 346 #else 347 RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread); 342 348 #endif 343 349 } … … 353 359 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 354 360 RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL); 361 #else 362 RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread); 355 363 #endif 356 364 } … … 365 373 366 374 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 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_SEMAPHORE 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/semaphore.h> … … 109 109 va_end(va); 110 110 } 111 #else 112 RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt); 111 113 #endif 112 114 *phMutexSem = pThis; … … 167 169 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass); 168 170 #else 171 RT_NOREF_PV(hMutexSem); RT_NOREF_PV(uSubClass); 169 172 return RTLOCKVAL_SUB_CLASS_INVALID; 170 173 #endif … … 221 224 hThreadSelf = RTThreadSelf(); 222 225 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_MUTEX, true); 226 RT_NOREF_PV(pSrcPos); 223 227 #endif 224 228 } -
trunk/src/VBox/Runtime/r3/win/symlink-win.cpp
r62584 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_SYMLINK 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/symlink.h> -
trunk/src/VBox/Runtime/r3/win/thread-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_THREAD 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <errno.h> -
trunk/src/VBox/Runtime/r3/win/thread2-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_THREAD 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/thread.h> -
trunk/src/VBox/Runtime/r3/win/time-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_TIME 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/time.h> -
trunk/src/VBox/Runtime/r3/win/time2-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_TIME 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/time.h> -
trunk/src/VBox/Runtime/r3/win/timer-win.cpp
r62477 r62592 56 56 #define LOG_GROUP RTLOGGROUP_TIMER 57 57 #define _WIN32_WINNT 0x0500 58 #include < Windows.h>58 #include <iprt/win/windows.h> 59 59 60 60 #include <iprt/timer.h> -
trunk/src/VBox/Runtime/r3/win/tls-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_THREAD 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/thread.h> -
trunk/src/VBox/Runtime/r3/win/utf16locale-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_UTF16 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/string.h> -
trunk/src/VBox/Runtime/r3/win/utf8-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_UTF8 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/string.h> -
trunk/src/VBox/Runtime/r3/win/uuid-win.cpp
r62477 r62592 30 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_UUID 32 #include < Windows.h>32 #include <iprt/win/windows.h> 33 33 34 34 #include <iprt/uuid.h> -
trunk/src/VBox/Runtime/r3/win/vcc100-kernel32-fakes.cpp
r62477 r62592 54 54 #define VerSetConditionMask Ignore_VerSetConditionMask 55 55 56 #include < Windows.h>56 #include <iprt/win/windows.h> 57 57 58 58 #undef DecodePointer -
trunk/src/VBox/Runtime/r3/win/vcc100-ntdll-fakes.cpp
r62477 r62592 36 36 #endif 37 37 38 #include < Windows.h>38 #include <iprt/win/windows.h> 39 39 40 40 -
trunk/src/VBox/Runtime/r3/win/vcc100-ws2_32-fakes.cpp
r62477 r62592 41 41 #define freeaddrinfo Ignore_freeaddrinfo 42 42 43 #include < winsock2.h>43 #include <iprt/win/winsock2.h> 44 44 #include <ws2tcpip.h> 45 45
Note:
See TracChangeset
for help on using the changeset viewer.