XPackageCreateInstallationMonitor
Creates a monitor of the state of installation.Syntax
Parameters
packageIdentifier _In_z_Type: char* A string that uniquely identifies the installed package on the disk. For more information about package identifiers, see Manage and license downloadable content (DLC). selectorCount _In_
Type: uint32_t The number of selectors in the selectors parameter. selectors _In_reads_opt_(selectorCount)
Type: XPackageChunkSelector* An array of selectors that specify the chunks to be monitored. minimumUpdateIntervalMs _In_
Type: uint32_t The monitor’s resolution, in milliseconds. queue _In_opt_
Type: XTaskQueueHandle The queue where updates are performed. installationMonitor _Out_
Type: XPackageInstallationMonitorHandle* On return, points to the created installation monitor.
Return value
Type: HRESULT HRESULT success or error code.Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
