SAMPLE: DibSectn.exe Uses DIBSections in Win32 (186221)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Platform Software Development Kit (SDK) 1.0
  • Microsoft Windows 98
  • Microsoft Windows 95
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q186221

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 Download Center:
Release Date: Mar-20-1998

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbdownload kbFAQ kbfile KB186221