WslcCreateSession¶
STDAPI WslcCreateSession(_In_ WslcSessionSettings* sessionSettings, _Out_ WslcSession* session, _Outptr_opt_result_z_ PWSTR* errorMessage);
| Parameter | Type | Direction |
|---|---|---|
sessionSettings |
WslcSessionSettings* |
in |
session |
WslcSession* |
out |
errorMessage |
PWSTR* |
out, optional |
Return value: HRESULT.
Example: