Source code of Windows XP (NT5)
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.

64 lines
2.3 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. BOOL DemInit (int argc, char *argv[]);
  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. VOID demWOWLFNInit(PVOID pLFNInit);
  24. NTSTATUS demSetCurrentDirectoryLCDS(UCHAR Drive, LPSTR pCurDir);
  25. NTSTATUS demGetCurrentDirectoryLCDS(UCHAR Drive, LPSTR pCurDir);
  26. ULONG demGetFileTimeByHandle_WOW(HANDLE hFile);
  27. BOOL demIsShortPathName(LPSTR pszPath,BOOL fAllowWildCardName);
  28. DWORD demLFNGetCurrentDirectory(UINT DriveNum,LPSTR lpDirectoryName);
  29. DWORD demSetCurrentDirectoryGetDrive(LPSTR lpDirectoryName, PUINT pDriveNum);
  30. ULONG demWOWLFNAllocateSearchHandle(HANDLE hFind);
  31. HANDLE demWOWLFNGetSearchHandle(USHORT DosHandle);
  32. BOOL demWOWLFNCloseSearchHandle(USHORT DosHandle);
  33. VOID demLFNCleanup(VOID);
  34. #define SIZEOF_DOSSRCHDTA 43
  35. #if DEVL
  36. // bit masks to control trace info
  37. #define DEMDOSAPPBREAK 0x80000000
  38. #define DEMDOSDISP 0x40000000
  39. #define DEMFILIO 0x20000000
  40. #define DEMSVCTRACE 0x10000000
  41. #define KEEPBOOTFILES 0x01000000 // if set, no delete temp boot files
  42. #define DEM_ABSDRD 0x02000000
  43. #define DEM_ABSWRT 0x04000000
  44. #define DEMERROR 0x08000000
  45. extern DWORD fShowSVCMsg;
  46. #endif
  47. #ifdef FE_SB
  48. #define NTIO_411 "\\ntio411.sys" // LANG_JAPANESE
  49. #define NTIO_409 "\\ntio.sys" //
  50. #define NTIO_804 "\\ntio804.sys" // LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_HONGKONG
  51. #define NTIO_404 "\\ntio404.sys" // LANG_CHINESE,SUBLANG_CHINESE_TRADITIONAL
  52. #define NTIO_412 "\\ntio412.sys" // LANG_KOREAN
  53. #define NTDOS_411 "\\ntdos411.sys" // LANG_JAPANESE
  54. #define NTDOS_409 "\\ntdos.sys" //
  55. #define NTDOS_804 "\\ntdos804.sys" // LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_HONGKONG
  56. #define NTDOS_404 "\\ntdos404.sys" // LANG_CHINESE,SUBLANG_CHINESE_TRADITIONAL
  57. #define NTDOS_412 "\\ntdos412.sys" // LANG_KOREAN
  58. #endif