mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +00:00
[VCRUNTIME] Add initialization / cleanup of wine code
This commit is contained in:
parent
32c349d30e
commit
92d479a54b
3 changed files with 79 additions and 7 deletions
36
sdk/lib/vcruntime/__vcrt_init_stubs.c
Normal file
36
sdk/lib/vcruntime/__vcrt_init_stubs.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
//
|
||||
// __vcrt_init_stubs.c
|
||||
//
|
||||
// Copyright (c) 2024 Timo Kreuzer
|
||||
//
|
||||
// Stubs for vcruntime initialization and termination in vcstartup.
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
|
||||
#include <vcruntime_startup.h>
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_initialize(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_uninitialize(_In_ __vcrt_bool _Terminating)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_uninitialize_critical(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_thread_attach(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_thread_detach(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue