From 3ea2905a170aed087a3102c530c26377d9bf4bff Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 5 May 2026 23:00:27 -0700 Subject: [PATCH] Mouse::SetDpi was missing from DLL version --- Inc/Mouse.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Inc/Mouse.h b/Inc/Mouse.h index 186b1920..97675cf8 100644 --- a/Inc/Mouse.h +++ b/Inc/Mouse.h @@ -154,21 +154,21 @@ namespace DirectX #ifdef USING_COREWINDOW DIRECTX_TOOLKIT_API void __cdecl SetWindow(ABI::Windows::UI::Core::ICoreWindow* window); #ifdef __cplusplus_winrt - DIRECTX_TOOLKIT_API void __cdecl SetWindow(Windows::UI::Core::CoreWindow^ window) + DIRECTX_TOOLKIT_API inline void __cdecl SetWindow(Windows::UI::Core::CoreWindow^ window) { // See https://msdn.microsoft.com/en-us/library/hh755802.aspx SetWindow(reinterpret_cast(window)); } #endif #ifdef CPPWINRT_VERSION - DIRECTX_TOOLKIT_API void __cdecl SetWindow(winrt::Windows::UI::Core::CoreWindow window) + DIRECTX_TOOLKIT_API inline void __cdecl SetWindow(winrt::Windows::UI::Core::CoreWindow window) { // See https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/interop-winrt-abi SetWindow(reinterpret_cast(winrt::get_abi(window))); } #endif - static void __cdecl SetDpi(float dpi); + DIRECTX_TOOLKIT_API static void __cdecl SetDpi(float dpi); #elif defined(WM_USER) DIRECTX_TOOLKIT_API void __cdecl SetWindow(HWND window); DIRECTX_TOOLKIT_API static void __cdecl ProcessMessage(UINT message, WPARAM wParam, LPARAM lParam);