Mercurial > mplayer.hg
comparison loader/wine/winbase.h @ 25794:2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.
author | diego |
---|---|
date | Sun, 20 Jan 2008 17:16:39 +0000 |
parents | c98c9e7f3bd0 |
children | a8ea87c71d18 |
comparison
equal
deleted
inserted
replaced
25793:ac1a2c121d3a | 25794:2c8cdb9123b8 |
---|---|
31 #define LOAD_DLL_DEBUG_EVENT 6 | 31 #define LOAD_DLL_DEBUG_EVENT 6 |
32 #define UNLOAD_DLL_DEBUG_EVENT 7 | 32 #define UNLOAD_DLL_DEBUG_EVENT 7 |
33 #define OUTPUT_DEBUG_STRING_EVENT 8 | 33 #define OUTPUT_DEBUG_STRING_EVENT 8 |
34 #define RIP_EVENT 9 | 34 #define RIP_EVENT 9 |
35 | 35 |
36 typedef struct _EXCEPTION_DEBUG_INFO { | 36 typedef struct EXCEPTION_DEBUG_INFO { |
37 EXCEPTION_RECORD ExceptionRecord; | 37 EXCEPTION_RECORD ExceptionRecord; |
38 DWORD dwFirstChance; | 38 DWORD dwFirstChance; |
39 } EXCEPTION_DEBUG_INFO; | 39 } EXCEPTION_DEBUG_INFO; |
40 | 40 |
41 typedef struct _CREATE_THREAD_DEBUG_INFO { | 41 typedef struct CREATE_THREAD_DEBUG_INFO { |
42 HANDLE hThread; | 42 HANDLE hThread; |
43 LPVOID lpThreadLocalBase; | 43 LPVOID lpThreadLocalBase; |
44 LPTHREAD_START_ROUTINE lpStartAddress; | 44 LPTHREAD_START_ROUTINE lpStartAddress; |
45 } CREATE_THREAD_DEBUG_INFO; | 45 } CREATE_THREAD_DEBUG_INFO; |
46 | 46 |
47 typedef struct _CREATE_PROCESS_DEBUG_INFO { | 47 typedef struct CREATE_PROCESS_DEBUG_INFO { |
48 HANDLE hFile; | 48 HANDLE hFile; |
49 HANDLE hProcess; | 49 HANDLE hProcess; |
50 HANDLE hThread; | 50 HANDLE hThread; |
51 LPVOID lpBaseOfImage; | 51 LPVOID lpBaseOfImage; |
52 DWORD dwDebugInfoFileOffset; | 52 DWORD dwDebugInfoFileOffset; |
55 LPTHREAD_START_ROUTINE lpStartAddress; | 55 LPTHREAD_START_ROUTINE lpStartAddress; |
56 LPVOID lpImageName; | 56 LPVOID lpImageName; |
57 WORD fUnicode; | 57 WORD fUnicode; |
58 } CREATE_PROCESS_DEBUG_INFO; | 58 } CREATE_PROCESS_DEBUG_INFO; |
59 | 59 |
60 typedef struct _EXIT_THREAD_DEBUG_INFO { | 60 typedef struct EXIT_THREAD_DEBUG_INFO { |
61 DWORD dwExitCode; | 61 DWORD dwExitCode; |
62 } EXIT_THREAD_DEBUG_INFO; | 62 } EXIT_THREAD_DEBUG_INFO; |
63 | 63 |
64 typedef struct _EXIT_PROCESS_DEBUG_INFO { | 64 typedef struct EXIT_PROCESS_DEBUG_INFO { |
65 DWORD dwExitCode; | 65 DWORD dwExitCode; |
66 } EXIT_PROCESS_DEBUG_INFO; | 66 } EXIT_PROCESS_DEBUG_INFO; |
67 | 67 |
68 typedef struct _LOAD_DLL_DEBUG_INFO { | 68 typedef struct LOAD_DLL_DEBUG_INFO { |
69 HANDLE hFile; | 69 HANDLE hFile; |
70 LPVOID lpBaseOfDll; | 70 LPVOID lpBaseOfDll; |
71 DWORD dwDebugInfoFileOffset; | 71 DWORD dwDebugInfoFileOffset; |
72 DWORD nDebugInfoSize; | 72 DWORD nDebugInfoSize; |
73 LPVOID lpImageName; | 73 LPVOID lpImageName; |
74 WORD fUnicode; | 74 WORD fUnicode; |
75 } LOAD_DLL_DEBUG_INFO; | 75 } LOAD_DLL_DEBUG_INFO; |
76 | 76 |
77 typedef struct _UNLOAD_DLL_DEBUG_INFO { | 77 typedef struct UNLOAD_DLL_DEBUG_INFO { |
78 LPVOID lpBaseOfDll; | 78 LPVOID lpBaseOfDll; |
79 } UNLOAD_DLL_DEBUG_INFO; | 79 } UNLOAD_DLL_DEBUG_INFO; |
80 | 80 |
81 typedef struct _OUTPUT_DEBUG_STRING_INFO { | 81 typedef struct OUTPUT_DEBUG_STRING_INFO { |
82 LPSTR lpDebugStringData; | 82 LPSTR lpDebugStringData; |
83 WORD fUnicode; | 83 WORD fUnicode; |
84 WORD nDebugStringLength; | 84 WORD nDebugStringLength; |
85 } OUTPUT_DEBUG_STRING_INFO; | 85 } OUTPUT_DEBUG_STRING_INFO; |
86 | 86 |
87 typedef struct _RIP_INFO { | 87 typedef struct RIP_INFO { |
88 DWORD dwError; | 88 DWORD dwError; |
89 DWORD dwType; | 89 DWORD dwType; |
90 } RIP_INFO; | 90 } RIP_INFO; |
91 | 91 |
92 typedef struct _DEBUG_EVENT { | 92 typedef struct DEBUG_EVENT { |
93 DWORD dwDebugEventCode; | 93 DWORD dwDebugEventCode; |
94 DWORD dwProcessId; | 94 DWORD dwProcessId; |
95 DWORD dwThreadId; | 95 DWORD dwThreadId; |
96 union { | 96 union { |
97 EXCEPTION_DEBUG_INFO Exception; | 97 EXCEPTION_DEBUG_INFO Exception; |
156 /* Win32 additions */ | 156 /* Win32 additions */ |
157 #define DRIVE_CDROM 5 | 157 #define DRIVE_CDROM 5 |
158 #define DRIVE_RAMDISK 6 | 158 #define DRIVE_RAMDISK 6 |
159 | 159 |
160 /* The security attributes structure */ | 160 /* The security attributes structure */ |
161 typedef struct _SECURITY_ATTRIBUTES | 161 typedef struct SECURITY_ATTRIBUTES |
162 { | 162 { |
163 DWORD nLength; | 163 DWORD nLength; |
164 LPVOID lpSecurityDescriptor; | 164 LPVOID lpSecurityDescriptor; |
165 WIN_BOOL bInheritHandle; | 165 WIN_BOOL bInheritHandle; |
166 } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; | 166 } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; |
752 int nFileIndexHigh; | 752 int nFileIndexHigh; |
753 int nFileIndexLow; | 753 int nFileIndexLow; |
754 } BY_HANDLE_FILE_INFORMATION ; | 754 } BY_HANDLE_FILE_INFORMATION ; |
755 | 755 |
756 | 756 |
757 typedef struct _SYSTEM_POWER_STATUS | 757 typedef struct SYSTEM_POWER_STATUS |
758 { | 758 { |
759 WIN_BOOL16 ACLineStatus; | 759 WIN_BOOL16 ACLineStatus; |
760 BYTE BatteryFlag; | 760 BYTE BatteryFlag; |
761 BYTE BatteryLifePercent; | 761 BYTE BatteryLifePercent; |
762 BYTE reserved; | 762 BYTE reserved; |
763 DWORD BatteryLifeTime; | 763 DWORD BatteryLifeTime; |
764 DWORD BatteryFullLifeTime; | 764 DWORD BatteryFullLifeTime; |
765 } SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS; | 765 } SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS; |
766 | 766 |
767 typedef struct _MEMORY_BASIC_INFORMATION | 767 typedef struct MEMORY_BASIC_INFORMATION |
768 { | 768 { |
769 LPVOID BaseAddress; | 769 LPVOID BaseAddress; |
770 LPVOID AllocationBase; | 770 LPVOID AllocationBase; |
771 DWORD AllocationProtect; | 771 DWORD AllocationProtect; |
772 DWORD RegionSize; | 772 DWORD RegionSize; |
824 #define DONT_RESOLVE_DLL_REFERENCES 0x00000001 | 824 #define DONT_RESOLVE_DLL_REFERENCES 0x00000001 |
825 #define LOAD_LIBRARY_AS_DATAFILE 0x00000002 | 825 #define LOAD_LIBRARY_AS_DATAFILE 0x00000002 |
826 #define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008 | 826 #define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008 |
827 | 827 |
828 /* ifdef _x86_ ... */ | 828 /* ifdef _x86_ ... */ |
829 typedef struct _LDT_ENTRY { | 829 typedef struct LDT_ENTRY { |
830 WORD LimitLow; | 830 WORD LimitLow; |
831 WORD BaseLow; | 831 WORD BaseLow; |
832 union { | 832 union { |
833 struct { | 833 struct { |
834 BYTE BaseMid; | 834 BYTE BaseMid; |
850 } Bits; | 850 } Bits; |
851 } HighWord; | 851 } HighWord; |
852 } LDT_ENTRY, *LPLDT_ENTRY; | 852 } LDT_ENTRY, *LPLDT_ENTRY; |
853 | 853 |
854 | 854 |
855 typedef enum _GET_FILEEX_INFO_LEVELS { | 855 typedef enum GET_FILEEX_INFO_LEVELS { |
856 GetFileExInfoStandard | 856 GetFileExInfoStandard |
857 } GET_FILEEX_INFO_LEVELS; | 857 } GET_FILEEX_INFO_LEVELS; |
858 | 858 |
859 typedef struct _WIN32_FILE_ATTRIBUTES_DATA { | 859 typedef struct WIN32_FILE_ATTRIBUTES_DATA { |
860 DWORD dwFileAttributes; | 860 DWORD dwFileAttributes; |
861 FILETIME ftCreationTime; | 861 FILETIME ftCreationTime; |
862 FILETIME ftLastAccessTime; | 862 FILETIME ftLastAccessTime; |
863 FILETIME ftLastWriteTime; | 863 FILETIME ftLastWriteTime; |
864 DWORD nFileSizeHigh; | 864 DWORD nFileSizeHigh; |
865 DWORD nFileSizeLow; | 865 DWORD nFileSizeLow; |
866 } WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; | 866 } WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; |
867 | 867 |
868 typedef struct _DllVersionInfo { | 868 typedef struct DllVersionInfo { |
869 DWORD cbSize; | 869 DWORD cbSize; |
870 DWORD dwMajorVersion; | 870 DWORD dwMajorVersion; |
871 DWORD dwMinorVersion; | 871 DWORD dwMinorVersion; |
872 DWORD dwBuildNumber; | 872 DWORD dwBuildNumber; |
873 DWORD dwPlatformID; | 873 DWORD dwPlatformID; |