mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Alpha version 0.10.2: returned uxtheme.dll loading for Windows XP.
This commit is contained in:
@@ -72,11 +72,11 @@ void start() {
|
|||||||
load(LibShell32, "SHQueryUserNotificationState", SHQueryUserNotificationState);
|
load(LibShell32, "SHQueryUserNotificationState", SHQueryUserNotificationState);
|
||||||
load(LibShell32, "SetCurrentProcessExplicitAppUserModelID", SetCurrentProcessExplicitAppUserModelID);
|
load(LibShell32, "SetCurrentProcessExplicitAppUserModelID", SetCurrentProcessExplicitAppUserModelID);
|
||||||
|
|
||||||
|
LibUxTheme = LoadLibrary(L"UXTHEME.DLL");
|
||||||
|
load(LibUxTheme, "SetWindowTheme", SetWindowTheme);
|
||||||
|
|
||||||
auto version = QSysInfo::windowsVersion();
|
auto version = QSysInfo::windowsVersion();
|
||||||
if (version >= QSysInfo::WV_VISTA) {
|
if (version >= QSysInfo::WV_VISTA) {
|
||||||
LibUxTheme = LoadLibrary(L"UXTHEME.DLL");
|
|
||||||
load(LibUxTheme, "SetWindowTheme", SetWindowTheme);
|
|
||||||
|
|
||||||
LibWtsApi32 = LoadLibrary(L"WTSAPI32.DLL");
|
LibWtsApi32 = LoadLibrary(L"WTSAPI32.DLL");
|
||||||
load(LibWtsApi32, "WTSRegisterSessionNotification", WTSRegisterSessionNotification);
|
load(LibWtsApi32, "WTSRegisterSessionNotification", WTSRegisterSessionNotification);
|
||||||
load(LibWtsApi32, "WTSUnRegisterSessionNotification", WTSUnRegisterSessionNotification);
|
load(LibWtsApi32, "WTSUnRegisterSessionNotification", WTSUnRegisterSessionNotification);
|
||||||
|
Reference in New Issue
Block a user