WslcSetContainerSettingsHostName
STDAPI WslcSetContainerSettingsHostName(_In_ WslcContainerSettings* containerSettings, _In_ PCSTR hostName);
| Parameter | Type | Direction |
|---|---|---|
containerSettings |
WslcContainerSettings* |
in |
hostName |
PCSTR |
in |
Return value: HRESULT.
Example:
HRESULT hr = WslcSetContainerSettingsHostName(&containerSettings, "demo-host");