UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BuildPatchServices::TPlatform< FPlatformProcessImpl, FPlatformMiscImpl > Class Template Reference

#include <Platform.h>

+ Inheritance diagram for BuildPatchServices::TPlatform< FPlatformProcessImpl, FPlatformMiscImpl >:

Public Member Functions

virtual bool ExecElevatedProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode) override
 
virtual void Sleep (float Seconds) override
 
virtual uint32 GetLastError () override
 
- Public Member Functions inherited from BuildPatchServices::IPlatform
virtual ~IPlatform ()
 

Member Function Documentation

◆ ExecElevatedProcess()

virtual bool BuildPatchServices::TPlatform< FPlatformProcessImpl, FPlatformMiscImpl >::ExecElevatedProcess ( const TCHAR URL,
const TCHAR Params,
int32 OutReturnCode 
)
inlineoverridevirtual

Executes a process as administrator, requesting elevation as necessary. This call blocks until the process has returned.

Parameters
URLIN The URL of the process to execute, typically the path to an executable file
ParamsIN The params to pass to the invoked process
OutReturnCodeOUT Will be set to the return code of the executed process
Returns
true if the execution was successful.

Implements BuildPatchServices::IPlatform.

◆ GetLastError()

Returns
The error value for last platform error that occurred.

Implements BuildPatchServices::IPlatform.

◆ Sleep()

Sleep this thread for Seconds. 0.0 means release the current time slice to let other threads get some attention.

Parameters
SecondsThe time in seconds to sleep for.

Implements BuildPatchServices::IPlatform.


The documentation for this class was generated from the following file: