Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initiates the streaming operation (request). The function operates synchronously, and doesn't return until the job completes, or is canceled, or otherwise errors out. This call can block for some time; but from another thread you can still send other requests to the data source, such as Pause, whereupon Run will stop blocking, and will return E_ABORT.
Syntax
HRESULT Run(
[in, string] LPCWSTR packageFullName,
[in, string] LPCWSTR realPackageRootPath,
[in] APPX_DATA_SOURCE_JOB_PRIORITY priority,
[in] IAppxStreamingDataSourceProgress* downloadProgressHandler,
[in] RunOptions options
);
Parameters
packageFullName
The package full name.
realPackageRootPath
The real package root path. This will point to the package root on a non-system volume if the app has been installed on other media.
priority
The priority of the request.
downloadProgressHandler
A pointer to the callback interface that will receive the download progress.
options
The options for the Run request.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. E_ABORT if the data source was paused; HRESULT_FROM_WIN32(ERROR_BUSY) if more than one Run call is made concurrently.
Requirements
| DLL | AppxStreamingDataSourcePS.dll |