| 52 | } |
| 53 | |
| 54 | HRESULT WslApiLoader::WslConfigureDistribution(ULONG defaultUID, WSL_DISTRIBUTION_FLAGS wslDistributionFlags) |
| 55 | { |
| 56 | HRESULT hr = _configureDistribution(_distributionName.c_str(), defaultUID, wslDistributionFlags); |
| 57 | if (FAILED(hr)) { |
| 58 | Helpers::PrintMessage(MSG_WSL_CONFIGURE_DISTRIBUTION_FAILED, hr); |
| 59 | } |
| 60 | |
| 61 | return hr; |
| 62 | } |
| 63 | |
| 64 | HRESULT WslApiLoader::WslLaunchInteractive(PCWSTR command, BOOL useCurrentWorkingDirectory, DWORD *exitCode) |
| 65 | { |