1 #define __ROS_LONG64__ 2 3 #define STANDALONE 4 #include <apitest.h> 5 6 extern void func_LdrEnumResources(void); 7 extern void func_load_notifications(void); 8 extern void func_NtAcceptConnectPort(void); 9 extern void func_NtAccessCheck(void); 10 extern void func_NtAccessCheckByType(void); 11 extern void func_NtAccessCheckByTypeResultList(void); 12 extern void func_NtAdjustGroupsToken(void); 13 extern void func_NtAdjustPrivilegesToken(void); 14 extern void func_NtAllocateVirtualMemory(void); 15 extern void func_NtApphelpCacheControl(void); 16 extern void func_NtCompareTokens(void); 17 extern void func_NtContinue(void); 18 extern void func_NtCreateFile(void); 19 extern void func_NtCreateKey(void); 20 extern void func_NtCreateThread(void); 21 extern void func_NtDeleteKey(void); 22 extern void func_NtDuplicateObject(void); 23 extern void func_NtDuplicateToken(void); 24 extern void func_NtFilterToken(void); 25 extern void func_NtFreeVirtualMemory(void); 26 extern void func_NtImpersonateAnonymousToken(void); 27 extern void func_NtLoadUnloadKey(void); 28 extern void func_NtMapViewOfSection(void); 29 extern void func_NtMutant(void); 30 extern void func_NtOpenKey(void); 31 extern void func_NtOpenProcessToken(void); 32 extern void func_NtOpenThreadToken(void); 33 extern void func_NtProtectVirtualMemory(void); 34 extern void func_NtQueryInformationFile(void); 35 extern void func_NtQueryInformationProcess(void); 36 extern void func_NtQueryInformationThread(void); 37 extern void func_NtQueryInformationToken(void); 38 extern void func_NtQueryKey(void); 39 extern void func_NtQueryOpenSubKeys(void); 40 extern void func_NtQuerySystemEnvironmentValue(void); 41 extern void func_NtQuerySystemInformation(void); 42 extern void func_NtQueryValueKey(void); 43 extern void func_NtQueryVolumeInformationFile(void); 44 extern void func_NtReadFile(void); 45 extern void func_NtSaveKey(void); 46 extern void func_NtSetDefaultLocale(void); 47 extern void func_NtSetInformationFile(void); 48 extern void func_NtSetInformationProcess(void); 49 extern void func_NtSetInformationThread(void); 50 extern void func_NtSetInformationToken(void); 51 extern void func_NtSetValueKey(void); 52 extern void func_NtSetVolumeInformationFile(void); 53 extern void func_NtSystemInformation(void); 54 extern void func_NtUnloadDriver(void); 55 extern void func_NtWriteFile(void); 56 extern void func_RtlAllocateHeap(void); 57 extern void func_RtlBitmap(void); 58 extern void func_RtlCaptureContext(void); 59 extern void func_RtlComputePrivatizedDllName_U(void); 60 extern void func_RtlCopyMappedMemory(void); 61 extern void func_RtlCriticalSection(void); 62 extern void func_RtlDebugInformation(void); 63 extern void func_RtlDeleteAce(void); 64 extern void func_RtlDetermineDosPathNameType(void); 65 extern void func_RtlDosApplyFileIsolationRedirection_Ustr(void); 66 extern void func_RtlDoesFileExists(void); 67 extern void func_RtlDosPathNameToNtPathName_U(void); 68 extern void func_RtlDosSearchPath_U(void); 69 extern void func_RtlDosSearchPath_Ustr(void); 70 extern void func_RtlFirstFreeAce(void); 71 extern void func_RtlGenerate8dot3Name(void); 72 extern void func_RtlGetFullPathName_U(void); 73 extern void func_RtlGetFullPathName_Ustr(void); 74 extern void func_RtlGetFullPathName_UstrEx(void); 75 extern void func_RtlGetLengthWithoutLastFullDosOrNtPathElement(void); 76 extern void func_RtlGetLengthWithoutTrailingPathSeperators(void); 77 extern void func_RtlGetLongestNtPathLength(void); 78 extern void func_RtlGetNtProductType(void); 79 extern void func_RtlGetProcessHeaps(void); 80 extern void func_RtlGetUnloadEventTrace(void); 81 extern void func_RtlHandle(void); 82 extern void func_RtlImageDirectoryEntryToData(void); 83 extern void func_RtlImageRvaToVa(void); 84 extern void func_RtlIntSafe(void); 85 extern void func_RtlIsNameLegalDOS8Dot3(void); 86 extern void func_RtlMemoryStream(void); 87 extern void func_RtlMultipleAllocateHeap(void); 88 extern void func_RtlNtPathNameToDosPathName(void); 89 extern void func_RtlpApplyLengthFunction(void); 90 extern void func_RtlpEnsureBufferSize(void); 91 extern void func_RtlQueryTimeZoneInformation(void); 92 extern void func_RtlReAllocateHeap(void); 93 extern void func_RtlRemovePrivileges(void); 94 extern void func_RtlUnicodeStringToAnsiString(void); 95 extern void func_RtlUnicodeStringToCountedOemString(void); 96 extern void func_RtlUnicodeToOemN(void); 97 extern void func_RtlUpcaseUnicodeStringToCountedOemString(void); 98 extern void func_RtlValidateUnicodeString(void); 99 extern void func_RtlxUnicodeStringToAnsiSize(void); 100 extern void func_RtlxUnicodeStringToOemSize(void); 101 extern void func_StackOverflow(void); 102 extern void func_TimerResolution(void); 103 extern void func_UserModeException(void); 104 105 const struct test winetest_testlist[] = 106 { 107 { "LdrEnumResources", func_LdrEnumResources }, 108 { "load_notifications", func_load_notifications }, 109 { "NtAcceptConnectPort", func_NtAcceptConnectPort }, 110 { "NtAccessCheck", func_NtAccessCheck }, 111 { "NtAccessCheckByType", func_NtAccessCheckByType }, 112 { "NtAccessCheckByTypeResultList", func_NtAccessCheckByTypeResultList }, 113 { "NtAdjustGroupsToken", func_NtAdjustGroupsToken }, 114 { "NtAdjustPrivilegesToken", func_NtAdjustPrivilegesToken }, 115 { "NtAllocateVirtualMemory", func_NtAllocateVirtualMemory }, 116 { "NtApphelpCacheControl", func_NtApphelpCacheControl }, 117 { "NtCompareTokens", func_NtCompareTokens }, 118 { "NtContinue", func_NtContinue }, 119 { "NtCreateFile", func_NtCreateFile }, 120 { "NtCreateKey", func_NtCreateKey }, 121 { "NtCreateThread", func_NtCreateThread }, 122 { "NtDeleteKey", func_NtDeleteKey }, 123 { "NtDuplicateObject", func_NtDuplicateObject }, 124 { "NtDuplicateToken", func_NtDuplicateToken }, 125 { "NtFilterToken", func_NtFilterToken }, 126 { "NtFreeVirtualMemory", func_NtFreeVirtualMemory }, 127 { "NtImpersonateAnonymousToken", func_NtImpersonateAnonymousToken }, 128 { "NtLoadUnloadKey", func_NtLoadUnloadKey }, 129 { "NtMapViewOfSection", func_NtMapViewOfSection }, 130 { "NtMutant", func_NtMutant }, 131 { "NtOpenKey", func_NtOpenKey }, 132 { "NtOpenProcessToken", func_NtOpenProcessToken }, 133 { "NtOpenThreadToken", func_NtOpenThreadToken }, 134 { "NtProtectVirtualMemory", func_NtProtectVirtualMemory }, 135 { "NtQueryInformationFile", func_NtQueryInformationFile }, 136 { "NtQueryInformationProcess", func_NtQueryInformationProcess }, 137 { "NtQueryInformationThread", func_NtQueryInformationThread }, 138 { "NtQueryInformationToken", func_NtQueryInformationToken }, 139 { "NtQueryKey", func_NtQueryKey }, 140 { "NtQueryOpenSubKeys", func_NtQueryOpenSubKeys }, 141 { "NtQuerySystemEnvironmentValue", func_NtQuerySystemEnvironmentValue }, 142 { "NtQuerySystemInformation", func_NtQuerySystemInformation }, 143 { "NtQueryValueKey", func_NtQueryValueKey }, 144 { "NtQueryVolumeInformationFile", func_NtQueryVolumeInformationFile }, 145 { "NtReadFile", func_NtReadFile }, 146 { "NtSaveKey", func_NtSaveKey}, 147 { "NtSetDefaultLocale", func_NtSetDefaultLocale }, 148 { "NtSetInformationFile", func_NtSetInformationFile }, 149 { "NtSetInformationProcess", func_NtSetInformationProcess }, 150 { "NtSetInformationThread", func_NtSetInformationThread }, 151 { "NtSetInformationToken", func_NtSetInformationToken }, 152 { "NtSetValueKey", func_NtSetValueKey}, 153 { "NtSetVolumeInformationFile", func_NtSetVolumeInformationFile }, 154 { "NtSystemInformation", func_NtSystemInformation }, 155 { "NtUnloadDriver", func_NtUnloadDriver }, 156 { "NtWriteFile", func_NtWriteFile }, 157 { "RtlAllocateHeap", func_RtlAllocateHeap }, 158 { "RtlBitmapApi", func_RtlBitmap }, 159 { "RtlComputePrivatizedDllName_U", func_RtlComputePrivatizedDllName_U }, 160 { "RtlCopyMappedMemory", func_RtlCopyMappedMemory }, 161 { "RtlCriticalSection", func_RtlCriticalSection }, 162 { "RtlDebugInformation", func_RtlDebugInformation }, 163 { "RtlDeleteAce", func_RtlDeleteAce }, 164 { "RtlDetermineDosPathNameType", func_RtlDetermineDosPathNameType }, 165 { "RtlDosApplyFileIsolationRedirection_Ustr", func_RtlDosApplyFileIsolationRedirection_Ustr }, 166 { "RtlDoesFileExists", func_RtlDoesFileExists }, 167 { "RtlDosPathNameToNtPathName_U", func_RtlDosPathNameToNtPathName_U }, 168 { "RtlDosSearchPath_U", func_RtlDosSearchPath_U }, 169 { "RtlDosSearchPath_Ustr", func_RtlDosSearchPath_Ustr }, 170 { "RtlFirstFreeAce", func_RtlFirstFreeAce }, 171 { "RtlGenerate8dot3Name", func_RtlGenerate8dot3Name }, 172 { "RtlGetFullPathName_U", func_RtlGetFullPathName_U }, 173 { "RtlGetFullPathName_Ustr", func_RtlGetFullPathName_Ustr }, 174 { "RtlGetFullPathName_UstrEx", func_RtlGetFullPathName_UstrEx }, 175 { "RtlGetLengthWithoutLastFullDosOrNtPathElement", func_RtlGetLengthWithoutLastFullDosOrNtPathElement }, 176 { "RtlGetLengthWithoutTrailingPathSeperators", func_RtlGetLengthWithoutTrailingPathSeperators }, 177 { "RtlGetLongestNtPathLength", func_RtlGetLongestNtPathLength }, 178 { "RtlGetNtProductType", func_RtlGetNtProductType }, 179 { "RtlGetProcessHeaps", func_RtlGetProcessHeaps }, 180 { "RtlGetUnloadEventTrace", func_RtlGetUnloadEventTrace }, 181 { "RtlHandle", func_RtlHandle }, 182 { "RtlImageDirectoryEntryToData", func_RtlImageDirectoryEntryToData }, 183 { "RtlImageRvaToVa", func_RtlImageRvaToVa }, 184 { "RtlIntSafe", func_RtlIntSafe }, 185 { "RtlIsNameLegalDOS8Dot3", func_RtlIsNameLegalDOS8Dot3 }, 186 { "RtlMemoryStream", func_RtlMemoryStream }, 187 { "RtlMultipleAllocateHeap", func_RtlMultipleAllocateHeap }, 188 { "RtlNtPathNameToDosPathName", func_RtlNtPathNameToDosPathName }, 189 { "RtlpApplyLengthFunction", func_RtlpApplyLengthFunction }, 190 { "RtlpEnsureBufferSize", func_RtlpEnsureBufferSize }, 191 { "RtlQueryTimeZoneInformation", func_RtlQueryTimeZoneInformation }, 192 { "RtlReAllocateHeap", func_RtlReAllocateHeap }, 193 { "RtlRemovePrivileges", func_RtlRemovePrivileges }, 194 { "RtlUnicodeStringToAnsiSize", func_RtlxUnicodeStringToAnsiSize }, /* For some reason, starting test name with Rtlx hides it */ 195 { "RtlUnicodeStringToAnsiString", func_RtlUnicodeStringToAnsiString }, 196 { "RtlUnicodeStringToCountedOemString", func_RtlUnicodeStringToCountedOemString }, 197 { "RtlUnicodeStringToOemSize", func_RtlxUnicodeStringToOemSize }, 198 { "RtlUnicodeToOemN", func_RtlUnicodeToOemN }, 199 { "RtlUpcaseUnicodeStringToCountedOemString", func_RtlUpcaseUnicodeStringToCountedOemString }, 200 { "RtlValidateUnicodeString", func_RtlValidateUnicodeString }, 201 { "StackOverflow", func_StackOverflow }, 202 { "TimerResolution", func_TimerResolution }, 203 { "UserModeException", func_UserModeException }, 204 #ifdef _M_AMD64 205 { "RtlCaptureContext", func_RtlCaptureContext }, 206 #endif 207 208 { 0, 0 } 209 }; 210