Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

让.NET 8/9 支持 Windows XP RTM(.NET相关程序API缺失统一在这里回复) #66

Open
51 of 81 tasks
lingsg opened this issue Nov 16, 2023 · 1 comment
Open
51 of 81 tasks

Comments

@lingsg
Copy link

lingsg commented Nov 16, 2023

.NET 8/ Naitve AOT依赖下列函数,打✔表示API已经兼容完成,其他则代表任然需要兼容。

注意:该列表为全集,实际情况由于链接器优化,往往不会使用到所有的函数。

.NET 8/9新增缺失清单

ADVAPI32.DLL

Windows XP RTM

  • EventActivityIdControl
  • EventRegister
  • EventUnregister
  • EnumerateTraceGuidsEx
  • EventWriteTransfer
  • EventEnabled
  • EventWrite
  • EventWriteString

BCRYPT.DLL

Windows 7 SP1

* [ ] BCryptKeyDerivation 微软源代码已经做了判断Win8一下不会调用这个函数

Windows Vista RTM

  • BCryptDeriveKeyPBKDF2

Windows XP RTM

  • BCryptHashData
  • BCryptGetProperty
  • BCryptGenerateKeyPair
  • BCryptFinishHash
  • BCryptFinalizeKeyPair
  • BCryptExportKey
  • BCryptDecrypt
  • BCryptEncrypt
  • BCryptCreateHash
  • BCryptImportKeyPair
  • BCryptDestroyHash
  • BCryptSetProperty
  • BCryptDestroyKey
  • BCryptImportKey
  • BCryptGenerateSymmetricKey
  • BCryptSignHash
  • BCryptVerifySignature

Crypt32.dll

Windows XP RTM

  • CryptProtectMemory
  • CryptUnprotectMemory
  • CryptImportPublicKeyInfoEx2

IPHLPAPI.DLL

Windows XP RTM

  • if_nametoindex
  • CancelMibChangeNotify2
  • NotifyStableUnicastIpAddressTable

KERNEL32.DLL

Windows 7 RTM

  • CopyContext
  • InitializeContext
  • GetEnabledXStateFeatures
  • SetXStateFeaturesMask

Windows Vista RTM

  • FindStringOrdinal
  • QueryUnbiasedInterruptTime
  • GetProcessGroupAffinity
  • SetThreadIdealProcessorEx
  • GetThreadIdealProcessorEx

Windows XP RTM

  • CloseThreadpoolIo
  • CreateThreadpoolIo
  • StartThreadpoolIo
  • CancelThreadpoolIo
  • SetProcessWorkingSetSizeEx
  • GetProcessWorkingSetSizeEx
  • FindNLSStringEx
  • GetUserPreferredUILanguages
  • IsNLSDefinedString
  • EnumTimeFormatsEx
  • GetCalendarInfoEx
  • GetNLSVersionEx

NCRYPT.DLL

Windows 7 SP1

  • NCryptCloseProtectionDescriptor
  • NCryptCreateProtectionDescriptor
  • NCryptGetProtectionDescriptorInfo
  • NCryptProtectSecret
  • NCryptUnprotectSecret

Windows XP RTM

  • NCryptImportKey
  • NCryptExportKey
  • NCryptDeleteKey
  • NCryptCreatePersistedKey
  • NCryptFinalizeKey
  • NCryptOpenStorageProvider
  • NCryptGetProperty
  • NCryptSetProperty
  • NCryptOpenKey
  • NCryptFreeObject
  • NCryptEncrypt
  • NCryptDecrypt
  • NCryptDeriveKey
  • NCryptSecretAgreement
  • NCryptSignHash
  • NCryptVerifySignature

Normaliz.dll

Windows XP RTM(这部分暂时认为已经解决,因为程序可以在根目录放置微软的的IDN运行库解决)

  • IdnToAscii (微软IDN运行库提供)
  • IdnToUnicode (微软IDN运行库提供)
  • IsNormalizedString (微软IDN运行库提供)
  • NormalizeString (微软IDN运行库提供)
    IDN运行库.zip

Ws2_32.dll

Windows 7 SP1

  • GetAddrInfoExCancel

Windows XP RTM

  • FreeAddrInfoExW
  • GetAddrInfoExW
@ghost
Copy link

ghost commented Apr 15, 2024

.net9 支持 x86 aot, YY-Thunks 支持就太好了

mingkuang-Chuyu added a commit that referenced this issue May 2, 2024
  - 新增GetProcessGroupAffinity
  - 新增QueryUnbiasedInterruptTime
  - 新增FindStringOrdinal
  - 新增GetEnabledXStateFeatures
  - 新增SetXStateFeaturesMask
  - 新增InitializeContext
  - 新增InitializeContext2
  - 新增LocateXStateFeature
@mingkuang-Chuyu mingkuang-Chuyu added 进度:等待发布 处理完毕,耐心等待新版本。 and removed 方案:以后再说 labels May 3, 2024
@mingkuang-Chuyu mingkuang-Chuyu changed the title 让.NET 8 支持XP 让.NET 8 支持 Windows Vista RTM May 3, 2024
@mingkuang-Chuyu mingkuang-Chuyu added 进度:处理完成 and removed 进度:等待发布 处理完毕,耐心等待新版本。 labels May 3, 2024
@mingkuang-Chuyu mingkuang-Chuyu changed the title 让.NET 8 支持 Windows Vista RTM 让.NET 8/9 支持 Windows Vista RTM May 5, 2024
@mingkuang-Chuyu mingkuang-Chuyu changed the title 让.NET 8/9 支持 Windows Vista RTM 让.NET 8/9 支持 Windows XP RTM May 5, 2024
mingkuang-Chuyu added a commit that referenced this issue May 6, 2024
  - 添加 CopyContext
  - 添加 SetThreadIdealProcessorEx
  - 添加 GetThreadIdealProcessorEx
  - 添加 EventActivityIdControl
  - 添加 EventRegister
  - 添加 EventUnregister
  - 添加 EnumerateTraceGuidsEx
  - 添加 EventEnabled
  - 添加 EventWrite
  - 添加 EventWriteTransfer
  - 添加 EventWriteEx
  - 添加 ConvertInterfaceIndexToLuid
  - 添加 ConvertInterfaceLuidToNameW(A)
  - 添加 ConvertInterfaceNameToLuidW(A)
  - 添加 if_nametoindex
  - 添加 if_indextoname
