2010-08-25 10:15:01 +00:00
|
|
|
#define __ROS_LONG64__
|
|
|
|
|
|
|
|
#define STANDALONE
|
2013-09-22 19:07:35 +00:00
|
|
|
#include <apitest.h>
|
2010-08-25 10:15:01 +00:00
|
|
|
|
2012-10-13 13:07:17 +00:00
|
|
|
extern void func_LdrEnumResources(void);
|
2018-04-14 19:00:18 +00:00
|
|
|
extern void func_load_notifications(void);
|
2017-03-05 00:55:50 +00:00
|
|
|
extern void func_NtAcceptConnectPort(void);
|
2011-11-30 17:00:23 +00:00
|
|
|
extern void func_NtAllocateVirtualMemory(void);
|
2015-09-05 11:49:54 +00:00
|
|
|
extern void func_NtApphelpCacheControl(void);
|
2021-02-06 17:22:03 +00:00
|
|
|
extern void func_NtCompareTokens(void);
|
2013-09-28 09:24:47 +00:00
|
|
|
extern void func_NtContinue(void);
|
2013-09-28 11:39:51 +00:00
|
|
|
extern void func_NtCreateFile(void);
|
2016-10-15 18:33:21 +00:00
|
|
|
extern void func_NtCreateKey(void);
|
2013-09-28 08:38:33 +00:00
|
|
|
extern void func_NtCreateThread(void);
|
2014-07-07 14:46:04 +00:00
|
|
|
extern void func_NtDeleteKey(void);
|
2019-02-02 21:48:51 +00:00
|
|
|
extern void func_NtDuplicateObject(void);
|
2011-07-11 19:31:34 +00:00
|
|
|
extern void func_NtFreeVirtualMemory(void);
|
2021-03-26 12:38:04 +00:00
|
|
|
extern void func_NtImpersonateAnonymousToken(void);
|
2017-06-17 20:08:48 +00:00
|
|
|
extern void func_NtLoadUnloadKey(void);
|
2013-03-27 19:10:51 +00:00
|
|
|
extern void func_NtMapViewOfSection(void);
|
2014-05-14 20:23:38 +00:00
|
|
|
extern void func_NtMutant(void);
|
2017-08-17 11:42:13 +00:00
|
|
|
extern void func_NtOpenKey(void);
|
2015-09-23 15:14:25 +00:00
|
|
|
extern void func_NtOpenProcessToken(void);
|
|
|
|
extern void func_NtOpenThreadToken(void);
|
2013-05-04 15:26:48 +00:00
|
|
|
extern void func_NtProtectVirtualMemory(void);
|
2019-02-02 20:37:08 +00:00
|
|
|
extern void func_NtQueryInformationFile(void);
|
2016-04-12 17:39:01 +00:00
|
|
|
extern void func_NtQueryInformationProcess(void);
|
2020-05-14 12:32:38 +00:00
|
|
|
extern void func_NtQueryInformationThread(void);
|
2014-09-29 16:21:53 +00:00
|
|
|
extern void func_NtQueryKey(void);
|
2012-10-07 12:31:13 +00:00
|
|
|
extern void func_NtQuerySystemEnvironmentValue(void);
|
2019-02-02 20:37:08 +00:00
|
|
|
extern void func_NtQuerySystemInformation(void);
|
2020-10-31 12:08:06 +00:00
|
|
|
extern void func_NtQueryValueKey(void);
|
2014-04-20 18:15:41 +00:00
|
|
|
extern void func_NtQueryVolumeInformationFile(void);
|
2016-10-29 20:14:16 +00:00
|
|
|
extern void func_NtReadFile(void);
|
2014-05-31 01:14:02 +00:00
|
|
|
extern void func_NtSaveKey(void);
|
2019-02-02 20:37:08 +00:00
|
|
|
extern void func_NtSetInformationFile(void);
|
2020-03-29 17:01:41 +00:00
|
|
|
extern void func_NtSetInformationProcess(void);
|
2020-06-06 15:48:39 +00:00
|
|
|
extern void func_NtSetInformationThread(void);
|
2016-05-02 13:19:44 +00:00
|
|
|
extern void func_NtSetValueKey(void);
|
2019-02-02 20:37:08 +00:00
|
|
|
extern void func_NtSetVolumeInformationFile(void);
|
2011-10-11 15:29:25 +00:00
|
|
|
extern void func_NtSystemInformation(void);
|
2019-12-29 12:49:18 +00:00
|
|
|
extern void func_NtUnloadDriver(void);
|
2016-10-29 11:39:07 +00:00
|
|
|
extern void func_NtWriteFile(void);
|
2015-10-11 21:10:03 +00:00
|
|
|
extern void func_RtlAllocateHeap(void);
|
2012-05-29 18:46:25 +00:00
|
|
|
extern void func_RtlBitmap(void);
|
2019-02-02 01:31:48 +00:00
|
|
|
extern void func_RtlComputePrivatizedDllName_U(void);
|
2015-06-21 19:15:01 +00:00
|
|
|
extern void func_RtlCopyMappedMemory(void);
|
2020-04-16 17:58:07 +00:00
|
|
|
extern void func_RtlDebugInformation(void);
|
2016-05-22 22:11:54 +00:00
|
|
|
extern void func_RtlDeleteAce(void);
|
2012-04-25 07:43:33 +00:00
|
|
|
extern void func_RtlDetermineDosPathNameType(void);
|
2017-01-12 11:21:04 +00:00
|
|
|
extern void func_RtlDosApplyFileIsolationRedirection_Ustr(void);
|
2012-04-25 12:13:38 +00:00
|
|
|
extern void func_RtlDoesFileExists(void);
|
2012-09-24 12:17:04 +00:00
|
|
|
extern void func_RtlDosPathNameToNtPathName_U(void);
|
2012-05-01 16:19:17 +00:00
|
|
|
extern void func_RtlDosSearchPath_U(void);
|
|
|
|
extern void func_RtlDosSearchPath_Ustr(void);
|
2016-05-22 22:11:54 +00:00
|
|
|
extern void func_RtlFirstFreeAce(void);
|
2015-09-20 10:42:05 +00:00
|
|
|
extern void func_RtlGenerate8dot3Name(void);
|
2012-03-25 21:24:05 +00:00
|
|
|
extern void func_RtlGetFullPathName_U(void);
|
2012-04-25 09:52:38 +00:00
|
|
|
extern void func_RtlGetFullPathName_Ustr(void);
|
2012-03-25 20:01:12 +00:00
|
|
|
extern void func_RtlGetFullPathName_UstrEx(void);
|
2021-02-15 19:11:49 +00:00
|
|
|
extern void func_RtlGetLengthWithoutLastFullDosOrNtPathElement(void);
|
2013-09-28 09:03:04 +00:00
|
|
|
extern void func_RtlGetLengthWithoutTrailingPathSeperators(void);
|
2012-04-25 07:43:33 +00:00
|
|
|
extern void func_RtlGetLongestNtPathLength(void);
|
2020-04-17 10:47:09 +00:00
|
|
|
extern void func_RtlGetNtProductType(void);
|
2020-04-18 11:51:37 +00:00
|
|
|
extern void func_RtlGetUnloadEventTrace(void);
|
2017-05-19 18:05:12 +00:00
|
|
|
extern void func_RtlHandle(void);
|
2020-11-30 09:35:10 +00:00
|
|
|
extern void func_RtlImageDirectoryEntryToData(void);
|
2015-11-16 09:48:39 +00:00
|
|
|
extern void func_RtlImageRvaToVa(void);
|
2016-11-10 10:18:25 +00:00
|
|
|
extern void func_RtlIsNameLegalDOS8Dot3(void);
|
2013-10-19 17:59:29 +00:00
|
|
|
extern void func_RtlMemoryStream(void);
|
2020-04-24 08:45:43 +00:00
|
|
|
extern void func_RtlMultipleAllocateHeap(void);
|
2017-03-02 20:43:09 +00:00
|
|
|
extern void func_RtlNtPathNameToDosPathName(void);
|
2021-02-15 19:10:59 +00:00
|
|
|
extern void func_RtlpApplyLengthFunction(void);
|
2017-03-02 20:38:58 +00:00
|
|
|
extern void func_RtlpEnsureBufferSize(void);
|
2018-05-31 14:47:42 +00:00
|
|
|
extern void func_RtlQueryTimeZoneInformation(void);
|
2015-03-29 14:07:00 +00:00
|
|
|
extern void func_RtlReAllocateHeap(void);
|
2017-10-16 20:04:22 +00:00
|
|
|
extern void func_RtlUnicodeStringToAnsiString(void);
|
2021-05-12 21:31:20 +00:00
|
|
|
extern void func_RtlUnicodeStringToCountedOemString(void);
|
2021-05-17 10:07:26 +00:00
|
|
|
extern void func_RtlUnicodeToOemN(void);
|
2016-11-10 10:18:25 +00:00
|
|
|
extern void func_RtlUpcaseUnicodeStringToCountedOemString(void);
|
2020-01-02 20:09:32 +00:00
|
|
|
extern void func_RtlValidateUnicodeString(void);
|
2021-05-18 21:00:58 +00:00
|
|
|
extern void func_RtlxUnicodeStringToAnsiSize(void);
|
|
|
|
extern void func_RtlxUnicodeStringToOemSize(void);
|
2015-02-16 21:15:55 +00:00
|
|
|
extern void func_StackOverflow(void);
|
2013-08-19 21:44:26 +00:00
|
|
|
extern void func_TimerResolution(void);
|
2010-08-25 10:15:01 +00:00
|
|
|
|
|
|
|
const struct test winetest_testlist[] =
|
|
|
|
{
|
2012-10-13 13:07:17 +00:00
|
|
|
{ "LdrEnumResources", func_LdrEnumResources },
|
2018-04-14 19:00:18 +00:00
|
|
|
{ "load_notifications", func_load_notifications },
|
2017-03-05 00:55:50 +00:00
|
|
|
{ "NtAcceptConnectPort", func_NtAcceptConnectPort },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "NtAllocateVirtualMemory", func_NtAllocateVirtualMemory },
|
2015-09-05 11:49:54 +00:00
|
|
|
{ "NtApphelpCacheControl", func_NtApphelpCacheControl },
|
2021-02-06 17:22:03 +00:00
|
|
|
{ "NtCompareTokens", func_NtCompareTokens },
|
2013-09-28 09:24:47 +00:00
|
|
|
{ "NtContinue", func_NtContinue },
|
2013-09-28 11:39:51 +00:00
|
|
|
{ "NtCreateFile", func_NtCreateFile },
|
2016-10-15 18:33:21 +00:00
|
|
|
{ "NtCreateKey", func_NtCreateKey },
|
2013-09-28 08:38:33 +00:00
|
|
|
{ "NtCreateThread", func_NtCreateThread },
|
2014-07-07 14:46:04 +00:00
|
|
|
{ "NtDeleteKey", func_NtDeleteKey },
|
2019-02-02 21:48:51 +00:00
|
|
|
{ "NtDuplicateObject", func_NtDuplicateObject },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "NtFreeVirtualMemory", func_NtFreeVirtualMemory },
|
2021-03-26 12:38:04 +00:00
|
|
|
{ "NtImpersonateAnonymousToken", func_NtImpersonateAnonymousToken },
|
2017-06-17 20:08:48 +00:00
|
|
|
{ "NtLoadUnloadKey", func_NtLoadUnloadKey },
|
2013-03-27 19:10:51 +00:00
|
|
|
{ "NtMapViewOfSection", func_NtMapViewOfSection },
|
2014-05-14 20:23:38 +00:00
|
|
|
{ "NtMutant", func_NtMutant },
|
2017-08-17 11:42:13 +00:00
|
|
|
{ "NtOpenKey", func_NtOpenKey },
|
2015-09-23 15:14:25 +00:00
|
|
|
{ "NtOpenProcessToken", func_NtOpenProcessToken },
|
|
|
|
{ "NtOpenThreadToken", func_NtOpenThreadToken },
|
2013-05-04 15:26:48 +00:00
|
|
|
{ "NtProtectVirtualMemory", func_NtProtectVirtualMemory },
|
2019-02-02 20:37:08 +00:00
|
|
|
{ "NtQueryInformationFile", func_NtQueryInformationFile },
|
2016-04-12 17:39:01 +00:00
|
|
|
{ "NtQueryInformationProcess", func_NtQueryInformationProcess },
|
2020-05-14 12:32:38 +00:00
|
|
|
{ "NtQueryInformationThread", func_NtQueryInformationThread },
|
2014-09-29 16:21:53 +00:00
|
|
|
{ "NtQueryKey", func_NtQueryKey },
|
2012-10-07 12:31:13 +00:00
|
|
|
{ "NtQuerySystemEnvironmentValue", func_NtQuerySystemEnvironmentValue },
|
2019-02-02 20:37:08 +00:00
|
|
|
{ "NtQuerySystemInformation", func_NtQuerySystemInformation },
|
2020-10-31 12:08:06 +00:00
|
|
|
{ "NtQueryValueKey", func_NtQueryValueKey },
|
2014-04-20 18:15:41 +00:00
|
|
|
{ "NtQueryVolumeInformationFile", func_NtQueryVolumeInformationFile },
|
2016-10-29 20:14:16 +00:00
|
|
|
{ "NtReadFile", func_NtReadFile },
|
2014-05-31 01:14:02 +00:00
|
|
|
{ "NtSaveKey", func_NtSaveKey},
|
2019-02-02 20:37:08 +00:00
|
|
|
{ "NtSetInformationFile", func_NtSetInformationFile },
|
2020-03-29 17:01:41 +00:00
|
|
|
{ "NtSetInformationProcess", func_NtSetInformationProcess },
|
2020-06-06 15:48:39 +00:00
|
|
|
{ "NtSetInformationThread", func_NtSetInformationThread },
|
2016-05-02 13:19:44 +00:00
|
|
|
{ "NtSetValueKey", func_NtSetValueKey},
|
2019-02-02 20:37:08 +00:00
|
|
|
{ "NtSetVolumeInformationFile", func_NtSetVolumeInformationFile },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "NtSystemInformation", func_NtSystemInformation },
|
2019-12-29 12:49:18 +00:00
|
|
|
{ "NtUnloadDriver", func_NtUnloadDriver },
|
2016-10-29 11:39:07 +00:00
|
|
|
{ "NtWriteFile", func_NtWriteFile },
|
2015-10-11 21:10:03 +00:00
|
|
|
{ "RtlAllocateHeap", func_RtlAllocateHeap },
|
2012-05-30 21:16:24 +00:00
|
|
|
{ "RtlBitmapApi", func_RtlBitmap },
|
2019-02-02 01:31:48 +00:00
|
|
|
{ "RtlComputePrivatizedDllName_U", func_RtlComputePrivatizedDllName_U },
|
2015-06-21 19:15:01 +00:00
|
|
|
{ "RtlCopyMappedMemory", func_RtlCopyMappedMemory },
|
2020-04-16 17:58:07 +00:00
|
|
|
{ "RtlDebugInformation", func_RtlDebugInformation },
|
2016-05-22 22:11:54 +00:00
|
|
|
{ "RtlDeleteAce", func_RtlDeleteAce },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "RtlDetermineDosPathNameType", func_RtlDetermineDosPathNameType },
|
2017-01-12 11:21:04 +00:00
|
|
|
{ "RtlDosApplyFileIsolationRedirection_Ustr", func_RtlDosApplyFileIsolationRedirection_Ustr },
|
2012-04-25 12:13:38 +00:00
|
|
|
{ "RtlDoesFileExists", func_RtlDoesFileExists },
|
2012-09-24 12:17:04 +00:00
|
|
|
{ "RtlDosPathNameToNtPathName_U", func_RtlDosPathNameToNtPathName_U },
|
2012-05-01 16:19:17 +00:00
|
|
|
{ "RtlDosSearchPath_U", func_RtlDosSearchPath_U },
|
|
|
|
{ "RtlDosSearchPath_Ustr", func_RtlDosSearchPath_Ustr },
|
2016-05-22 22:11:54 +00:00
|
|
|
{ "RtlFirstFreeAce", func_RtlFirstFreeAce },
|
2015-09-20 10:42:05 +00:00
|
|
|
{ "RtlGenerate8dot3Name", func_RtlGenerate8dot3Name },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "RtlGetFullPathName_U", func_RtlGetFullPathName_U },
|
2012-04-25 09:52:38 +00:00
|
|
|
{ "RtlGetFullPathName_Ustr", func_RtlGetFullPathName_Ustr },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "RtlGetFullPathName_UstrEx", func_RtlGetFullPathName_UstrEx },
|
2021-02-15 19:11:49 +00:00
|
|
|
{ "RtlGetLengthWithoutLastFullDosOrNtPathElement", func_RtlGetLengthWithoutLastFullDosOrNtPathElement },
|
2013-09-28 09:03:04 +00:00
|
|
|
{ "RtlGetLengthWithoutTrailingPathSeperators", func_RtlGetLengthWithoutTrailingPathSeperators },
|
2012-04-25 07:43:33 +00:00
|
|
|
{ "RtlGetLongestNtPathLength", func_RtlGetLongestNtPathLength },
|
2020-04-17 10:47:09 +00:00
|
|
|
{ "RtlGetNtProductType", func_RtlGetNtProductType },
|
2020-04-18 11:51:37 +00:00
|
|
|
{ "RtlGetUnloadEventTrace", func_RtlGetUnloadEventTrace },
|
2017-05-19 18:05:12 +00:00
|
|
|
{ "RtlHandle", func_RtlHandle },
|
2020-11-30 09:35:10 +00:00
|
|
|
{ "RtlImageDirectoryEntryToData", func_RtlImageDirectoryEntryToData },
|
2015-11-16 09:48:39 +00:00
|
|
|
{ "RtlImageRvaToVa", func_RtlImageRvaToVa },
|
2016-11-10 10:18:25 +00:00
|
|
|
{ "RtlIsNameLegalDOS8Dot3", func_RtlIsNameLegalDOS8Dot3 },
|
2013-10-19 17:59:29 +00:00
|
|
|
{ "RtlMemoryStream", func_RtlMemoryStream },
|
2020-04-24 08:45:43 +00:00
|
|
|
{ "RtlMultipleAllocateHeap", func_RtlMultipleAllocateHeap },
|
2017-03-02 20:43:09 +00:00
|
|
|
{ "RtlNtPathNameToDosPathName", func_RtlNtPathNameToDosPathName },
|
2021-02-15 19:10:59 +00:00
|
|
|
{ "RtlpApplyLengthFunction", func_RtlpApplyLengthFunction },
|
2017-03-02 20:38:58 +00:00
|
|
|
{ "RtlpEnsureBufferSize", func_RtlpEnsureBufferSize },
|
2018-05-31 14:47:42 +00:00
|
|
|
{ "RtlQueryTimeZoneInformation", func_RtlQueryTimeZoneInformation },
|
2015-03-29 14:07:00 +00:00
|
|
|
{ "RtlReAllocateHeap", func_RtlReAllocateHeap },
|
2021-05-18 21:00:58 +00:00
|
|
|
{ "RtlUnicodeStringToAnsiSize", func_RtlxUnicodeStringToAnsiSize }, /* For some reason, starting test name with Rtlx hides it */
|
2017-10-16 20:04:22 +00:00
|
|
|
{ "RtlUnicodeStringToAnsiString", func_RtlUnicodeStringToAnsiString },
|
2021-05-12 21:31:20 +00:00
|
|
|
{ "RtlUnicodeStringToCountedOemString", func_RtlUnicodeStringToCountedOemString },
|
2021-05-18 21:00:58 +00:00
|
|
|
{ "RtlUnicodeStringToOemSize", func_RtlxUnicodeStringToOemSize },
|
2021-05-17 10:07:26 +00:00
|
|
|
{ "RtlUnicodeToOemN", func_RtlUnicodeToOemN },
|
2016-11-10 10:18:25 +00:00
|
|
|
{ "RtlUpcaseUnicodeStringToCountedOemString", func_RtlUpcaseUnicodeStringToCountedOemString },
|
2020-01-02 20:09:32 +00:00
|
|
|
{ "RtlValidateUnicodeString", func_RtlValidateUnicodeString },
|
2015-02-16 21:15:55 +00:00
|
|
|
{ "StackOverflow", func_StackOverflow },
|
2013-08-19 21:44:26 +00:00
|
|
|
{ "TimerResolution", func_TimerResolution },
|
2010-08-25 10:15:01 +00:00
|
|
|
|
|
|
|
{ 0, 0 }
|
|
|
|
};
|