master
md 19 lines 353 Bytes
Rendered Raw
1 # WslcGetProcessExitCode
2
3 ```c
4 STDAPI WslcGetProcessExitCode(_In_ WslcProcess process, _Out_ PINT32 exitCode);
5 ```
6
7 | Parameter | Type | Direction |
8 |---|---|---|
9 | `process` | `WslcProcess` | in |
10 | `exitCode` | `PINT32` | out |
11
12 Return value: `HRESULT`.
13
14 Example:
15
16 ```c
17 INT32 exitCode = 0;
18 HRESULT hr = WslcGetProcessExitCode(process, &exitCode);
19 ```