mingkuang-Chuyu added a commit that referenced this issue May 6, 2024
  - 添加 CopyContext
  - 添加 SetThreadIdealProcessorEx
  - 添加 GetThreadIdealProcessorEx
  - 添加 EventActivityIdControl
  - 添加 EventRegister
  - 添加 EventUnregister
  - 添加 EnumerateTraceGuidsEx
  - 添加 EventEnabled
  - 添加 EventWrite
  - 添加 EventWriteTransfer
  - 添加 EventWriteEx
  - 添加 ConvertInterfaceIndexToLuid
  - 添加 ConvertInterfaceLuidToNameW(A)
  - 添加 ConvertInterfaceNameToLuidW(A)
  - 添加 if_nametoindex
  - 添加 if_indextoname
mingkuang-Chuyu added a commit that referenced this issue May 6, 2024
  - 添加 GetUserPreferredUILanguages
  - 添加 EventWriteString
  - 添加 CryptProtectMemory
  - 添加 CryptUnprotectMemory
  - 添加 EnumTimeFormatsEx
  - 添加 GetCalendarInfoEx
  - 添加 GetNLSVersionEx
  - 添加 IsNLSDefinedString
@Chuyu-Team Chuyu-Team deleted a comment from wwh1004 May 6, 2024
@Chuyu-Team Chuyu-Team deleted a comment from MouriNaruto May 6, 2024
mingkuang-Chuyu added a commit that referenced this issue May 6, 2024
  - 添加 SetProcessWorkingSetSizeEx
  - 添加 GetProcessWorkingSetSizeEx
mingkuang-Chuyu added a commit that referenced this issue May 12, 2024
  - BCryptGetProperty
  - BCryptCreateHash
  - BCryptDestroyHash
  - BCryptHashData
  - BCryptFinishHash
mingkuang-Chuyu added a commit that referenced this issue May 12, 2024
  - 添加 BCryptGetProperty
  - 添加 BCryptCreateHash
  - 添加 BCryptDestroyHash
  - 添加 BCryptHashData
  - 添加 BCryptFinishHash
  - 添加 BCryptDeriveKeyPBKDF2
  - 添加 BCryptDeriveKeyCapi
mingkuang-Chuyu added a commit that referenced this issue May 13, 2024
  - 添加 BCryptGetProperty
  - 添加 BCryptCreateHash
  - 添加 BCryptDestroyHash
  - 添加 BCryptHashData
  - 添加 BCryptFinishHash
  - 添加 BCryptDeriveKeyPBKDF2
  - 添加 BCryptDeriveKeyCapi
mingkuang-Chuyu added a commit that referenced this issue May 13, 2024
  - 添加 BCryptGetProperty
  - 添加 BCryptCreateHash
  - 添加 BCryptDestroyHash
  - 添加 BCryptHashData
  - 添加 BCryptFinishHash
  - 添加 BCryptDeriveKeyPBKDF2
  - 添加 BCryptDeriveKeyCapi
mingkuang-Chuyu added a commit that referenced this issue May 13, 2024
  - 添加 BCryptGetProperty
  - 添加 BCryptCreateHash
  - 添加 BCryptDestroyHash
  - 添加 BCryptHashData
  - 添加 BCryptFinishHash
  - 添加 BCryptDeriveKeyPBKDF2
  - 添加 BCryptDeriveKeyCapi
mingkuang-Chuyu added a commit that referenced this issue May 14, 2024
  - 添加 GetAddrInfoExCancel
  - 添加 GetAddrInfoExW(A)
  - 添加 GetAddrInfoExOverlappedResult
  - 添加 FreeAddrInfoEx(W)
  - 添加 GetAddrInfoW
  - 添加 FreeAddrInfoW
@mingkuang-Chuyu mingkuang-Chuyu changed the title 让.NET 8/9 支持 Windows XP RTM 让.NET 8/9 支持 Windows XP RTM(.NET相关程序API缺失统一在这里回复) May 15, 2024
mingkuang-Chuyu added a commit that referenced this issue May 17, 2024
  - 添加 BCryptSetProperty
  - 添加 BCryptEncrypt
  - 添加 BCryptDecrypt
  - 添加 BCryptGenerateSymmetricKey
  - 添加 BCryptDestroyKey
  - 添加 BCryptExportKey
  - 添加 BCryptImportKey
mingkuang-Chuyu added a commit that referenced this issue May 19, 2024
  - 现有WaitForThreadpoolWorkCallbacks等函数添加Cancel支持
  - 添加 CreateThreadpoolIo
  - 添加 CloseThreadpoolIo
  - 添加 StartThreadpoolIo
  - 添加 CancelThreadpoolIo
  - 添加 WaitForThreadpoolIoCallbacks
mingkuang-Chuyu added a commit that referenced this issue May 19, 2024
  - 现有WaitForThreadpoolWorkCallbacks等函数添加Cancel支持
  - 添加 CreateThreadpoolIo
  - 添加 CloseThreadpoolIo
  - 添加 StartThreadpoolIo
  - 添加 CancelThreadpoolIo
  - 添加 WaitForThreadpoolIoCallbacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants