From 1f53188b5566243f03f4f681adbd3a15c9ca9e28 Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Sat, 21 Dec 2024 13:19:53 +0700 Subject: [PATCH] Try to fix ARM64 compile --- ExplorerPatcher/ExplorerPatcher.vcxproj | 4 +--- ExplorerPatcher/StartupSound.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ExplorerPatcher/ExplorerPatcher.vcxproj b/ExplorerPatcher/ExplorerPatcher.vcxproj index 437381b..338c0f8 100644 --- a/ExplorerPatcher/ExplorerPatcher.vcxproj +++ b/ExplorerPatcher/ExplorerPatcher.vcxproj @@ -244,9 +244,7 @@ true - - true - + true diff --git a/ExplorerPatcher/StartupSound.h b/ExplorerPatcher/StartupSound.h index 69ba40c..dcc9d78 100644 --- a/ExplorerPatcher/StartupSound.h +++ b/ExplorerPatcher/StartupSound.h @@ -31,7 +31,7 @@ BOOL AreLogonLogoffShutdownSoundsEnabled(); HRESULT HookLogonSound(); BOOL InitSoundWindow(); void TermSoundWindow(); -HRESULT SHPlaySound(LPCWSTR pszSound, DWORD dwFlags); +__declspec(dllexport) HRESULT SHPlaySound(LPCWSTR pszSound, DWORD dwFlags); #ifdef __cplusplus }