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.
|
|
/*++ BUILD Version: 0001
* * MVDM v1.0 * * Copyright (c) 1991, Microsoft Corporation * * DEMEXP.H * DOS emulation exports * * History: * 22-Apr-1991 Sudeep Bharati (sudeepb) * Created. --*/
BOOL DemInit (int argc, char *argv[]); BOOL DemDispatch(ULONG iSvc); VOID demCloseAllPSPRecords (VOID); DWORD demFileDelete (LPSTR lpFile); DWORD demFileFindFirst (PVOID pDTA, LPSTR lpFile, USHORT usSearchAttr); DWORD demFileFindNext (PVOID pDTA); ULONG demClientErrorEx (HANDLE hFile, CHAR chDrive, BOOL bSetRegs); UCHAR demGetPhysicalDriveType(UCHAR DriveNum); ULONG demWOWLFNEntry(PVOID pUserFrame); VOID demWOWLFNInit(PVOID pLFNInit); NTSTATUS demSetCurrentDirectoryLCDS(UCHAR Drive, LPSTR pCurDir); NTSTATUS demGetCurrentDirectoryLCDS(UCHAR Drive, LPSTR pCurDir); ULONG demGetFileTimeByHandle_WOW(HANDLE hFile); BOOL demIsShortPathName(LPSTR pszPath,BOOL fAllowWildCardName); DWORD demLFNGetCurrentDirectory(UINT DriveNum,LPSTR lpDirectoryName); DWORD demSetCurrentDirectoryGetDrive(LPSTR lpDirectoryName, PUINT pDriveNum); ULONG demWOWLFNAllocateSearchHandle(HANDLE hFind); HANDLE demWOWLFNGetSearchHandle(USHORT DosHandle); BOOL demWOWLFNCloseSearchHandle(USHORT DosHandle); VOID demLFNCleanup(VOID);
#define SIZEOF_DOSSRCHDTA 43
#if DEVL
// bit masks to control trace info
#define DEMDOSAPPBREAK 0x80000000
#define DEMDOSDISP 0x40000000
#define DEMFILIO 0x20000000
#define DEMSVCTRACE 0x10000000
#define KEEPBOOTFILES 0x01000000 // if set, no delete temp boot files
#define DEM_ABSDRD 0x02000000
#define DEM_ABSWRT 0x04000000
#define DEMERROR 0x08000000
extern DWORD fShowSVCMsg; #endif
#ifdef FE_SB
#define NTIO_411 "\\ntio411.sys" // LANG_JAPANESE
#define NTIO_409 "\\ntio.sys" //
#define NTIO_804 "\\ntio804.sys" // LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_HONGKONG
#define NTIO_404 "\\ntio404.sys" // LANG_CHINESE,SUBLANG_CHINESE_TRADITIONAL
#define NTIO_412 "\\ntio412.sys" // LANG_KOREAN
#define NTDOS_411 "\\ntdos411.sys" // LANG_JAPANESE
#define NTDOS_409 "\\ntdos.sys" //
#define NTDOS_804 "\\ntdos804.sys" // LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_HONGKONG
#define NTDOS_404 "\\ntdos404.sys" // LANG_CHINESE,SUBLANG_CHINESE_TRADITIONAL
#define NTDOS_412 "\\ntdos412.sys" // LANG_KOREAN
#endif
|