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
9
#include "
Windows/WindowsHWrapper.h
"
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
21
extern
"C"
22
{
37
UELIBRARYAPI
int
UELibrary_InitA
(HINSTANCE
hInst
, HWND hWnd,
const
char
* CmdLine);
38
UELIBRARYAPI
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
52
UELIBRARYAPI
int
UELibrary_Tick
();
53
54
65
UELIBRARYAPI
LRESULT
UELibrary_WndProc
(HWND hWnd,
UINT
message
,
WPARAM
wParam,
LPARAM
lParam);
66
67
75
UELIBRARYAPI
int
UELibrary_Shutdown
();
76
}
77
78
#endif
// PLATFORM_WINDOWS
message
OODEFFUNC typedef const int const char const char * message
Definition
oodle2.h:710
Platform.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
WindowsHWrapper.h
Engine
Source
Runtime
UELibrary
Public
UELibraryAPI.h
Generated by
1.9.8