master
md 19 lines 492 Bytes
Rendered Raw
1 # WslcGetContainerID
2
3 ```c
4 STDAPI WslcGetContainerID(_In_ WslcContainer container, _Out_writes_(WSLC_CONTAINER_ID_BUFFER_SIZE) CHAR containerID[WSLC_CONTAINER_ID_BUFFER_SIZE]);
5 ```
6
7 | Parameter | Type | Direction |
8 |---|---|---|
9 | `container` | `WslcContainer` | in |
10 | `containerID` | `CHAR[WSLC_CONTAINER_ID_BUFFER_SIZE]` | out |
11
12 Return value: `HRESULT`.
13
14 Example:
15
16 ```c
17 CHAR containerID[WSLC_CONTAINER_ID_BUFFER_SIZE] = { 0 };
18 HRESULT hr = WslcGetContainerID(container, containerID);
19 ```