FrameBuffer SA

SUMMARY

This sample demonstrates a basic display driver frame buffer. The sample is a functional driver, rather than an example with partial code.

BUILDING THE SAMPLE

To build the sample, use the standard DDK build tool and follow the standard Microsoft® Windows® 2000 driver installation guide.

This sample works on both x86 and alpha platforms, is 64-bit compliant, and builds properly with Visual C 6.0. Both checked and free builds are available. The driver does not support Plug and Play or Power Management. Once built, the sample produces one binary: Framebuf.dll.

CODE TOUR

File Manifest

File		Description

Color.c		Color dithering support routines
Debug.c		Debug helper routines
Debug.h		Debug helper routines header
Driver.h	Prototypes for the display driver	
Enable.c	All functions that enable and disable the driver, the pdev, and the surface
Framebuf.rc	Resource file for the display driver
Makefile	Makefile required to build the driver
Palette.c	Color palette support
Pointer.c	The hardware pointer support for the display driver
Screen.c	Initializes the GDIINFO and DEVINFO structures for DrvEnablePDEV
Sources		The generic file for building the code sample

Top of page

© 1999 Microsoft Corporation