reactos/subsystems/win/basesrv/vdm.h
Aleksandar Andrejevic d0176d9ee8 [BASESRV]
Implement BaseSrvGetVDMCurDirs.
The current directory information is stored in the console record,
and it applies to all DOS records within it.


svn path=/branches/ntvdm/; revision=62086
2014-02-09 22:26:13 +00:00

36 lines
1,002 B
C

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Base API Server DLL
* FILE: subsystems/win/basesrv/vdm.h
* PURPOSE: VDM Definitions
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*/
#ifndef __VDM_H__
#define __VDM_H__
/* DEFINITIONS ****************************************************************/
typedef struct _VDM_CONSOLE_RECORD
{
LIST_ENTRY Entry;
HANDLE ConsoleHandle;
PCHAR CurrentDirs;
ULONG CurDirsLength;
LIST_ENTRY DosListHead;
// TODO: Structure incomplete!!!
} VDM_CONSOLE_RECORD, *PVDM_CONSOLE_RECORD;
typedef struct _VDM_DOS_RECORD
{
LIST_ENTRY Entry;
// TODO: Structure incomplete!!!
} VDM_DOS_RECORD, *PVDM_DOS_RECORD;
/* FUNCTIONS ******************************************************************/
NTSTATUS NTAPI BaseSrvGetConsoleRecord(HANDLE ConsoleHandle, PVDM_CONSOLE_RECORD *Record);
VOID NTAPI BaseInitializeVDM(VOID);
#endif // __VDM_H__