/
dgrigorev
/
MicroNT
Обзор
Документация
Войти
/
dgrigorev
/
MicroNT
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
kernel/include/shellstart.h
38 строк
730 B
Дмитрий Григорьев
Add shell start menu model
19 май 2026, 13:37
19 май 2026, 13:37
5592c9a
Код
Авторство
О чём код?
#pragma once // shellstart.h -- MicroNT Start menu model. #include "desktopmodel.h" #include "shellact.h" #include "ntdef.h" namespace SHELLSTART { enum class StartItemKind : u32 { Pinned, Place, System, Command, }; struct StartItem { StartItemKind Kind; const char* Label; const char* Target; bool Enabled; }; struct StartMenuState { u32 SessionId; StartItem Items[16]; u32 ItemCount; bool Open; bool Published; }; void Init(); bool BuildStartMenu(StartMenuState& menu, const DESKTOPMODEL::DesktopLayout& layout, const SHELLACT::ActivationState& activation); bool PublishStartMenu(StartMenuState& menu); } // namespace SHELLSTART