Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Unregisters a distribution from the Windows Subsystem for Linux (WSL).
Syntax
HRESULT WslUnregisterDistribution(
[in] PCWSTR distributionName
);
Parameters
[in] distributionName
Unique name representing a distribution (for example, "Fabrikam.Distro.10.01").
Return value
Returns S_OK on success, or a failing HRESULT otherwise.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | wslapi.h |
| Library | Wslapi.lib |
| DLL | Api-ms-win-wsl-api-l1-1-0.dll |