WdRegisterRemoteXboxGame
Resolves and validates a remote folder path without performing platform game registration.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_ remoteFolderPathType: 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_ commonRootAliasType: 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 ReturnsS_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.
