-
Notifications
You must be signed in to change notification settings - Fork 116
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
QT6.5 依赖缺失(QT问题统一在这里回复) #71
Comments
是的,你提供的github仓库里的YY-Thunks带了try_get_module_d3d11之类的。很明显不是我这边的原版。 但是目标作者没有提供修改后的YY-Thunks源代码…… |
- 添加 SymSetSearchPathW - 添加 SymGetSearchPathW
- 添加 ConvertInterfaceLuidToIndex - 添加 ConvertInterfaceLuidToGuid
- 添加 SetProcessDEPPolicy - 添加 GetSystemDEPPolicy
- 添加 Direct3DCreate9Ex - 添加 D3D11CreateDevice - 添加 DWriteCreateFactory - 添加 CreateDXGIFactory1 - 添加 DXVA2CreateVideoService - 添加 UiaClientsAreListening - 添加 UiaHostProviderFromHwnd - 添加 UiaRaiseAutomationEvent - 添加 UiaRaiseAutomationPropertyChangedEvent - 添加 UiaReturnRawElementProvider - 添加 DrawThemeTextEx - 添加 GetThemeTransitionDuration - 添加 SetWindowThemeAttribute
- 添加 Shell_NotifyIconGetRect - 添加 SHGetStockIconInfo
- 添加 Shell_NotifyIconGetRect - 添加 SHGetStockIconInfo
#if (YY_Thunks_Support_Version < NTDDI_WIN6)
// Windows Vista [desktop apps only]
// Windows Server 2008 [desktop apps only]
__DEFINE_THUNK(
uxtheme,
28,
HRESULT,
STDAPICALLTYPE,
GetThemePartSize,
_In_ HTHEME hTheme,
_In_opt_ HDC hdc,
_In_ int iPartId,
_In_ int iStateId,
_In_opt_ LPCRECT prc,
_In_ enum THEMESIZE eSize,
_Out_ SIZE *psz)
{
if (auto const pGetThemePartSize = try_get_GetThemePartSize())
{
return pGetThemePartSize(hTheme, hdc, iPartId, iStateId, prc, eSize, psz);
}
return __HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
}
#endif // (YY_Thunks_Support_Version < NTDDI_WIN6) |
@lygstate 我本地的XP SP3这个GetThemePartSize导出函数是存在的。 |
- 添加 CreateDXGIFactory2 - 添加 InitializeTouchInjection - 添加 InjectTouchInput - 添加 GetCurrentPackageFullName - 添加 GetProcessDpiAwareness - 添加 GetAwarenessFromDpiAwarenessContext - 添加 AreDpiAwarenessContextsEqual - 添加 EnableNonClientDpiScaling
- 添加 CreateDXGIFactory2 - 添加 InitializeTouchInjection - 添加 InjectTouchInput - 添加 GetCurrentPackageFullName - 添加 GetProcessDpiAwareness - 添加 GetAwarenessFromDpiAwarenessContext - 添加 AreDpiAwarenessContextsEqual - 添加 EnableNonClientDpiScaling
- 添加 CreateDXGIFactory2 - 添加 InitializeTouchInjection - 添加 InjectTouchInput - 添加 GetCurrentPackageFullName - 添加 GetProcessDpiAwareness - 添加 GetAwarenessFromDpiAwarenessContext - 添加 AreDpiAwarenessContextsEqual - 添加 EnableNonClientDpiScaling
- 添加 GetPointerFrameTouchInfo - 添加 GetPointerFrameTouchInfoHistory - 添加 GetPointerInfo - 添加 GetPointerPenInfoHistory - 添加 SkipPointerFrameMessages - 添加 GetThreadDpiAwarenessContext - 添加 GetWindowDpiAwarenessContext - 添加 GetDisplayAutoRotationPreferences - 添加 SetDisplayAutoRotationPreferences
- 添加 CreateDXGIFactory2 - 添加 InitializeTouchInjection - 添加 InjectTouchInput - 添加 GetCurrentPackageFullName - 添加 GetProcessDpiAwareness - 添加 GetAwarenessFromDpiAwarenessContext - 添加 AreDpiAwarenessContextsEqual - 添加 EnableNonClientDpiScaling
- 添加 GetPointerFrameTouchInfo - 添加 GetPointerFrameTouchInfoHistory - 添加 GetPointerInfo - 添加 GetPointerPenInfoHistory - 添加 SkipPointerFrameMessages - 添加 GetThreadDpiAwarenessContext - 添加 GetWindowDpiAwarenessContext - 添加 GetDisplayAutoRotationPreferences - 添加 SetDisplayAutoRotationPreferences
this function still not adapted in the newest version. Returned monitor screen size and TRUE in the implantation of VxKex source code. I write an approachable code sample here instead of a PR, due to the un-synchronized (先占坑)
|
背景
我知道这不是yy-thunks 的问题,但是我 https://github.com/cxxzhang/qt6_5_for_xp 这里带的yy-thunks就不会依赖d3d11 ,这个的yy-thunks比原版的大是被他修改过的吗?
准备通过逆向手段分析上述修改版YY-Thunk obj文件,取其精华化。
需要处理的函数列表
Ncrypt.dll(cxxzhang分支下直接返回了失败,因为这是重要功能,没有直接采纳)
Shell32.dll(cxxzhang分支下直接返回了失败,但是直觉感觉这二个接口应该可以模拟)
d3d9.dll
d3d11.dll
DbgHelp.dll
dwrite.dll
dxgi.dll
dxva2.dll
uiautomationcore.dll
user32.dll
uxtheme.dll
iphlpapi.dll
kernel32.dll
api-ms-win-shcore-scaling-l1-1-1.dll
The text was updated successfully, but these errors were encountered: