WslUnregisterDistribution function (wslapi.h)
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for