Suppose I have a .ico file stored in resources. This file has, say, 3 icons combined vertically. All of those 3 images have the same size.

Example:
Name:  333.png
Views: 204
Size:  2.2 KB

Is there a way to extract each of those files and get an HICON?

LoadImage only gives height and width which is not what I'm looking for.

Basically, I'm trying to avoid to load them separately each with its own resource ID.

Thanks in advance.