/
dgrigorev
/
MicroNT
Обзор
Документация
Войти
/
dgrigorev
/
MicroNT
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
kernel/include/userinit.h
23 строки
601 B
Дмитрий Григорьев
Add shell app model bootstrap
19 май 2026, 08:46
19 май 2026, 08:46
cb98136
Код
Авторство
О чём код?
#pragma once // userinit.h -- MicroNT user profile and shell launcher boundary. #include "appmodel.h" #include "ntdef.h" #include "profile.h" #include "process.h" #include "session.h" namespace USERINIT { struct ShellLaunchResult { KProcess* Process; KThread* Thread; }; void Init(); bool PrepareInteractiveUser(u32 session_id, PROFILE::UserProfile& profile); ShellLaunchResult LaunchShell(u32 session_id, const char* shell_name, const APPMODEL::AppIdentity& identity, const SM::ShellImageConfig& cfg); } // namespace USERINIT