Back to Wsl

WSL container API C++ reference

doc/docs/api-reference/cpp/index.md

2.9.4945 B
Original Source

WSL container API C++ reference

This reference documents the C++/WinRT projection in Microsoft::WSL::Containers.

Preview notice: wslcsdk.h explicitly marks this API as preview and subject to breaking changes.

Header: #include <winrt/Microsoft.WSL.Containers.h>

Namespace: winrt::Microsoft::WSL::Containers

The projection is layered as Session → Container → Process. Errors surface as winrt::hresult_error. Image and installation operations use IAsyncActionWithProgress<T>.


In this reference