UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WindowsPlatformApplicationMisc.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
8{
9 static APPLICATIONCORE_API void PreInit();
23 static APPLICATIONCORE_API float GetDPIScaleFactorAtPoint(float X, float Y);
24 static APPLICATIONCORE_API void ClipboardCopy(const TCHAR* Str);
25 static APPLICATIONCORE_API void ClipboardPaste(class FString& Dest);
26
29 static APPLICATIONCORE_API int32 GetMonitorDPI(const FMonitorInfo& MonitorInfo);
30
37
40};
41
42#if defined(WINDOWS_USE_FEATURE_APPLICATIONMISC_CLASS) && WINDOWS_USE_FEATURE_APPLICATIONMISC_CLASS
44#endif
FAndroidApplicationMisc FPlatformApplicationMisc
Definition AndroidPlatformApplicationMisc.h:32
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define X(Name, Desc)
Definition FormatStringSan.h:47
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition FeedbackContext.h:30
Definition OutputDeviceConsole.h:14
Definition OutputDeviceError.h:10
Definition GenericApplication.h:437
Definition GenericPlatformApplicationMisc.h:70
Definition Color.h:48
Definition GenericApplication.h:340
Definition WindowsPlatformApplicationMisc.h:32
uint32 VendorId
Definition WindowsPlatformApplicationMisc.h:33
uint32 DeviceId
Definition WindowsPlatformApplicationMisc.h:34
uint64 DedicatedVideoMemory
Definition WindowsPlatformApplicationMisc.h:35
Definition WindowsPlatformApplicationMisc.h:8
static APPLICATIONCORE_API bool GetWindowTitleMatchingText(const TCHAR *TitleStartsWith, FString &OutTitle)
Definition WindowsPlatformApplicationMisc.cpp:266
static APPLICATIONCORE_API float GetDPIScaleFactorAtPoint(float X, float Y)
Definition WindowsPlatformApplicationMisc.cpp:360
static APPLICATIONCORE_API struct FLinearColor GetScreenPixelColor(const FVector2D &InScreenPos, float InGamma=1.0f)
Definition WindowsPlatformApplicationMisc.cpp:187
static APPLICATIONCORE_API FGPUInfo GetBestGPUInfo()
Definition WindowsPlatformApplicationMisc.cpp:333
static APPLICATIONCORE_API class FOutputDeviceError * GetErrorOutputDevice()
Definition WindowsPlatformApplicationMisc.cpp:67
static APPLICATIONCORE_API void LoadStartupModules()
Definition WindowsPlatformApplicationMisc.cpp:47
static APPLICATIONCORE_API class FOutputDeviceConsole * CreateConsoleOutputDevice()
Definition WindowsPlatformApplicationMisc.cpp:58
static APPLICATIONCORE_API class FFeedbackContext * GetFeedbackContext()
Definition WindowsPlatformApplicationMisc.cpp:73
static APPLICATIONCORE_API int32 GetMonitorDPI(const FMonitorInfo &MonitorInfo)
Definition WindowsPlatformApplicationMisc.cpp:296
static APPLICATIONCORE_API class GenericApplication * CreateApplication()
Definition WindowsPlatformApplicationMisc.cpp:83
static APPLICATIONCORE_API int32 GetAppIcon()
Definition WindowsPlatformApplicationMisc.cpp:111
static APPLICATIONCORE_API void PumpMessages(bool bFromMainLoop)
Definition WindowsPlatformApplicationMisc.cpp:130
static APPLICATIONCORE_API void SetHighDPIMode()
Definition WindowsPlatformApplicationMisc.cpp:204
static APPLICATIONCORE_API void RequestMinimize()
Definition WindowsPlatformApplicationMisc.cpp:99
static APPLICATIONCORE_API void PreventScreenSaver()
Definition WindowsPlatformApplicationMisc.cpp:174
static APPLICATIONCORE_API void ClipboardCopy(const TCHAR *Str)
Definition WindowsPlatformApplicationMisc.cpp:397
static APPLICATIONCORE_API void PreInit()
Definition WindowsPlatformApplicationMisc.cpp:42
static APPLICATIONCORE_API bool IsThisApplicationForeground()
Definition WindowsPlatformApplicationMisc.cpp:104
static APPLICATIONCORE_API void ClipboardPaste(class FString &Dest)
Definition WindowsPlatformApplicationMisc.cpp:422