ReactOS 0.4.16-dev-199-g898cc56
|
Go to the source code of this file.
Classes | |
struct | _DOS_PSP |
struct | _DOS_EXEC_PARAM_BLOCK |
struct | _DOS_REGISTER_STATE |
Macros | |
#define | DOS_CMDLINE_LENGTH 127 |
#define | DOS_PROGRAM_NAME_TAG 0x0001 |
#define | SEGMENT_TO_PSP(seg) ((PDOS_PSP)SEG_OFF_TO_PTR((seg), 0)) |
Typedefs | |
typedef struct _DOS_PSP | DOS_PSP |
typedef struct _DOS_PSP * | PDOS_PSP |
typedef struct _DOS_EXEC_PARAM_BLOCK | DOS_EXEC_PARAM_BLOCK |
typedef struct _DOS_EXEC_PARAM_BLOCK * | PDOS_EXEC_PARAM_BLOCK |
typedef struct _DOS_REGISTER_STATE | DOS_REGISTER_STATE |
typedef struct _DOS_REGISTER_STATE * | PDOS_REGISTER_STATE |
Enumerations | |
enum | DOS_EXEC_TYPE { DOS_LOAD_AND_EXECUTE = 0x00 , DOS_LOAD_ONLY = 0x01 , DOS_LOAD_OVERLAY = 0x03 } |
Functions | |
VOID | DosClonePsp (WORD DestSegment, WORD SourceSegment) |
VOID | DosCreatePsp (WORD Segment, WORD ProgramSize) |
VOID | DosSetProcessContext (WORD Segment) |
DWORD | DosLoadExecutableInternal (IN DOS_EXEC_TYPE LoadType, IN LPBYTE ExeBuffer, IN DWORD ExeBufferSize, IN LPCSTR ExePath, IN PDOS_EXEC_PARAM_BLOCK Parameters, IN LPCSTR CommandLine OPTIONAL, IN LPCSTR Environment OPTIONAL, IN DWORD ReturnAddress OPTIONAL) |
DWORD | DosLoadExecutable (IN DOS_EXEC_TYPE LoadType, IN LPCSTR ExecutablePath, IN PDOS_EXEC_PARAM_BLOCK Parameters, IN LPCSTR CommandLine OPTIONAL, IN LPCSTR Environment OPTIONAL, IN DWORD ReturnAddress OPTIONAL) |
WORD | DosCreateProcess (LPCSTR ProgramName, PDOS_EXEC_PARAM_BLOCK Parameters, IN DWORD ReturnAddress OPTIONAL) |
VOID | DosTerminateProcess (WORD Psp, BYTE ReturnCode, WORD KeepResident) |
#define SEGMENT_TO_PSP | ( | seg | ) | ((PDOS_PSP)SEG_OFF_TO_PTR((seg), 0)) |
typedef struct _DOS_EXEC_PARAM_BLOCK * PDOS_EXEC_PARAM_BLOCK |
typedef struct _DOS_REGISTER_STATE * PDOS_REGISTER_STATE |
Enumerator | |
---|---|
DOS_LOAD_AND_EXECUTE | |
DOS_LOAD_ONLY | |
DOS_LOAD_OVERLAY |
Definition at line 18 of file process.h.
Definition at line 251 of file process.c.
Referenced by DosInt21h().
WORD DosCreateProcess | ( | LPCSTR | ProgramName, |
PDOS_EXEC_PARAM_BLOCK | Parameters, | ||
IN DWORD ReturnAddress | OPTIONAL | ||
) |
Definition at line 278 of file process.c.
Referenced by DosInt21h(), and DosLoadExecutableInternal().
DWORD DosLoadExecutable | ( | IN DOS_EXEC_TYPE | LoadType, |
IN LPCSTR | ExecutablePath, | ||
IN PDOS_EXEC_PARAM_BLOCK | Parameters, | ||
IN LPCSTR CommandLine | OPTIONAL, | ||
IN LPCSTR Environment | OPTIONAL, | ||
IN DWORD ReturnAddress | OPTIONAL | ||
) |
Definition at line 705 of file process.c.
Referenced by DosCreateProcess(), DosInt21h(), and DosStartComSpec().
DWORD DosLoadExecutableInternal | ( | IN DOS_EXEC_TYPE | LoadType, |
IN LPBYTE | ExeBuffer, | ||
IN DWORD | ExeBufferSize, | ||
IN LPCSTR | ExePath, | ||
IN PDOS_EXEC_PARAM_BLOCK | Parameters, | ||
IN LPCSTR CommandLine | OPTIONAL, | ||
IN LPCSTR Environment | OPTIONAL, | ||
IN DWORD ReturnAddress | OPTIONAL | ||
) |
Definition at line 335 of file process.c.
Referenced by DosLoadExecutable(), and DosStartComSpec().
Definition at line 329 of file process.c.
Referenced by DosInt21h(), DosLoadExecutableInternal(), and DosTerminateProcess().
Definition at line 936 of file process.c.
Referenced by DosControlBreak(), DosInt20h(), DosInt21h(), and DosInt27h().