What does GDI use and for?
Nothing.
The and are completely ignored by GDI when loading a bitmap. The values are there for the benefit of image-editing programs who want to record additional information about the bitmap, but GDI ignores them.
Similarly, the and functions update a structure associated with each bitmap, but GDI ...