mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00

__acrt_initialize is here as a stub to later support linking ucrt statically. When it is statically linked the real function should be called, but when the executable links to ucrtdll, the initialization happens when the DLL is loaded, so we call a stub here.
18 lines
328 B
C++
18 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)>();
|
|
}
|