diff options
author | Zufu Liu <unknown> | 2024-05-10 08:36:10 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2024-05-10 08:36:10 +1000 |
commit | 8038e25ab6ca8717635fea765aed8e31a6fbb600 (patch) | |
tree | d8f77b89ef89236eba9d497ec3f8dd25a0081eac | |
parent | d37feef72ce5c132f8fc1cc2cbadf3ee027a5471 (diff) | |
download | scintilla-mirror-8038e25ab6ca8717635fea765aed8e31a6fbb600.tar.gz |
Bug [#2321]. Remove unused variable and declaration.
-rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 2a5553f68..7b1dffa29 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -171,9 +171,6 @@ GetWindowDpiAwarenessContextSig fnGetWindowDpiAwarenessContext = nullptr; using GetScaleFactorForMonitorSig = HRESULT(WINAPI *)(HMONITOR, DEVICE_SCALE_FACTOR *); GetScaleFactorForMonitorSig fnGetScaleFactorForMonitor = nullptr; -using GetThreadDpiAwarenessContextSig = DPI_AWARENESS_CONTEXT(WINAPI *)(); -GetThreadDpiAwarenessContextSig fnGetThreadDpiAwarenessContext = nullptr; - using SetThreadDpiAwarenessContextSig = DPI_AWARENESS_CONTEXT(WINAPI *)(DPI_AWARENESS_CONTEXT); SetThreadDpiAwarenessContextSig fnSetThreadDpiAwarenessContext = nullptr; @@ -182,7 +179,6 @@ void LoadDpiForWindow() noexcept { fnGetDpiForWindow = DLLFunction<GetDpiForWindowSig>(user32, "GetDpiForWindow"); fnGetSystemMetricsForDpi = DLLFunction<GetSystemMetricsForDpiSig>(user32, "GetSystemMetricsForDpi"); fnAdjustWindowRectExForDpi = DLLFunction<AdjustWindowRectExForDpiSig>(user32, "AdjustWindowRectExForDpi"); - fnGetThreadDpiAwarenessContext = DLLFunction<GetThreadDpiAwarenessContextSig>(user32, "GetThreadDpiAwarenessContext"); fnSetThreadDpiAwarenessContext = DLLFunction<SetThreadDpiAwarenessContextSig>(user32, "SetThreadDpiAwarenessContext"); using GetDpiForSystemSig = UINT(WINAPI *)(void); |