Code Displays 256-Color DIB on Standard VGA (82903)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q82903

SUMMARY

Windows 3.1 provides the DisplayDib function to display a 256-color bitmap image on a standard (16 color) VGA display. DisplayDib reduces the display resolution to 320x200 or 320x240 and centers the bitmap on the screen, clipping the image as necessary.

DisplayDib was first provided by the Multimedia Extensions to Windows version 1.0. It has been tested with, and is supported by, Window 3.1.

DISPDIB is a file in the Microsoft Download Center that contains a dynamic-link library (DLL) with the executable code for the DisplayDib function. DISPDIB also includes a header file and an import library file.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
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.

Modification Type:MinorLast Reviewed:2/11/2005
Keywords:kbdownload kbdownload kb16bitonly kbfile kbinfo kbSample KB82903 kbAudDeveloper