Microsoft KB Archive/186221

{|
 * width="100%"|

SAMPLE: DibSectn.exe Uses DIBSections in Win32

 * }

Q186221

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)
 * Microsoft Windows 98
 * Microsoft Windows 95
 * Microsoft Windows NT Server versions 3.51, 4.0
 * Microsoft Windows NT Workstation versions 3.51, 4.0
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional

-

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:

"DibSectn.exe" Release Date: Mar-20-1998

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

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that 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.

Additional query words: kbDSupport kbdsd kbBitmap kbDibSect kbGDI dib section dibsection

Keywords : kbfile kbOSWinNT350 kbOSWinNT351 kbOSWinNT400 kbOSWin2000 kbSDKWin32 kbOSWin95 kbOSWin98 kbGDIFAQ

Issue type :

Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT351xsearch kbWinNT400xsearch kbWinNTW351xsearch kbWinNTW351 kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Serv kbWinNTSsearch kbWinNTS400xsearch kbWinNTS400 kbWinNTS351 kbwin2000ServSearch kbwin2000Search kbwin2000ProSearch kbwin2000Pro kbWinNTS351xsearch kbWin32SDKSearch kbAudDeveloper kbWin95search kbWin98search kbSDKSearch kbWinAdvServSearch kbZNotKeyword3 kbWin32sSearch kbWin98