diff options
Diffstat (limited to 'setup_native/source/win32/customactions/shellextensions/startmenuicon.cxx')
-rw-r--r-- | setup_native/source/win32/customactions/shellextensions/startmenuicon.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/startmenuicon.cxx b/setup_native/source/win32/customactions/shellextensions/startmenuicon.cxx index 22309d585b08..ad736270b2d2 100644 --- a/setup_native/source/win32/customactions/shellextensions/startmenuicon.cxx +++ b/setup_native/source/win32/customactions/shellextensions/startmenuicon.cxx @@ -35,9 +35,9 @@ extern "C" UINT __stdcall InstallStartmenuFolderIcon( MSIHANDLE handle ) #ifdef _WIN32_WINNT_WINBLUE bool const bIsVistaOrLater = IsWindowsVistaOrGreater(); #else - OSVERSIONINFO osverinfo; - osverinfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); - GetVersionEx( &osverinfo ); + OSVERSIONINFOW osverinfo; + osverinfo.dwOSVersionInfoSize = sizeof(osverinfo); + GetVersionExW( &osverinfo ); bool const bIsVistaOrLater = (osverinfo.dwMajorVersion >= 6); #endif |