WdCopyOptions
Specifies the direction and common root alias for a copy operation.Syntax
Members
copyDirectionType: WdCopyDirection The direction of the copy operation. Use
CopyTo to push files from the local PC to the remote device, or CopyFrom to pull files from the remote device to the local PC. WdCopyDirection::CopyTo is the default value if not specified.
commonRootAliasType: const char* An optional alias for a common root directory on the remote device (UTF-8). If
destinationPath is an absolute path, commonRootAlias will be ignored.
Remarks
Pass this structure to WdRemoteCopy to control the copy behavior. Ifnullptr is passed for the copyOptions parameter of WdRemoteCopy, the copy direction defaults to CopyTo and the default common root location is used if the destination path is relative.
Common roots allow users to use pre-configured known locations where games are copied to or launched from, and refer to them by alias instead of full path.
