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