Skip to content

WSL API missing function to enumerate installed distributions #4644

Closed as not planned
@riverar

Description

@riverar

Consuming the WSL API requires developers to populate the distribution name parameter for most functions. There is no API to retrieve a list of valid distribution names, however, and none of the APIs support a nullptr input to signify the user's default distribution should be used, as general Win32 programming patterns would nudge you towards.

How are developers meant to consume these APIs? The dev story seems incomplete.

Related: #3515 #3543

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions