master
md 21 lines 347 Bytes
Rendered Raw
1 # ImageProgressStatus
2
3 `ImageProgress` casts directly from `WslcImageProgressStatus`.
4
5 Underlying C values:
6
7 - `Unknown = 0`
8 - `Pulling = 1`
9 - `Waiting = 2`
10 - `Downloading = 3`
11 - `Verifying = 4`
12 - `Extracting = 5`
13 - `Complete = 6`
14
15 ```cpp
16 auto status = progress.Status();
17 if (status == static_cast<ImageProgressStatus>(6))
18 {
19 // complete
20 }
21 ```