Files
Craig Loewenanddocs-builder 7ba8496e8c Added WSLc API docs (#40922)
* Updated doc structure

---------

Co-authored-by: docs-builder <docs-builder@localhost>
2026-06-26 21:28:07 +00:00

946 B

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