Use the ExtractIconEx API function to read the icons. Use DrawIconEx to draw them. See the code for details.