| 1 | # WSL container API C++ reference |
| 2 | |
| 3 | This reference documents the **C++/WinRT projection** in `Microsoft::WSL::Containers`. |
| 4 | |
| 5 | > **Preview notice:** `wslcsdk.h` explicitly marks this API as **preview** and subject to breaking changes. |
| 6 | > |
| 7 | > **Header:** `#include <winrt/Microsoft.WSL.Containers.h>` |
| 8 | > |
| 9 | > **Namespace:** `winrt::Microsoft::WSL::Containers` |
| 10 | |
| 11 | The projection is layered as **Session → Container → Process**. Errors surface as `winrt::hresult_error`. Image and installation operations use `IAsyncActionWithProgress<T>`. |
| 12 | |
| 13 | --- |
| 14 | |
| 15 | ## In this reference |
| 16 | |
| 17 | - [Data Classes](data-classes/index.md) |
| 18 | - [Settings Classes](settings-classes/index.md) |
| 19 | - [Core Classes](core-classes/index.md) |
| 20 | - [Service Class](service-class/index.md) |
| 21 | - [Delegates and Events](delegates-and-events/index.md) |
| 22 | - [Enumerations](enumerations/index.md) |
| 23 | - [Not Yet Implemented and Known Gaps](not-yet-implemented-and-known-gaps.md) |
| 24 | - [End-to-End Example](end-to-end-example.md) |