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.

69 lines
1.8 KiB

  1. /*==========================================================================;
  2. *
  3. * Copyright (C) 1994-1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: ddraw16.h
  6. * Content: DirectDraw for Win95 16-bit header file
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 20-jan-95 craige initial implementation
  11. * 19-jun-95 craige tweaks for DCI support
  12. * 03-jul-95 craige stuff for bpp change
  13. *
  14. ***************************************************************************/
  15. #ifndef __DDRAW16_INCLUDED__
  16. #define __DDRAW16_INCLUDED__
  17. #include <windows.h>
  18. #include <print.h>
  19. #include <toolhelp.h>
  20. #include <string.h>
  21. #include <stdlib.h>
  22. #include "gdihelp.h"
  23. #include "dibeng.inc"
  24. #include "ver.h"
  25. extern UINT wFlatSel;
  26. extern LPVOID pWin16Lock;
  27. void SetSelLimit(UINT sel, DWORD limit);
  28. extern LPVOID WINAPI GetWin16Lock(void);
  29. extern void WINAPI EnterSysLevel(LPVOID);
  30. extern void WINAPI LeaveSysLevel(LPVOID);
  31. extern DWORD FAR PASCAL VFDQueryVersion( void );
  32. extern WORD FAR PASCAL VFDQuerySel( void );
  33. extern DWORD FAR PASCAL VFDQuerySize( void );
  34. extern DWORD FAR PASCAL VFDQueryBase( void );
  35. extern DWORD FAR PASCAL VFDBeginLinearAccess( void );
  36. extern DWORD FAR PASCAL VFDEndLinearAccess( void );
  37. extern void FAR PASCAL VFDReset( void );
  38. extern LPVOID FAR PASCAL LocalAllocSecondary( WORD, WORD );
  39. extern void FAR PASCAL LocalFreeSecondary( WORD );
  40. #pragma warning( disable: 4704)
  41. #define WIN95
  42. typedef BOOL FAR *LPBOOL;
  43. typedef struct _LARGE_INTEGER
  44. {
  45. DWORD LowPart;
  46. LONG HighPart;
  47. } LARGE_INTEGER;
  48. typedef struct _ULARGE_INTEGER
  49. {
  50. DWORD LowPart;
  51. DWORD HighPart;
  52. } ULARGE_INTEGER;
  53. #define NO_D3D
  54. #define NO_DDHELP
  55. #include "ddrawpr.h"
  56. #include "modex.h"
  57. #endif