From 576654b6173e97425411010b2f40b3e9519b85b8 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周三, 07 5月 2025 18:44:38 +0800
Subject: [PATCH] fix possible QWKQuick crash

---
 src/core/shared/qwkwindowsextra_p.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/core/shared/qwkwindowsextra_p.h b/src/core/shared/qwkwindowsextra_p.h
index 3bd086e..a173be9 100644
--- a/src/core/shared/qwkwindowsextra_p.h
+++ b/src/core/shared/qwkwindowsextra_p.h
@@ -51,6 +51,7 @@
 extern "C" {
     UINT    WINAPI GetDpiForWindow(HWND);
     int     WINAPI GetSystemMetricsForDpi(int, UINT);
+    BOOL    WINAPI AdjustWindowRectExForDpi(LPRECT, DWORD, BOOL, DWORD, UINT);
     HRESULT WINAPI GetDpiForMonitor(HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *);
     HRESULT WINAPI DwmFlush();
     HRESULT WINAPI DwmIsCompositionEnabled(BOOL*);

--
Gitblit v1.9.1