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.

28 lines
1.2 KiB

  1. /*==========================================================================;
  2. *
  3. * Copyright (C) 1994-1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: modex.h
  6. * Content: DirectDraw modex support
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 20-aug-95 craige created
  11. * 22-aug-95 toddla added this nifty comment block
  12. * 14-dec-96 jeffno Added prototypes for new ModeX modeset code in modex.c
  13. *
  14. ***************************************************************************/
  15. LONG DDAPI ModeX_SetMode(UINT wWidth, UINT wHeight, UINT wStandardVGAFlag );
  16. LONG DDAPI ModeX_RestoreMode(void);
  17. LONG DDAPI ModeX_SetPaletteEntries(UINT wBase, UINT wNumEntries, LPPALETTEENTRY lpColorTable);
  18. LONG DDAPI ModeX_Flip(DWORD lpBackBuffer);
  19. LONG SetVGAForModeX(UINT wWidth, UINT wHeight);
  20. extern void NEAR PASCAL SetMode320x200x8(void);
  21. extern void NEAR PASCAL SetMode320x240x8(void);
  22. extern void NEAR PASCAL SetMode320x400x8(void);
  23. extern void NEAR PASCAL SetPalette(int start, int count, void far *pPal);
  24. extern void NEAR PASCAL PixBlt(int xExt, int yExt,char far *pBits, long offset, int WidthBytes);
  25. extern void NEAR PASCAL FlipPage(void);