static int GetIconsCountInFile(string fileName) { return ExtractIconEx(fileName, -1, null, null, 0); }