/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/Platform/Win/ApplicationEntryPoint_Win.cpp
22 строки
568 B
Jan Krassnigg
Refactor of platform specific includes (#1414)
23 окт 2024, 10:09
Не верифицирован
23 окт 2024, 10:09
74f6d97
Код
Авторство
О чём код?
#include <Foundation/FoundationPCH.h> #if EZ_ENABLED(EZ_PLATFORM_WINDOWS_DESKTOP) # include <Foundation/Platform/Win/ApplicationEntryPoint_Platform.h> # include <Foundation/Platform/Win/Utils/IncludeWindows.h> namespace ezApplicationDetails { void SetConsoleCtrlHandler(ezMinWindows::BOOL(EZ_WINDOWS_WINAPI* consoleHandler)(ezMinWindows::DWORD dwCtrlType)) { ::SetConsoleCtrlHandler(consoleHandler, TRUE); } static ezMutex s_shutdownMutex; ezMutex& GetShutdownMutex() { return s_shutdownMutex; } } // namespace ezApplicationDetails #endif