master
md 20 lines 474 Bytes
Rendered Raw
1 # WslcSetSessionSettingsFeatureFlags
2
3 ```c
4 STDAPI WslcSetSessionSettingsFeatureFlags(_In_ WslcSessionSettings* sessionSettings, _In_ WslcSessionFeatureFlags flags);
5 ```
6
7 | Parameter | Type | Direction |
8 |---|---|---|
9 | `sessionSettings` | `WslcSessionSettings*` | in |
10 | `flags` | `WslcSessionFeatureFlags` | in |
11
12 Return value: `HRESULT`.
13
14 Example:
15
16 ```c
17 HRESULT hr = WslcSetSessionSettingsFeatureFlags(
18 &sessionSettings,
19 WSLC_SESSION_FEATURE_FLAG_ENABLE_GPU);
20 ```