[runtime] Overwrite stacktrace for exception on re-throw. Fixes #1856.
[mono.git] / mono / io-layer / wapi-remap.h
1 /*
2  * wapi-remap.h: io-layer symbol remapping support
3  *
4  * (C) 2014 Xamarin, Inc.
5  */
6
7 #ifndef __WAPI_REMAP_H__
8 #define __WAPI_REMAP_H__
9
10 /*
11  * The windows function names used by the io-layer can collide with symbols in system and 3rd party libs, esp. on osx/ios. So remap them to
12  * wapi_<funcname>.
13  */
14
15 #define GetThreadContext wapi_GetThreadContext
16 #define CreateEvent wapi_CreateEvent 
17 #define PulseEvent wapi_PulseEvent 
18 #define ResetEvent wapi_ResetEvent 
19 #define SetEvent wapi_SetEvent 
20 #define OpenEvent wapi_OpenEvent 
21 #define CloseHandle wapi_CloseHandle 
22 #define DuplicateHandle wapi_DuplicateHandle 
23 #define CreateFile wapi_CreateFile
24 #define DeleteFile wapi_DeleteFile
25 #define GetStdHandle wapi_GetStdHandle
26 #define ReadFile wapi_ReadFile
27 #define WriteFile wapi_WriteFile
28 #define FlushFileBuffers wapi_FlushFileBuffers
29 #define SetEndOfFile wapi_SetEndOfFile
30 #define SetFilePointer wapi_SetFilePointer
31 #define GetFileType wapi_GetFileType
32 #define GetFileSize wapi_GetFileSize
33 #define GetFileTime wapi_GetFileTime
34 #define SetFileTime wapi_SetFileTime
35 #define FileTimeToSystemTime wapi_FileTimeToSystemTime
36 #define FindFirstFile wapi_FindFirstFile 
37 #define FindNextFile wapi_FindNextFile 
38 #define FindClose wapi_FindClose 
39 #define CreateDirectory wapi_CreateDirectory 
40 #define RemoveDirectory wapi_RemoveDirectory 
41 #define MoveFile wapi_MoveFile 
42 #define CopyFile wapi_CopyFile 
43 #define ReplaceFile wapi_ReplaceFile 
44 #define GetFileAttributes wapi_GetFileAttributes 
45 #define GetFileAttributesEx wapi_GetFileAttributesEx 
46 #define SetFileAttributes wapi_SetFileAttributes 
47 #define GetCurrentDirectory wapi_GetCurrentDirectory 
48 #define SetCurrentDirectory wapi_SetCurrentDirectory 
49 #define CreatePipe wapi_CreatePipe 
50 #define GetTempPath wapi_GetTempPath 
51 #define GetLogicalDriveStrings wapi_GetLogicalDriveStrings 
52 #define GetDiskFreeSpaceEx wapi_GetDiskFreeSpaceEx
53 #define GetDriveType wapi_GetDriveType
54 #define LockFile wapi_LockFile 
55 #define UnlockFile wapi_UnlockFile 
56 #define GetVolumeInformation wapi_GetVolumeInformation 
57 #define FormatMessage wapi_FormatMessage 
58 #define CreateMutex wapi_CreateMutex 
59 #define ReleaseMutex wapi_ReleaseMutex 
60 #define OpenMutex wapi_OpenMutex 
61 #define ShellExecuteEx wapi_ShellExecuteEx 
62 #define CreateProcess wapi_CreateProcess 
63 #define CreateProcessWithLogonW wapi_CreateProcessWithLogonW 
64 #define GetCurrentProcess wapi_GetCurrentProcess 
65 #define GetProcessId wapi_GetProcessId 
66 #define CloseProcess wapi_CloseProcess 
67 #define OpenProcess wapi_OpenProcess 
68 #define GetExitCodeProcess wapi_GetExitCodeProcess 
69 #define GetProcessTimes wapi_GetProcessTimes 
70 #define EnumProcessModules wapi_EnumProcessModules 
71 #define GetModuleBaseName wapi_GetModuleBaseName 
72 #define GetModuleFileNameEx wapi_GetModuleFileNameEx 
73 #define GetModuleInformation wapi_GetModuleInformation 
74 #define GetProcessWorkingSetSize wapi_GetProcessWorkingSetSize 
75 #define SetProcessWorkingSetSize wapi_SetProcessWorkingSetSize 
76 #define TerminateProcess wapi_TerminateProcess 
77 #define GetPriorityClass wapi_GetPriorityClass 
78 #define SetPriorityClass wapi_SetPriorityClass 
79 #define ImpersonateLoggedOnUser wapi_ImpersonateLoggedOnUser 
80 #define RevertToSelf wapi_RevertToSelf 
81 #define CreateSemaphore wapi_CreateSemaphore
82 #define ReleaseSemaphore wapi_ReleaseSemaphore
83 #define OpenSemaphore wapi_OpenSemaphore 
84 #define WSASetLastError wapi_WSASetLastError
85 #define WSAGetLastError wapi_WSAGetLastError
86 #define WSAIoctl wapi_WSAIoctl 
87 #define WSARecv wapi_WSARecv 
88 #define WSASend wapi_WSASend 
89 #define GetSystemInfo wapi_GetSystemInfo
90 #define GetCurrentThreadId wapi_GetCurrentThreadId
91 #define Sleep wapi_Sleep
92 #define SleepEx wapi_SleepEx
93 #define QueryPerformanceCounter wapi_QueryPerformanceCounter
94 #define QueryPerformanceFrequency wapi_QueryPerformanceFrequency
95 #define GetTickCount wapi_GetTickCount 
96 #define GetFileVersionInfoSize wapi_GetFileVersionInfoSize 
97 #define GetFileVersionInfo wapi_GetFileVersionInfo 
98 #define VerQueryValue wapi_VerQueryValue 
99 #define VerLanguageName wapi_VerLanguageName 
100 #define WaitForSingleObject wapi_WaitForSingleObject
101 #define WaitForSingleObjectEx wapi_WaitForSingleObjectEx
102 #define SignalObjectAndWait wapi_SignalObjectAndWait
103 #define WaitForMultipleObjects wapi_WaitForMultipleObjects
104 #define WaitForMultipleObjectsEx wapi_WaitForMultipleObjectsEx
105 #define WaitForInputIdle wapi_WaitForInputIdle
106
107 #endif /* __WAPI_REMAP_H__ */