SAMPLE: DibSectn.exe Uses DIBSections in Win32

ID: Q186221

The information in this article applies to:

SUMMARY

DibSectn.exe is a sample that demonstrates how to use DIBSections in Win32 applications. Written in C, this sample is constructed in the form of a DLL, which makes it easy to call from other programs.

DIBSections are commonly used to bridge the gap between device dependent bitmaps (DDBs) and device independent bitmaps (DIBs). This sample contains code which loads, draws, stores, and otherwise manipulates and provides access to DIBSections.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ DibSectn.exe (size: 40605 bytes) 
                 (contains the entire sample project and pre-built DLL)


Release Date: Mar-20-1998

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

Included in the sample is the pre-built DLL, which houses the functions in the sample. In the header file are sample declares for calling the functions in the sample from within Visual Basic.

For more information, please read the comments in the .c and .h files in the sample.

Additional query words: kbDSupport kbdsd kbBitmap kbDibSect kbGDI

Version           : WINDOWS:95,98;WINNT:3.50,3.51,4.0,5.0;
Platform          : Win95 WINDOWS winnt

Last Reviewed: May 27, 1998