master
md 12 lines 891 Bytes
Rendered Raw
1 # Known Gaps
2
3 These C API features are **not** available through the WinRT/C# projection:
4
5 | C API feature | C# status |
6 |---|---|
7 | `WslcImportSessionImage(...)` and `WslcLoadSessionImage(...)` overloads that take raw `HANDLE` + byte count | **Not projected.** C# exposes file-path-based `ImportImage(...)`, `ImportImageAsync(...)`, `LoadImage(...)`, and `LoadImageAsync(...)`. |
8 | Raw native handles (`WslcGetSessionTerminationEvent`, `WslcGetProcessExitEvent`, `WslcGetProcessIOHandle`) | **Wrapped, not exposed directly.** Use C# events and WinRT streams instead. |
9 | `WslcProcessCallbacks` registration surface | **Wrapped as events.** Use `OutputReceived`, `ErrorReceived`, and `Exited`. |
10 | `WslcContainerStartFlags` | **Not exposed directly.** `Container.Start()` automatically sets `ATTACH` when the init process uses `ProcessOutputMode.Event` or `ProcessOutputMode.Stream`. |
11
12 ---