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_RtlRemovePrivileges(void); 85 extern void func_RtlUnicodeStringToAnsiString(void); 86 extern void func_RtlUnicodeStringToCountedOemString(void); 87 extern void func_RtlUnicodeToOemN(void); 88 extern void func_RtlUpcaseUnicodeStringToCountedOemString(void); 89 extern void func_RtlValidateUnicodeString(void); 90 extern void func_RtlxUnicodeStringToAnsiSize(void); 91 extern void func_RtlxUnicodeStringToOemSize(void); 92 extern void func_StackOverflow(void); 93 extern void func_TimerResolution(void); 94 extern void func_UserModeException(void); 95 96 const struct test winetest_testlist[] = 97 { 98 { "LdrEnumResources", func_LdrEnumResources }, 99 { "load_notifications", func_load_notifications }, 100 { "NtAcceptConnectPort", func_NtAcceptConnectPort }, 101 { "NtAdjustGroupsToken", func_NtAdjustGroupsToken }, 102 { "NtAdjustPrivilegesToken", func_NtAdjustPrivilegesToken }, 103 { "NtAllocateVirtualMemory", func_NtAllocateVirtualMemory }, 104 { "NtApphelpCacheControl", func_NtApphelpCacheControl }, 105 { "NtCompareTokens", func_NtCompareTokens }, 106 { "NtContinue", func_NtContinue }, 107 { "NtCreateFile", func_NtCreateFile }, 108 { "NtCreateKey", func_NtCreateKey }, 109 { "NtCreateThread", func_NtCreateThread }, 110 { "NtDeleteKey", func_NtDeleteKey }, 111 { "NtDuplicateObject", func_NtDuplicateObject }, 112 { "NtDuplicateToken", func_NtDuplicateToken }, 113 { "NtFilterToken", func_NtFilterToken }, 114 { "NtFreeVirtualMemory", func_NtFreeVirtualMemory }, 115 { "NtImpersonateAnonymousToken", func_NtImpersonateAnonymousToken }, 116 { "NtLoadUnloadKey", func_NtLoadUnloadKey }, 117 { "NtMapViewOfSection", func_NtMapViewOfSection }, 118 { "NtMutant", func_NtMutant }, 119 { "NtOpenKey", func_NtOpenKey }, 120 { "NtOpenProcessToken", func_NtOpenProcessToken }, 121 { "NtOpenThreadToken", func_NtOpenThreadToken }, 122 { "NtProtectVirtualMemory", func_NtProtectVirtualMemory }, 123 { "NtQueryInformationFile", func_NtQueryInformationFile }, 124 { "NtQueryInformationProcess", func_NtQueryInformationProcess }, 125 { "NtQueryInformationThread", func_NtQueryInformationThread }, 126 { "NtQueryInformationToken", func_NtQueryInformationToken }, 127 { "NtQueryKey", func_NtQueryKey }, 128 { "NtQuerySystemEnvironmentValue", func_NtQuerySystemEnvironmentValue }, 129 { "NtQuerySystemInformation", func_NtQuerySystemInformation }, 130 { "NtQueryValueKey", func_NtQueryValueKey }, 131 { "NtQueryVolumeInformationFile", func_NtQueryVolumeInformationFile }, 132 { "NtReadFile", func_NtReadFile }, 133 { "NtSaveKey", func_NtSaveKey}, 134 { "NtSetInformationFile", func_NtSetInformationFile }, 135 { "NtSetInformationProcess", func_NtSetInformationProcess }, 136 { "NtSetInformationThread", func_NtSetInformationThread }, 137 { "NtSetInformationToken", func_NtSetInformationToken }, 138 { "NtSetValueKey", func_NtSetValueKey}, 139 { "NtSetVolumeInformationFile", func_NtSetVolumeInformationFile }, 140 { "NtSystemInformation", func_NtSystemInformation }, 141 { "NtUnloadDriver", func_NtUnloadDriver }, 142 { "NtWriteFile", func_NtWriteFile }, 143 { "RtlAllocateHeap", func_RtlAllocateHeap }, 144 { "RtlBitmapApi", func_RtlBitmap }, 145 { "RtlComputePrivatizedDllName_U", func_RtlComputePrivatizedDllName_U }, 146 { "RtlCopyMappedMemory", func_RtlCopyMappedMemory }, 147 { "RtlDebugInformation", func_RtlDebugInformation }, 148 { "RtlDeleteAce", func_RtlDeleteAce }, 149 { "RtlDetermineDosPathNameType", func_RtlDetermineDosPathNameType }, 150 { "RtlDosApplyFileIsolationRedirection_Ustr", func_RtlDosApplyFileIsolationRedirection_Ustr }, 151 { "RtlDoesFileExists", func_RtlDoesFileExists }, 152 { "RtlDosPathNameToNtPathName_U", func_RtlDosPathNameToNtPathName_U }, 153 { "RtlDosSearchPath_U", func_RtlDosSearchPath_U }, 154 { "RtlDosSearchPath_Ustr", func_RtlDosSearchPath_Ustr }, 155 { "RtlFirstFreeAce", func_RtlFirstFreeAce }, 156 { "RtlGenerate8dot3Name", func_RtlGenerate8dot3Name }, 157 { "RtlGetFullPathName_U", func_RtlGetFullPathName_U }, 158 { "RtlGetFullPathName_Ustr", func_RtlGetFullPathName_Ustr }, 159 { "RtlGetFullPathName_UstrEx", func_RtlGetFullPathName_UstrEx }, 160 { "RtlGetLengthWithoutLastFullDosOrNtPathElement", func_RtlGetLengthWithoutLastFullDosOrNtPathElement }, 161 { "RtlGetLengthWithoutTrailingPathSeperators", func_RtlGetLengthWithoutTrailingPathSeperators }, 162 { "RtlGetLongestNtPathLength", func_RtlGetLongestNtPathLength }, 163 { "RtlGetNtProductType", func_RtlGetNtProductType }, 164 { "RtlGetUnloadEventTrace", func_RtlGetUnloadEventTrace }, 165 { "RtlHandle", func_RtlHandle }, 166 { "RtlImageDirectoryEntryToData", func_RtlImageDirectoryEntryToData }, 167 { "RtlImageRvaToVa", func_RtlImageRvaToVa }, 168 { "RtlIsNameLegalDOS8Dot3", func_RtlIsNameLegalDOS8Dot3 }, 169 { "RtlMemoryStream", func_RtlMemoryStream }, 170 { "RtlMultipleAllocateHeap", func_RtlMultipleAllocateHeap }, 171 { "RtlNtPathNameToDosPathName", func_RtlNtPathNameToDosPathName }, 172 { "RtlpApplyLengthFunction", func_RtlpApplyLengthFunction }, 173 { "RtlpEnsureBufferSize", func_RtlpEnsureBufferSize }, 174 { "RtlQueryTimeZoneInformation", func_RtlQueryTimeZoneInformation }, 175 { "RtlReAllocateHeap", func_RtlReAllocateHeap }, 176 { "RtlRemovePrivileges", func_RtlRemovePrivileges }, 177 { "RtlUnicodeStringToAnsiSize", func_RtlxUnicodeStringToAnsiSize }, /* For some reason, starting test name with Rtlx hides it */ 178 { "RtlUnicodeStringToAnsiString", func_RtlUnicodeStringToAnsiString }, 179 { "RtlUnicodeStringToCountedOemString", func_RtlUnicodeStringToCountedOemString }, 180 { "RtlUnicodeStringToOemSize", func_RtlxUnicodeStringToOemSize }, 181 { "RtlUnicodeToOemN", func_RtlUnicodeToOemN }, 182 { "RtlUpcaseUnicodeStringToCountedOemString", func_RtlUpcaseUnicodeStringToCountedOemString }, 183 { "RtlValidateUnicodeString", func_RtlValidateUnicodeString }, 184 { "StackOverflow", func_StackOverflow }, 185 { "TimerResolution", func_TimerResolution }, 186 { "UserModeException", func_UserModeException }, 187 188 { 0, 0 } 189 }; 190