That is correct. But in Day 4 CreateDIBSection is removed completely. HBITMAP it returned was never used anyway.
Oh I see. Thanks for clarifying it for me!
While we're on the topic, I have another small question for you regarding CreateDIBSection(). If a DIBSection is independent of any device, why does it need a device context?
I've tried to pass NULL for the device context and the program worked just the same.