WslRegisterDistribution function wslapi

int WslRegisterDistribution(
  1. Pointer<Utf16> distributionName,
  2. Pointer<Utf16> tarGzFilename
)

Registers a new distribution with the Windows Subsystem for Linux (WSL).

HRESULT WslRegisterDistribution(
  _In_ PCWSTR distributionName,
  _In_ PCWSTR tarGzFilename
);

Implementation

int WslRegisterDistribution(
        Pointer<Utf16> distributionName, Pointer<Utf16> tarGzFilename) =>
    _WslRegisterDistribution(distributionName, tarGzFilename);