Leaked source code of windows server 2003
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

  1. //
  2. // Parameter block passed to the spcmdcon.sys top-level routine.
  3. //
  4. typedef struct _CMDCON_BLOCK {
  5. PSP_VIDEO_VARS VideoVars;
  6. PVOID TemporaryBuffer;
  7. ULONG TemporaryBufferSize;
  8. PEPROCESS UsetupProcess;
  9. LPCWSTR BootDevicePath;
  10. LPCWSTR DirectoryOnBootDevice;
  11. PVOID SifHandle;
  12. PWSTR SetupSourceDevicePath;
  13. PWSTR DirectoryOnSetupSource;
  14. } CMDCON_BLOCK, *PCMDCON_BLOCK;
  15. //
  16. // In its DriverEntry routine, spcmdcon.sys calls
  17. // CommandConsoleInterface(), passing it the address of the top level
  18. // command console routine.
  19. //
  20. typedef
  21. ULONG
  22. (*PCOMMAND_INTERPRETER_ROUTINE)(
  23. IN PCMDCON_BLOCK CmdConBlock
  24. );
  25. VOID
  26. CommandConsoleInterface(
  27. PCOMMAND_INTERPRETER_ROUTINE CmdRoutine
  28. );
  29. //
  30. // Autochk message processing callback.
  31. //
  32. typedef
  33. NTSTATUS
  34. (*PAUTOCHK_MSG_PROCESSING_ROUTINE) (
  35. PSETUP_FMIFS_MESSAGE SetupFmifsMessage
  36. );
  37. VOID
  38. SpSetAutochkCallback(
  39. IN PAUTOCHK_MSG_PROCESSING_ROUTINE AutochkCallbackRoutine
  40. );