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.
49 lines
1.0 KiB
49 lines
1.0 KiB
|
|
|
|
//
|
|
// Parameter block passed to the spcmdcon.sys top-level routine.
|
|
//
|
|
typedef struct _CMDCON_BLOCK {
|
|
PSP_VIDEO_VARS VideoVars;
|
|
PVOID TemporaryBuffer;
|
|
ULONG TemporaryBufferSize;
|
|
PEPROCESS UsetupProcess;
|
|
LPCWSTR BootDevicePath;
|
|
LPCWSTR DirectoryOnBootDevice;
|
|
PVOID SifHandle;
|
|
PWSTR SetupSourceDevicePath;
|
|
PWSTR DirectoryOnSetupSource;
|
|
} CMDCON_BLOCK, *PCMDCON_BLOCK;
|
|
|
|
|
|
//
|
|
// In its DriverEntry routine, spcmdcon.sys calls
|
|
// CommandConsoleInterface(), passing it the address of the top level
|
|
// command console routine.
|
|
//
|
|
typedef
|
|
ULONG
|
|
(*PCOMMAND_INTERPRETER_ROUTINE)(
|
|
IN PCMDCON_BLOCK CmdConBlock
|
|
);
|
|
|
|
VOID
|
|
CommandConsoleInterface(
|
|
PCOMMAND_INTERPRETER_ROUTINE CmdRoutine
|
|
);
|
|
|
|
|
|
//
|
|
// Autochk message processing callback.
|
|
//
|
|
typedef
|
|
NTSTATUS
|
|
(*PAUTOCHK_MSG_PROCESSING_ROUTINE) (
|
|
PSETUP_FMIFS_MESSAGE SetupFmifsMessage
|
|
);
|
|
|
|
VOID
|
|
SpSetAutochkCallback(
|
|
IN PAUTOCHK_MSG_PROCESSING_ROUTINE AutochkCallbackRoutine
|
|
);
|
|
|