Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
3.1 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  4. <META NAME="Generator" CONTENT="Microsoft Word 97">
  5. <TITLE>S3</TITLE>
  6. <META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
  7. </HEAD>
  8. <BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
  9. <FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">S3</A> </H2>
  10. <H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  11. Display sample driver implementation is covered in this sample. New technologies used include video memory management. <P>
  12. The sample is a functional driver, rather than an example with partial code.<P>
  13. <H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  14. To build the sample, use the DDK building tool. There are no special installation instructions or known build errors or warnings.<P>
  15. The sample works on both x86 and alpha platforms and is 64-bit compliant. It builds properly with Visual C 6.0. Both checked and free builds are available. The sample does not support Plug and Play or Power Management. Once built, it produces one binary: S3legacy.dll. <P>
  16. <H3>CODE TOUR</H3>
  17. <H4>File Manifest</H4>
  18. </FONT><U><PRE>File&#9;&#9;Description
  19. </U>
  20. Bank.c&#9; All the banking code for the display driver.
  21. Bitblt.c&#9;High-level DrvBitBlt and DrvCopyBits functions
  22. Bltio.c&#9; The low-level in/out blt functions
  23. Bltmm.c&#9; The low-level memory-mapped IO blt functions
  24. Brush.c&#9; Handles all brush/pattern initialization and realization
  25. Ddraw.c&#9; Implements all the DirectDraw components for the driver
  26. Debug.c&#9; Debug helper routines
  27. Debug.h&#9; Debug helper routines header
  28. Driver.h&#9;Prototypes for the display driver
  29. Enable.c&#9;All functions that enable and disable the driver, the pdev, and the surface
  30. Fastfill.c&#9;Fast routine for drawing polygons that aren't complex in shape
  31. Fillpath.c&#9;The DrvFillPath routine
  32. Heap.c&#9; All the routines for an off-screen video heap manager
  33. Hw.h&#9; All the hardware specific driver file stuff
  34. Lines.c&#9; Required GDI line support routines
  35. Lines.h&#9; Line drawing constants and structures
  36. Lineto.c&#9;Line drawing routines
  37. Makefile&#9;Makefile required to build the driver
  38. Misc.c&#9; Miscellaneous common routines
  39. Palette.c&#9;Color palette support
  40. Pointer.c&#9;The hardware pointer support for the display driver
  41. Precomp.h&#9;Common headers used throughout the display driver
  42. Res.rc&#9; Resource file for the display driver
  43. Sources&#9; The generic file for building the code sample
  44. Str.c&#9; Routines for the partially hardware accelerated StretchBlt
  45. Stretch.c&#9;StretchBlt routines
  46. Strips.c&#9;Another line drawing routines
  47. Textout.c&#9;All text drawing routines
  48. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  49. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  50. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  51. <P></TD>
  52. </TR>
  53. </TABLE>
  54. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1998 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  55. </HTML>