Skip to main content

WdRegisterRemoteXboxGame

Resolves and validates a remote folder path without performing platform game registration.

Syntax

Parameters

_In_z_ remoteDevice
Type: const char*
The hostname or IP address of the remote device (e.g., "192.168.1.100" or "MyDevKit"). _In_z_ remoteFolderPath
Type: const char*
The path on the remote device to the folder to validate (e.g., "D:\\Games\\MyGame" or "MyGame" when using a common root). If remoteFolderPath is an absolute path, commonRootAlias will be ignored. _In_opt_z_ commonRootAlias
Type: const char*
Optional. An alias for a common root directory on the remote device. Pass nullptr to use the default common root location.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code.

Error codes

Remarks

WdRegisterRemoteXboxGame resolves the remote path; it does not inspect the contents of a game package. Validation applies only when remoteFolderPath is a relative path. In that case the resolved path must fall within the permitted common root, and E_OUTSIDEGAMEROOT is returned if it does not, or if commonRootAlias doesn’t match a common root configured on the remote device. An absolute remoteFolderPath is normalized and accepted without an existence or containment check, so a return value of S_OK does not indicate that the folder exists on the remote device.
Registration is not currently required to launch a game with WdLaunchRemoteGame.

Requirements

See also

Last modified on October 19, 2026