13#define DOS_CMDLINE_LENGTH 127
14#define DOS_PROGRAM_NAME_TAG 0x0001
16#define SEGMENT_TO_PSP(seg) ((PDOS_PSP)SEG_OFF_TO_PTR((seg), 0))
PVOID PVOID PWCHAR PVOID Environment
PULONG MinorVersion OPTIONAL
struct _DOS_EXEC_PARAM_BLOCK::@5056::@5060 Overlay
CHAR CommandLine[DOS_CMDLINE_LENGTH]
VOID DosClonePsp(WORD DestSegment, WORD SourceSegment)
struct _DOS_EXEC_PARAM_BLOCK DOS_EXEC_PARAM_BLOCK
struct _DOS_PSP * PDOS_PSP
VOID DosCreatePsp(WORD Segment, WORD ProgramSize)
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)
struct _DOS_EXEC_PARAM_BLOCK * PDOS_EXEC_PARAM_BLOCK
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 DosSetProcessContext(WORD Segment)
struct _DOS_REGISTER_STATE * PDOS_REGISTER_STATE
VOID DosTerminateProcess(WORD Psp, BYTE ReturnCode, WORD KeepResident)
#define DOS_CMDLINE_LENGTH
struct _DOS_REGISTER_STATE DOS_REGISTER_STATE
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters