Returns the protocol activation arguments for use in static initialization and other development purposes. Not available for retail scenarios.
HRESULT GetLaunchActivationArgs(
HSTRING* args
)
args
Type: HSTRING*
[out] On success, will return a string containing the activation arguments that were used to launch the application. Otherwise, this will be an empty string.
Type: HRESULT
Returns S_OK if successful; otherwise, an error code.
Passing Arguments to an App or Game
Header: Declared in DevkitExtensions.h.
Library: Use DevkitExtensions.lib.
DevkitExtensions is available under “%XboxOneExtensionSDKLatest%\ExtensionSDKs"