WdLaunchRemoteGame
Launches a game on a remote device.Syntax
Parameters
_In_z_ remoteDeviceType: const char* The hostname or IP address of the remote device (e.g.,
"192.168.1.100" or "MyDevKit").
_In_z_ remotePathType: const char* The path to the game executable on the remote device. Can be an absolute path (e.g.,
"D:\\Games\\MyGame\\game.exe") or a relative path that resolves against the common root (e.g., "MyGame\\game.exe").
_In_opt_z_ argsType: const char* Optional. Command-line arguments to pass to the game executable (e.g.,
"-windowed -debug"). Pass nullptr if no arguments are needed.
_In_opt_ launchOptionsType: WdLaunchOptions* Optional. Specifies launch mode and common root alias. Pass
nullptr to use default settings (Immediate launch, default common root).
_Out_opt_ processIdType: uint32_t* Optional. Receives the process ID of the launched game. Pass
nullptr if the process ID is not needed.
_Out_opt_ threadIdType: uint32_t* Optional. Receives the thread ID of the launched game’s main thread. Pass
nullptr if the thread ID is not needed.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an error code.
