Browse Source

Incorrect function name imported from `comctl32.dll` - for `LoadIconWithScaleDown` function.

paweld 2 years ago
parent
commit
2b63c02bc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/winunits-base/src/commctrl.pp

+ 1 - 1
packages/winunits-base/src/commctrl.pp

@@ -9898,7 +9898,7 @@ type _LI_METRIC= (
 		 );
 
 Function LoadIconMetric( hinst:HINST; pszName:LPCWStr;lims:cint; var phico: HICON ):HRESULT; stdcall; external commctrldll name 'LoadIconMetric';
-Function LoadIconWithScaleDown( hinst:HINST; pszName:LPCWStr;cx:cint;cy:cint;var phico: HICON ):HRESULT; stdcall; external commctrldll name 'LoadIconMetric';
+Function LoadIconWithScaleDown( hinst:HINST; pszName:LPCWStr;cx:cint;cy:cint;var phico: HICON ):HRESULT; stdcall; external commctrldll name 'LoadIconWithScaleDown';
 
 {$endif}