The following collection of books, articles, and sample code may help clarify the use of DIBs, provide insight into custom drawing routines, or generally ease the transition from device-dependent bitmaps to WinGDCs. All of these are available on the Microsoft Developer Network CD or through the Microsoft Developer Relations Group. Some are included with the Windows SDK.
Foley, van Dam, Feiner, and Hughes, Computer Graphics: Principles and Practice, Second Edition, Addison-Wesley, 1991
Gery, Ron, "Using DIBs with Palettes," Microsoft Technical Article, 3 March 1992
Gery, Ron, "DIBs and Their Use," Microsoft Technical Article, 20 March 1992
Gery, Ron, "The Palette Manager: How and Why," Microsoft Technical Article, 23 March 1992
Petzold, Charles, "The Device-Independent Bitmap (DIB)," Programming Windows 3.1, Microsoft Press, 1992, pp. 607-619
Rodent, Herman, "Animation In Windows," Microsoft Technical Article, 28 April 1993
"How To Use a DIB Stored as a Windows Resource," Microsoft PSS Article Q67883, 26 April 1993
"Multimedia Video Techniques," Microsoft Technical Article, 20 March 1992
Windows 3.1 Software Development Kit samples: DIBIT, DIBVIEW, CROPDIB, WINCAP, SHOWDIB, FADE
Microsoft Technical Samples, TRIQ, draws triangles or boxes directly into device-independent bitmap memory.