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.

36 lines
1.1 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: mmdd.H
  6. * Content: DDRAW.DLL initialization for MMOSA/Native platforms
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 15-may-95 scottle created it
  11. *
  12. ***************************************************************************/
  13. #ifdef MMOSA
  14. #pragma message("Including MMDD.H")
  15. #include <mmosa.h>
  16. #include <mmhal.h>
  17. #include <drivers.h>
  18. BOOL MMOSA_Driver_Attach(void);
  19. BOOL MMOSA_Driver_Detach(void);
  20. int MMOSA_DDHal_Escape( HDC hdc, int nEscape, int cbInput, LPCTSTR lpszInData, int cbOutput, LPTSTR lpszOutData);
  21. extern BOOL bGraphicsInit;
  22. extern PIFILE pDisplay;
  23. // Function Replacements
  24. #define lstrncmpi(a,b) StrCmp(a,b)
  25. #define lstrcmpi(a,b) StrCmp(a,b)
  26. #define strcpy(a,b) StrCpy(a,b)
  27. #define ExtEscape(hdc, ccmd, szcmd, pcmd, szdata, pdata) MMOSA_DDHal_Escape(hdc, ccmd, szcmd, pcmd, szdata, pdata)
  28. // Important typedefs not supported in Win32e
  29. #define QUERYESCSUPPORT 8
  30. #define MMOSA_DISPLAY_DRIVER_NAME TEXT("display")
  31. #endif