UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UELibraryAPI.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "HAL/Platform.h"
6
7#if PLATFORM_WINDOWS
8
10
11#ifndef _WIN64
12 #error "UELibrary is currently only supported under 64-bit Windows"
13#endif
14
15#ifdef UELIBRARY_DLL_EXPORT
16 #define UELIBRARYAPI __declspec(dllexport)
17#else
18 #define UELIBRARYAPI __declspec(dllimport)
19#endif
20
21extern "C"
22{
37UELIBRARYAPI int UELibrary_InitA(HINSTANCE hInst, HWND hWnd, const char* CmdLine);
38UELIBRARYAPI int UELibrary_InitW(HINSTANCE hInst, HWND hWnd, const wchar_t* CmdLine);
39
40#ifdef UNICODE
41 #define UELibrary_Init UELibrary_InitW
42#else
43 #define UELibrary_Init UELibrary_InitA
44#endif
45
46
53
54
66
67
76}
77
78#endif // PLATFORM_WINDOWS
OODEFFUNC typedef const int const char const char * message
Definition oodle2.h:710
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127