Martijn Laan 3 月之前
父節點
當前提交
e8078533cb
共有 2 個文件被更改,包括 2 次插入2 次删除
  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;