How can i get return 'HIMAGELIST' ?
Will do how and the possibility which will receive this 'hImageList' is?
ico := ICON_EXEREAD("test.exe")
DEFINE ICON oIcon RESOURCE ico
DEFINE WINDOW oWnd FROM 0, 0 TO 10, 10 TITLE "Test" ICON oIcon
ACTIVATE WINDOW oWnd
- Code: Select all Expand view RUN
HB_FUNC( ICON_EXEREAD )
{
HIMAGELIST hImageList;
SHFILEINFO sfi;
ZeroMemory(&sfi, sizeof(SHFILEINFO));
hImageList = (HIMAGELIST)SHGetFileInfo(hb_parc(1), 0, &sfi, sizeof(SHFILEINFO), SHGFI_SYSICONINDEX | SHGFI_LARGEICON );
if(hImageList) {
///////////////////////////////////////////////////
? How can i get (return hImageList)
///////////////////////////////////////////////////
}
}