Browse Source

* imagelist_cocreateinstance, a vista function added.

(cherry picked from commit b08a4584ca2665848b26be5c726f1a7e5d3b4544)
marcoonthegit 3 months ago
parent
commit
3d1cc04726
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/winunits-base/src/commctrl.pp

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

@@ -626,6 +626,7 @@ CONST
 
 function ImageList_Create(cx:cint;cy:cint;flags:UINT;cInitial:cint;cGrow:cint):HIMAGELIST; stdcall; external commctrldll name 'ImageList_Create';
 function ImageList_Destroy(himl:HIMAGELIST):BOOL; stdcall; external commctrldll name 'ImageList_Destroy';
+function ImageList_CoCreateInstance(const rclsid:TCLSID; unkOuter:IUnknown; const riid:TIID;out ppv):HRESULT;stdcall; external commctrldll name 'ImageList_CoCreateInstance';
 
 function ImageList_GetImageCount(himl:HIMAGELIST):cint; stdcall; external commctrldll name 'ImageList_GetImageCount';
 {$ifdef ie3plus}