Alpha version 0.10.2: returned uxtheme.dll loading for Windows XP.
This commit is contained in:
		
							parent
							
								
									ac7064963d
								
							
						
					
					
						commit
						247b77c784
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -72,11 +72,11 @@ void start() {
 | 
			
		|||
	load(LibShell32, "SHQueryUserNotificationState", SHQueryUserNotificationState);
 | 
			
		||||
	load(LibShell32, "SetCurrentProcessExplicitAppUserModelID", SetCurrentProcessExplicitAppUserModelID);
 | 
			
		||||
 | 
			
		||||
	auto version = QSysInfo::windowsVersion();
 | 
			
		||||
	if (version >= QSysInfo::WV_VISTA) {
 | 
			
		||||
	LibUxTheme = LoadLibrary(L"UXTHEME.DLL");
 | 
			
		||||
	load(LibUxTheme, "SetWindowTheme", SetWindowTheme);
 | 
			
		||||
 | 
			
		||||
	auto version = QSysInfo::windowsVersion();
 | 
			
		||||
	if (version >= QSysInfo::WV_VISTA) {
 | 
			
		||||
		LibWtsApi32 = LoadLibrary(L"WTSAPI32.DLL");
 | 
			
		||||
		load(LibWtsApi32, "WTSRegisterSessionNotification", WTSRegisterSessionNotification);
 | 
			
		||||
		load(LibWtsApi32, "WTSUnRegisterSessionNotification", WTSUnRegisterSessionNotification);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue