从执行文件中获取图标
HICON ExtractIcon(
HINSTANCE hInst, // instance handle
LPCTSTR lpszExeFileName, // name of file
UINT nIconIndex // index of icon
);
UINT ExtractIconEx(
LPCTSTR lpszFile, // name of file
int nIconIndex, // index of icon
HICON FAR *phiconLarge, // array of large icons
HICON FAR *phiconSmall, // array of small icons
UINT nIcons // number of icons to extract
);
HICON ExtractIcon(
HINSTANCE hInst, // instance handle
LPCTSTR lpszExeFileName, // name of file
UINT nIconIndex // index of icon
);
UINT ExtractIconEx(
LPCTSTR lpszFile, // name of file
int nIconIndex, // index of icon
HICON FAR *phiconLarge, // array of large icons
HICON FAR *phiconSmall, // array of small icons
UINT nIcons // number of icons to extract
);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货