MCPcopy Create free account
hub / github.com/VSWSL/Arch-WSL / WslConfigureDistribution

Method WslConfigureDistribution

ArchWSL/WslApiLoader.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54HRESULT 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
64HRESULT WslApiLoader::WslLaunchInteractive(PCWSTR command, BOOL useCurrentWorkingDirectory, DWORD *exitCode)
65{

Callers 1

SetDefaultUserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected