Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Nov 3, 2024
1 parent 13469d0 commit eb5acdd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 35 deletions.
10 changes: 5 additions & 5 deletions dll/win32/KernelBase/wine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ list(APPEND SOURCE_STATIC
#file.c
loader.c
locale.c
main.c
memory.c
path.c
process.c
# main.c
# memory.c
# path.c
#process.c
#registry.c
security.c
string.c
sync.c
#sync.c
version.c
volume.c)

Expand Down
2 changes: 1 addition & 1 deletion dll/win32/kernel32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ set_module_type(kernel32 win32dll ENTRYPOINT DllMain 12)
set_subsystem(kernel32 console)
################# END HACK #################

target_link_libraries(kernel32 kernel32_vista_static kernel32_shared wine chkstk ${PSEH_LIB})
target_link_libraries(kernel32 kernelbase_static kernel32_vista_static kernel32_shared wine chkstk ${PSEH_LIB})
add_importlibs(kernel32 ntdll)
add_pch(kernel32 k32.h SOURCE)
add_dependencies(kernel32 psdk errcodes asm)
Expand Down
37 changes: 8 additions & 29 deletions dll/win32/kernel32/kernel32.spec
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,12 @@
@ stdcall CreateFiberEx(long long long ptr ptr)
@ stdcall -version=0x602+ CreateFile2(wstr long long long ptr)
@ stdcall CreateFileA(str long long ptr long long long)
@ stdcall -version=0x600+ CreateFileTransactedA(str long long ptr long long long ptr ptr ptr)
@ stdcall CreateFileMappingA(long ptr long long long str)
@ stdcall -stub -version=0x600+ CreateFileMappingNumaA(ptr ptr long long long str long)
@ stdcall -stub -version=0x600+ CreateFileMappingFromApp(long ptr long int64 wstr)
@ stdcall -stub -version=0x600+ CreateFileMappingNumaW(ptr ptr long long long wstr long)
@ stdcall CreateFileMappingW(long ptr long long long wstr)
@ stdcall -stub -version=0x600+ CreateFileTransactedA(str long long ptr long long ptr ptr ptr ptr)
@ stdcall -version=0x600+ CreateFileTransactedA(str long long ptr long long ptr ptr ptr ptr)
@ stdcall -version=0x600+ CreateFileTransactedW(wstr long long ptr long long ptr ptr ptr ptr)
@ stdcall CreateFileW(wstr long long ptr long long long)
@ stdcall CreateHardLinkA(str str ptr)
Expand Down Expand Up @@ -228,7 +227,6 @@
@ stdcall DeleteFileW(wstr)
@ stdcall -version=0x600+ DeleteProcThreadAttributeList(ptr)
# @ stub -version=0x601+ DisableThreadProfiling
@ stdcall -version=0x600+ DisassociateCurrentThreadFromCallback(ptr) NTDLL.TpDisassociateCallback
@ stdcall -version=0xA00+ DiscardVirtualMemory(ptr long)
@ stdcall DeleteTimerQueue(long)
@ stdcall DeleteTimerQueueEx(long long)
Expand All @@ -240,7 +238,7 @@
@ stdcall -version=0x601+ -arch=win64 DequeueUmsCompletionListItems(ptr long ptr)
@ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr)
@ stdcall DisableThreadLibraryCalls(ptr)
@ stub -version=0x600+ DisassociateCurrentThreadFromCallback
@ stdcall -version=0x600+ DisassociateCurrentThreadFromCallback(ptr) NTDLL.TpDisassociateCallback
@ stdcall DisconnectNamedPipe(long)
@ stdcall DnsHostnameToComputerNameA(str ptr ptr)
@ stdcall DnsHostnameToComputerNameW(wstr ptr ptr)
Expand Down Expand Up @@ -273,7 +271,7 @@
@ stdcall EnumResourceLanguagesW(long wstr wstr ptr long)
@ stdcall EnumResourceNamesA(long str ptr long)
@ stdcall -version=0x600+ EnumResourceNamesExA(long str ptr long long long)
@ stdcall-version=0x600+ EnumResourceNamesExW(long wstr ptr long long long)
@ stdcall -version=0x600+ EnumResourceNamesExW(long wstr ptr long long long)
@ stdcall EnumResourceNamesW(long wstr ptr long)
@ stdcall EnumResourceTypesA(long ptr long)
@ stdcall -version=0x600+ EnumResourceTypesExA(long ptr long long long)
Expand Down Expand Up @@ -601,7 +599,6 @@
@ stdcall GetOverlappedResult(long ptr ptr long)
@ stdcall -version=0x602+ GetOverlappedResultEx(long ptr ptr long long)
@ stdcall -version=0xA00+ GetUserDefaultGeoName(ptr long)
@ stdcall -version=0x600+ GetUserPreferredUILanguages(long ptr ptr ptr)
@ stdcall -version=0x602+ GetPackageFamilyName(long ptr ptr)
@ stdcall -version=0x602+ GetPackageFullName(long ptr ptr)
@ stdcall -version=0x602+ GetPackagesByPackageFamily(wstr ptr ptr ptr ptr)
Expand Down Expand Up @@ -830,7 +827,7 @@
@ stdcall IsProcessorFeaturePresent(long)
@ stdcall IsSystemResumeAutomatic()
@ stdcall -version=0x600+ IsThreadAFiber()
@ stdcall -version=0x600+ IsThreadpoolTimerSet NTDLL.TpIsTimerSet
@ stdcall -version=0x600+ IsThreadpoolTimerSet() NTDLL.TpIsTimerSet
@ stdcall IsTimeZoneRedirectionEnabled()
@ stub -version=0x600+ IsValidCalDateTime
@ stdcall IsValidCodePage(long)
Expand Down Expand Up @@ -915,7 +912,7 @@
@ stdcall MapViewOfFile(long long long long long)
@ stdcall MapViewOfFileEx(long long long long long ptr)
@ stub -version=0x600+ MapViewOfFileExNuma
@ stdcall version=0x602+ MapViewOfFileFromApp(long long int64 long) kernelbase.MapViewOfFileFromApp
@ stdcall -version=0x602+ MapViewOfFileFromApp(long long int64 long)
@ stdcall Module32First(long ptr)
@ stdcall Module32FirstW(long ptr)
@ stdcall Module32Next(long ptr)
Expand Down Expand Up @@ -987,15 +984,14 @@
@ stdcall PulseEvent(long)
@ stdcall PurgeComm(long long)

