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
|
|
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.
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no