UINT ExtractIconEx(
LPCTSTR lpszFile, // file name
int nIconIndex, // icon index
HICON *phiconLarge, // large icon array
HICON *phiconSmall, // small icon array
UINT nIcons // number of icons to extract
);
这个函数就可以了,看msdn吧,它说phiconLarge=NULL,phiconSmall =NULL返回值就是你要的结果了,呵呵