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 }