mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
286 lines
14 KiB
C
286 lines
14 KiB
C
|
|
#define STANDALONE
|
|
#include <apitest.h>
|
|
|
|
extern void func__snprintf(void);
|
|
extern void func__snwprintf(void);
|
|
extern void func__stricmp(void);
|
|
extern void func__strlwr(void);
|
|
extern void func__strnicmp(void);
|
|
extern void func__strupr(void);
|
|
extern void func__vscwprintf(void);
|
|
extern void func__vsnprintf(void);
|
|
extern void func__vsnwprintf(void);
|
|
extern void func__wcsicmp(void);
|
|
extern void func__wcslwr(void);
|
|
extern void func__wcsnicmp(void);
|
|
extern void func__wcsupr(void);
|
|
extern void func_mbstowcs(void);
|
|
extern void func_setjmp(void);
|
|
extern void func_sprintf(void);
|
|
extern void func_strcpy(void);
|
|
extern void func_strlen(void);
|
|
extern void func_strtoul(void);
|
|
extern void func_wcstoul(void);
|
|
extern void func_wcstombs(void);
|
|
|
|
extern void func_DllLoadNotification(void);
|
|
extern void func_LdrEnumResources(void);
|
|
extern void func_LdrFindResource_U(void);
|
|
extern void func_LdrLoadDll(void);
|
|
extern void func_load_notifications(void);
|
|
extern void func_NtAcceptConnectPort(void);
|
|
extern void func_NtAccessCheck(void);
|
|
extern void func_NtAccessCheckByType(void);
|
|
extern void func_NtAccessCheckByTypeResultList(void);
|
|
extern void func_NtAdjustGroupsToken(void);
|
|
extern void func_NtAdjustPrivilegesToken(void);
|
|
extern void func_NtAllocateVirtualMemory(void);
|
|
extern void func_NtApphelpCacheControl(void);
|
|
extern void func_NtCompareTokens(void);
|
|
extern void func_NtContinue(void);
|
|
extern void func_NtCreateFile(void);
|
|
extern void func_NtCreateKey(void);
|
|
extern void func_NtCreateProfile(void);
|
|
extern void func_NtCreateThread(void);
|
|
extern void func_NtDeleteKey(void);
|
|
extern void func_NtDuplicateObject(void);
|
|
extern void func_NtDuplicateToken(void);
|
|
extern void func_NtFilterToken(void);
|
|
extern void func_NtFreeVirtualMemory(void);
|
|
extern void func_NtImpersonateAnonymousToken(void);
|
|
extern void func_NtLoadUnloadKey(void);
|
|
extern void func_NtMapViewOfSection(void);
|
|
extern void func_NtMutant(void);
|
|
extern void func_NtOpenKey(void);
|
|
extern void func_NtOpenProcessToken(void);
|
|
extern void func_NtOpenThreadToken(void);
|
|
extern void func_NtProtectVirtualMemory(void);
|
|
extern void func_NtQueryInformationFile(void);
|
|
extern void func_NtQueryInformationProcess(void);
|
|
extern void func_NtQueryInformationThread(void);
|
|
extern void func_NtQueryInformationToken(void);
|
|
extern void func_NtQueryKey(void);
|
|
extern void func_NtQueryObject(void);
|
|
extern void func_NtQueryOpenSubKeys(void);
|
|
extern void func_NtQuerySection(void);
|
|
extern void func_NtQuerySystemEnvironmentValue(void);
|
|
extern void func_NtQuerySystemInformation(void);
|
|
extern void func_NtQueryValueKey(void);
|
|
extern void func_NtQueryVolumeInformationFile(void);
|
|
extern void func_NtReadFile(void);
|
|
extern void func_NtSaveKey(void);
|
|
extern void func_NtSetDefaultLocale(void);
|
|
extern void func_NtSetInformationFile(void);
|
|
extern void func_NtSetInformationProcess(void);
|
|
extern void func_NtSetInformationThread(void);
|
|
extern void func_NtSetInformationToken(void);
|
|
extern void func_NtSetValueKey(void);
|
|
extern void func_NtSetVolumeInformationFile(void);
|
|
extern void func_NtStartProfile(void);
|
|
extern void func_NtSystemInformation(void);
|
|
extern void func_NtUnloadDriver(void);
|
|
extern void func_NtWriteFile(void);
|
|
extern void func_RtlAllocateHeap(void);
|
|
extern void func_RtlBitmapApi(void);
|
|
extern void func_RtlCaptureContext(void);
|
|
extern void func_RtlComputePrivatizedDllName_U(void);
|
|
extern void func_RtlCopyMappedMemory(void);
|
|
extern void func_RtlCriticalSection(void);
|
|
extern void func_RtlDebugInformation(void);
|
|
extern void func_RtlDeleteAce(void);
|
|
extern void func_RtlDetermineDosPathNameType(void);
|
|
extern void func_RtlDosApplyFileIsolationRedirection_Ustr(void);
|
|
extern void func_RtlDoesFileExists(void);
|
|
extern void func_RtlDosPathNameToNtPathName_U(void);
|
|
extern void func_RtlDosSearchPath_U(void);
|
|
extern void func_RtlDosSearchPath_Ustr(void);
|
|
extern void func_RtlFirstFreeAce(void);
|
|
extern void func_RtlGenerate8dot3Name(void);
|
|
extern void func_RtlGetFullPathName_U(void);
|
|
extern void func_RtlGetFullPathName_Ustr(void);
|
|
extern void func_RtlGetFullPathName_UstrEx(void);
|
|
extern void func_RtlGetLengthWithoutLastFullDosOrNtPathElement(void);
|
|
extern void func_RtlGetLengthWithoutTrailingPathSeperators(void);
|
|
extern void func_RtlGetLongestNtPathLength(void);
|
|
extern void func_RtlGetNtProductType(void);
|
|
extern void func_RtlGetProcessHeaps(void);
|
|
extern void func_RtlGetProductInfo(void);
|
|
extern void func_RtlGetUnloadEventTrace(void);
|
|
extern void func_RtlHandle(void);
|
|
extern void func_RtlImageDirectoryEntryToData(void);
|
|
extern void func_RtlImageRvaToVa(void);
|
|
extern void func_RtlIntSafe(void);
|
|
extern void func_RtlIsNameInExpression(void);
|
|
extern void func_RtlIsNameLegalDOS8Dot3(void);
|
|
extern void func_RtlLocale(void);
|
|
extern void func_RtlMemoryStream(void);
|
|
extern void func_RtlMultipleAllocateHeap(void);
|
|
extern void func_RtlNtPathNameToDosPathName(void);
|
|
extern void func_RtlpApplyLengthFunction(void);
|
|
extern void func_RtlpEnsureBufferSize(void);
|
|
extern void func_RtlQueryEnvironmentVariable(void);
|
|
extern void func_RtlQueryEnvironmentVariable_U(void);
|
|
extern void func_RtlQueryTimeZoneInformation(void);
|
|
extern void func_RtlReAllocateHeap(void);
|
|
extern void func_RtlRemovePrivileges(void);
|
|
extern void func_RtlUnhandledExceptionFilter(void);
|
|
extern void func_RtlUnicodeStringToAnsiString(void);
|
|
extern void func_RtlUnicodeStringToCountedOemString(void);
|
|
extern void func_RtlUnicodeToOemN(void);
|
|
extern void func_RtlUnwind(void);
|
|
extern void func_RtlUpcaseUnicodeStringToCountedOemString(void);
|
|
extern void func_RtlValidateUnicodeString(void);
|
|
extern void func_RtlVirtualUnwind(void);
|
|
extern void func_RtlxUnicodeStringToAnsiSize(void);
|
|
extern void func_RtlxUnicodeStringToOemSize(void);
|
|
extern void func_StackOverflow(void);
|
|
extern void func_TimerResolution(void);
|
|
extern void func_UserModeException(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
// CRT tests from ../crt
|
|
{ "_snprintf", func__snprintf },
|
|
{ "_snwprintf", func__snwprintf },
|
|
{ "_stricmp", func__stricmp },
|
|
{ "_strlwr", func__strlwr },
|
|
{ "_strnicmp", func__strnicmp },
|
|
{ "_strupr", func__strupr },
|
|
{ "_vscwprintf", func__vscwprintf },
|
|
{ "_vsnprintf", func__vsnprintf },
|
|
{ "_vsnwprintf", func__vsnwprintf },
|
|
{ "_wcsicmp", func__wcsicmp },
|
|
{ "_wcslwr", func__wcslwr },
|
|
{ "_wcsnicmp", func__wcsnicmp },
|
|
{ "_wcsupr", func__wcsupr },
|
|
{ "mbstowcs", func_mbstowcs },
|
|
{ "setjmp", func_setjmp },
|
|
{ "sprintf", func_sprintf },
|
|
{ "strcpy", func_strcpy },
|
|
{ "strlen", func_strlen },
|
|
{ "strtoul", func_strtoul },
|
|
{ "wcstoul", func_wcstoul },
|
|
{ "wcstombs", func_wcstombs },
|
|
|
|
{ "DllLoadNotification", func_DllLoadNotification },
|
|
{ "LdrEnumResources", func_LdrEnumResources },
|
|
{ "LdrFindResource_U", func_LdrFindResource_U },
|
|
{ "LdrLoadDll", func_LdrLoadDll },
|
|
{ "load_notifications", func_load_notifications },
|
|
{ "NtAcceptConnectPort", func_NtAcceptConnectPort },
|
|
{ "NtAccessCheck", func_NtAccessCheck },
|
|
{ "NtAccessCheckByType", func_NtAccessCheckByType },
|
|
{ "NtAccessCheckByTypeResultList", func_NtAccessCheckByTypeResultList },
|
|
{ "NtAdjustGroupsToken", func_NtAdjustGroupsToken },
|
|
{ "NtAdjustPrivilegesToken", func_NtAdjustPrivilegesToken },
|
|
{ "NtAllocateVirtualMemory", func_NtAllocateVirtualMemory },
|
|
{ "NtApphelpCacheControl", func_NtApphelpCacheControl },
|
|
{ "NtCompareTokens", func_NtCompareTokens },
|
|
{ "NtContinue", func_NtContinue },
|
|
{ "NtCreateFile", func_NtCreateFile },
|
|
{ "NtCreateKey", func_NtCreateKey },
|
|
{ "NtCreateProfile", func_NtCreateProfile },
|
|
{ "NtCreateThread", func_NtCreateThread },
|
|
{ "NtDeleteKey", func_NtDeleteKey },
|
|
{ "NtDuplicateObject", func_NtDuplicateObject },
|
|
{ "NtDuplicateToken", func_NtDuplicateToken },
|
|
{ "NtFilterToken", func_NtFilterToken },
|
|
{ "NtFreeVirtualMemory", func_NtFreeVirtualMemory },
|
|
{ "NtImpersonateAnonymousToken", func_NtImpersonateAnonymousToken },
|
|
{ "NtLoadUnloadKey", func_NtLoadUnloadKey },
|
|
{ "NtMapViewOfSection", func_NtMapViewOfSection },
|
|
{ "NtMutant", func_NtMutant },
|
|
{ "NtOpenKey", func_NtOpenKey },
|
|
{ "NtOpenProcessToken", func_NtOpenProcessToken },
|
|
{ "NtOpenThreadToken", func_NtOpenThreadToken },
|
|
{ "NtProtectVirtualMemory", func_NtProtectVirtualMemory },
|
|
{ "NtQueryInformationFile", func_NtQueryInformationFile },
|
|
{ "NtQueryInformationProcess", func_NtQueryInformationProcess },
|
|
{ "NtQueryInformationThread", func_NtQueryInformationThread },
|
|
{ "NtQueryInformationToken", func_NtQueryInformationToken },
|
|
{ "NtQueryKey", func_NtQueryKey },
|
|
{ "NtQueryObject", func_NtQueryObject },
|
|
{ "NtQueryOpenSubKeys", func_NtQueryOpenSubKeys },
|
|
{ "NtQuerySection", func_NtQuerySection },
|
|
{ "NtQuerySystemEnvironmentValue", func_NtQuerySystemEnvironmentValue },
|
|
{ "NtQuerySystemInformation", func_NtQuerySystemInformation },
|
|
{ "NtQueryValueKey", func_NtQueryValueKey },
|
|
{ "NtQueryVolumeInformationFile", func_NtQueryVolumeInformationFile },
|
|
{ "NtReadFile", func_NtReadFile },
|
|
{ "NtSaveKey", func_NtSaveKey},
|
|
{ "NtSetDefaultLocale", func_NtSetDefaultLocale },
|
|
{ "NtSetInformationFile", func_NtSetInformationFile },
|
|
{ "NtSetInformationProcess", func_NtSetInformationProcess },
|
|
{ "NtSetInformationThread", func_NtSetInformationThread },
|
|
{ "NtSetInformationToken", func_NtSetInformationToken },
|
|
{ "NtSetValueKey", func_NtSetValueKey},
|
|
{ "NtSetVolumeInformationFile", func_NtSetVolumeInformationFile },
|
|
{ "NtStartProfile", func_NtStartProfile },
|
|
{ "NtSystemInformation", func_NtSystemInformation },
|
|
{ "NtUnloadDriver", func_NtUnloadDriver },
|
|
{ "NtWriteFile", func_NtWriteFile },
|
|
{ "RtlAllocateHeap", func_RtlAllocateHeap },
|
|
{ "RtlBitmapApi", func_RtlBitmapApi },
|
|
{ "RtlComputePrivatizedDllName_U", func_RtlComputePrivatizedDllName_U },
|
|
{ "RtlCopyMappedMemory", func_RtlCopyMappedMemory },
|
|
{ "RtlCriticalSection", func_RtlCriticalSection },
|
|
{ "RtlDebugInformation", func_RtlDebugInformation },
|
|
{ "RtlDeleteAce", func_RtlDeleteAce },
|
|
{ "RtlDetermineDosPathNameType", func_RtlDetermineDosPathNameType },
|
|
{ "RtlDosApplyFileIsolationRedirection_Ustr", func_RtlDosApplyFileIsolationRedirection_Ustr },
|
|
{ "RtlDoesFileExists", func_RtlDoesFileExists },
|
|
{ "RtlDosPathNameToNtPathName_U", func_RtlDosPathNameToNtPathName_U },
|
|
{ "RtlDosSearchPath_U", func_RtlDosSearchPath_U },
|
|
{ "RtlDosSearchPath_Ustr", func_RtlDosSearchPath_Ustr },
|
|
{ "RtlFirstFreeAce", func_RtlFirstFreeAce },
|
|
{ "RtlGenerate8dot3Name", func_RtlGenerate8dot3Name },
|
|
{ "RtlGetFullPathName_U", func_RtlGetFullPathName_U },
|
|
{ "RtlGetFullPathName_Ustr", func_RtlGetFullPathName_Ustr },
|
|
{ "RtlGetFullPathName_UstrEx", func_RtlGetFullPathName_UstrEx },
|
|
{ "RtlGetLengthWithoutLastFullDosOrNtPathElement", func_RtlGetLengthWithoutLastFullDosOrNtPathElement },
|
|
{ "RtlGetLengthWithoutTrailingPathSeperators", func_RtlGetLengthWithoutTrailingPathSeperators },
|
|
{ "RtlGetLongestNtPathLength", func_RtlGetLongestNtPathLength },
|
|
{ "RtlGetNtProductType", func_RtlGetNtProductType },
|
|
{ "RtlGetProcessHeaps", func_RtlGetProcessHeaps },
|
|
{ "RtlGetProductInfo", func_RtlGetProductInfo },
|
|
{ "RtlGetUnloadEventTrace", func_RtlGetUnloadEventTrace },
|
|
{ "RtlHandle", func_RtlHandle },
|
|
{ "RtlImageDirectoryEntryToData", func_RtlImageDirectoryEntryToData },
|
|
{ "RtlImageRvaToVa", func_RtlImageRvaToVa },
|
|
{ "RtlIntSafe", func_RtlIntSafe },
|
|
{ "RtlIsNameInExpression", func_RtlIsNameInExpression},
|
|
{ "RtlIsNameLegalDOS8Dot3", func_RtlIsNameLegalDOS8Dot3 },
|
|
{ "RtlLocale", func_RtlLocale },
|
|
{ "RtlMemoryStream", func_RtlMemoryStream },
|
|
{ "RtlMultipleAllocateHeap", func_RtlMultipleAllocateHeap },
|
|
{ "RtlNtPathNameToDosPathName", func_RtlNtPathNameToDosPathName },
|
|
{ "RtlpApplyLengthFunction", func_RtlpApplyLengthFunction },
|
|
{ "RtlpEnsureBufferSize", func_RtlpEnsureBufferSize },
|
|
{ "RtlQueryEnvironmentVariable", func_RtlQueryEnvironmentVariable },
|
|
{ "RtlQueryEnvironmentVariable_U", func_RtlQueryEnvironmentVariable_U },
|
|
{ "RtlQueryTimeZoneInformation", func_RtlQueryTimeZoneInformation },
|
|
{ "RtlReAllocateHeap", func_RtlReAllocateHeap },
|
|
{ "RtlRemovePrivileges", func_RtlRemovePrivileges },
|
|
{ "RtlUnhandledExceptionFilter", func_RtlUnhandledExceptionFilter },
|
|
{ "RtlUnicodeStringToAnsiSize", func_RtlxUnicodeStringToAnsiSize }, /* For some reason, starting test name with Rtlx hides it */
|
|
{ "RtlUnicodeStringToAnsiString", func_RtlUnicodeStringToAnsiString },
|
|
{ "RtlUnicodeStringToCountedOemString", func_RtlUnicodeStringToCountedOemString },
|
|
{ "RtlUnicodeStringToOemSize", func_RtlxUnicodeStringToOemSize },
|
|
{ "RtlUnicodeToOemN", func_RtlUnicodeToOemN },
|
|
{ "RtlUpcaseUnicodeStringToCountedOemString", func_RtlUpcaseUnicodeStringToCountedOemString },
|
|
{ "RtlValidateUnicodeString", func_RtlValidateUnicodeString },
|
|
{ "StackOverflow", func_StackOverflow },
|
|
{ "TimerResolution", func_TimerResolution },
|
|
{ "UserModeException", func_UserModeException },
|
|
#ifdef _M_IX86
|
|
{ "RtlUnwind", func_RtlUnwind },
|
|
#endif
|
|
#ifdef _M_AMD64
|
|
{ "RtlCaptureContext", func_RtlCaptureContext },
|
|
{ "RtlVirtualUnwind", func_RtlVirtualUnwind },
|
|
#endif
|
|
|
|
{ 0, 0 }
|
|
};
|