Thanks for the reply, I must have been looking at older documentation.

"GetIconInfo creates bitmaps for the hbmMask and hbmColor or members of ICONINFO. The calling application must manage these bitmaps and delete them with DeleteObject call when they are no longer necessary."

Are the bitmap handles in GetImageInfo() treated differently than GetIconInfo() ? The setup is the same, but I get the impression, the handles from GetImageInfo() should not be deleted?