Files
reactos/sdk/lib/vcstartup/wmainCRTStartup.cpp
Timo Kreuzer d0b292cda6 [VCSTARTUP] Separate the library from vcruntime
Previously this was mixed with vcruntime, with some objects being shared. But this is messy. Instead use a separate library and link ucrtbase to this as well. This also matches more closely how native libraries are organized, where vcstartup is merged into the CRT import libraries, while vcruntime is merged into the static CRT libraries.
2026-06-21 12:30:32 +00:00

19 lines
328 B
C++

//
// wmainCRTStartup.c
//
// Copyright (c) 2024 Timo Kreuzer
//
// Implementation of unicode executable entry point.
//
// SPDX-License-Identifier: MIT
//
#include "commonCRTStartup.hpp"
extern "C" unsigned long wmainCRTStartup(void*)
{
__security_init_cookie();
return __commonCRTStartup<decltype(wmain)>();
}