WslIsDistributionRegistered function wslapi

int WslIsDistributionRegistered(
  1. Pointer<Utf16> distributionName
)

Determines if a distribution is registered with the Windows Subsystem for Linux (WSL).

BOOL WslIsDistributionRegistered(
  _In_ PCWSTR distributionName
);

Implementation

int WslIsDistributionRegistered(Pointer<Utf16> distributionName) =>
    _WslIsDistributionRegistered(distributionName);