EOS_Platform_CheckForLauncherAndRestart

EOS API reference page for EOS_Platform_CheckForLauncherAndRestart

Choose your implementation method:

C

C#

Remarks

Checks if the app was launched through the Epic Launcher, and relaunches it through the Epic Launcher if it wasn't. EOS_Success is returned if the app is being restarted. You should quit your process as soon as possible. EOS_NoChange is returned if the app was already launched through the Epic Launcher, and no action needs to be taken. EOS_UnexpectedError is returned if the LauncherCheck module failed to initialize, or the module tried and failed to restart the app.

Return Value

An EOS_EResult is returned to indicate success or an error.

Parameters

EOS_Platform_CheckForLauncherAndRestart

Parameter Type And Name

Usage Information

EOS_HPlatform Handle

Remarks

Checks if the app was launched through the Epic Launcher, and relaunches it through the Epic Launcher if it wasn't. {Result.Success} is returned if the app is being restarted. You should quit your process as soon as possible. {Result.NoChange} is returned if the app was already launched through the Epic Launcher, and no action needs to be taken. {Result.UnexpectedError} is returned if the LauncherCheck module failed to initialize, or the module tried and failed to restart the app.

Return Value

An {Result} is returned to indicate success or an error.

Parameters

Platform.PlatformInterface.CheckForLauncherAndRestart

This function does not take any parameters.