Martijn Laan 2 months ago
parent
commit
e8078533cb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Components/NewUxTheme.pas
  2. 1 1
      Components/RestartManager.pas

+ 1 - 1
Components/NewUxTheme.pas

@@ -1103,7 +1103,7 @@ const
   themelib = 'uxtheme.dll';
 
 var
-  ThemeLibrary: THandle;
+  ThemeLibrary: HMODULE;
   ReferenceCount: Integer;  // We have to keep track of several load/unload calls.
 
 procedure FreeThemeLibrary;

+ 1 - 1
Components/RestartManager.pas

@@ -106,7 +106,7 @@ const
   restartmanagerlib = 'Rstrtmgr.dll';
 
 var
-  RestartManagerLibrary: THandle;
+  RestartManagerLibrary: HMODULE;
   ReferenceCount: Integer;  // We have to keep track of several load/unload calls.
 
 procedure FreeRestartManagerLibrary;