mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 06:09:04 +00:00
* Update WSLC SDK API documentation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update docs * Update docs * Quick fixes --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Craig Loewen <crloewen@microsoft.com>
17 lines
328 B
Markdown
17 lines
328 B
Markdown
# ServiceVersion
|
|
|
|
Version returned by `WslcService::GetVersion()`.
|
|
|
|
**Properties**
|
|
|
|
| Property | Type |
|
|
|---|---|
|
|
| `Major()` | `uint32_t` |
|
|
| `Minor()` | `uint32_t` |
|
|
| `Revision()` | `uint32_t` |
|
|
|
|
```cpp
|
|
auto version = WslcService::GetVersion();
|
|
printf("%u.%u.%u\n", version.Major(), version.Minor(), version.Revision());
|
|
```
|