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.

53 lines
1.7 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * MVDM v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * DEMEXP.H
  8. * DOS emulation exports
  9. *
  10. * History:
  11. * 22-Apr-1991 Sudeep Bharati (sudeepb)
  12. * Created.
  13. --*/
  14. VOID DemInit (VOID);
  15. BOOL DemDispatch(ULONG iSvc);
  16. VOID demCloseAllPSPRecords (VOID);
  17. DWORD demFileDelete (LPSTR lpFile);
  18. DWORD demFileFindFirst (PVOID pDTA, LPSTR lpFile, USHORT usSearchAttr);
  19. DWORD demFileFindNext (PVOID pDTA);
  20. ULONG demClientErrorEx (HANDLE hFile, CHAR chDrive, BOOL bSetRegs);
  21. UCHAR demGetPhysicalDriveType(UCHAR DriveNum);
  22. ULONG demWOWLFNEntry(PVOID pUserFrame);
  23. #define SIZEOF_DOSSRCHDTA 43
  24. #if DEVL
  25. // bit masks to control trace info
  26. #define DEMDOSAPPBREAK 0x80000000
  27. #define DEMDOSDISP 0x40000000
  28. #define DEMFILIO 0x20000000
  29. #define DEMSVCTRACE 0x10000000
  30. #define KEEPBOOTFILES 0x01000000 // if set, no delete temp boot files
  31. #define DEM_ABSDRD 0x02000000
  32. #define DEM_ABSWRT 0x04000000
  33. #define DEMERROR 0x08000000
  34. extern DWORD fShowSVCMsg;
  35. #endif
  36. #ifdef FE_SB
  37. #define NTIO_411 "\\ntio411.sys" // LANG_JAPANESE
  38. #define NTIO_409 "\\ntio.sys" //
  39. #define NTIO_804 "\\ntio804.sys" // LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_HONGKONG
  40. #define NTIO_404 "\\ntio404.sys" // LANG_CHINESE,SUBLANG_CHINESE_TRADITIONAL
  41. #define NTIO_412 "\\ntio412.sys" // LANG_KOREAN
  42. #define NTDOS_411 "\\ntdos411.sys" // LANG_JAPANESE
  43. #define NTDOS_409 "\\ntdos.sys" //
  44. #define NTDOS_804 "\\ntdos804.sys" // LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_HONGKONG
  45. #define NTDOS_404 "\\ntdos404.sys" // LANG_CHINESE,SUBLANG_CHINESE_TRADITIONAL
  46. #define NTDOS_412 "\\ntdos412.sys" // LANG_KOREAN
  47. #endif