@ stdcall version=0x600+ QueryActCtxSettingsW(long ptr wstr wstr ptr long ptr)
@ stdcall -version=0x600+ QueryActCtxSettingsW(long ptr wstr wstr ptr long ptr)
@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
@ stdcall QueryDepthSList(ptr) ntdll.RtlQueryDepthSList
@ stdcall QueryDosDeviceA(str ptr long)
@ stdcall QueryDosDeviceW(wstr ptr long)
@ stdcall -version=0x600+ QueryFullProcessImageNameA(ptr long str ptr)
@ stdcall -version=0x600+ QueryFullProcessImageNameW(ptr long wstr ptr)
@ stdcall -version=0x600+ QueryIdleProcessorCycleTime(ptr ptr)
@ stub -version=0x600+ QueryIdleProcessorCycleTime
@ stdcall QueryInformationJobObject(long long ptr long ptr)
@ stdcall QueryMemoryResourceNotification(ptr ptr)
@ stdcall QueryPerformanceCounter(ptr)
Expand Down Expand Up @@ -1029,15 +1025,6 @@
@ stdcall ReadProcessMemory(long ptr ptr long ptr)
# @ stub -version=0x601+ ReadThreadProfilingData
@ stdcall -version=0x601+ RegCloseKey(long)
@ stdcall -version=0x601+ RegCreateKeyExA(long str long ptr long long ptr ptr ptr)
@ stdcall -version=0x601+ RegCreateKeyExW(long wstr long ptr long long ptr ptr ptr)
@ stdcall -version=0x601+ RegDeleteKeyExA(long str long long)
@ stdcall -version=0x601+ RegDeleteKeyExW(long wstr long long)
@ stdcall -version=0x601+ RegDeleteTreeA(long str)
@ stdcall -version=0x601+ RegDeleteTreeW(long wstr)
@ stdcall -version=0x601+ RegDeleteValueA(long str)
@ stdcall -version=0x601+ RegDeleteValueW(long wstr)
# stub -version=0x601+ RegDisablePredefinedCacheEx
@ stdcall -version=0x601+ RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -version=0x601+ RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -version=0x601+ RegEnumValueA(long long ptr ptr ptr ptr ptr ptr)
Expand All @@ -1052,11 +1039,6 @@
@ stdcall -version=0x601+ RegDeleteValueA(long str)
@ stdcall -version=0x601+ RegDeleteValueW(long wstr)
# stub -version=0x601+ RegDisablePredefinedCacheEx
@ stdcall -version=0x601+ RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -version=0x601+ RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -version=0x601+ RegEnumValueA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -version=0x601+ RegEnumValueW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -version=0x601+ RegFlushKey(long)
@ stdcall -version=0x601+ RegGetKeySecurity(long long ptr ptr)
@ stdcall -version=0x601+ RegGetValueA(long str str long ptr ptr ptr)
@ stdcall -version=0x601+ RegGetValueW(long wstr wstr long ptr ptr ptr)
Expand Down Expand Up @@ -1102,8 +1084,8 @@
@ stdcall ReleaseSemaphore(long long ptr)
@ stub -version=0x600+ ReleaseSemaphoreWhenCallbackReturns
@ stdcall RemoveDirectoryA(str)
@ stub -version=0x600+ RemoveDirectoryTransactedA
@ stub -version=0x600+ RemoveDirectoryTransactedW
@ stdcall -version=0x600+ RemoveDirectoryTransactedA(str ptr)
@ stdcall -version=0x600+ RemoveDirectoryTransactedW(wstr ptr)
@ stdcall RemoveDirectoryW(wstr)
@ stdcall RemoveLocalAlternateComputerNameA(str long)
@ stdcall RemoveLocalAlternateComputerNameW(wstr long)
Expand All @@ -1113,8 +1095,6 @@
@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
@ stdcall ReplaceFileA(str str str long ptr ptr)
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr)
@ stdcall -version=0x600+ RemoveDirectoryTransactedA(str ptr)
@ stdcall -version=0x600+ RemoveDirectoryTransactedW(wstr ptr)
@ stdcall -version=0x600+ RemoveDllDirectory(ptr)
# @ stub -version=0x600+ RemoveSecureMemoryCacheCallback
@ stub -version=0x600+ ReplacePartitionUnit
Expand Down Expand Up @@ -1370,7 +1350,6 @@
@ stdcall VirtualAlloc(ptr long long long)
@ stdcall VirtualAllocEx(long ptr long long long)
@ stdcall -version=0x600+ VirtualAllocExNuma(long ptr long long long long)
@ stub -version=0x600+ VirtualAllocExNuma
@ stdcall VirtualFree(ptr long long)
@ stdcall VirtualFreeEx(long ptr long long)
@ stdcall VirtualLock(ptr long)
Expand Down

0 comments on commit eb5acdd

Please sign in to comment.