Skip to content

Commit 2610162

Browse files
1wizkidCopilot
andauthored
Update src/windows/WslcSDK/wslcsdk.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3faa5ea commit 2610162

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/windows/WslcSDK/wslcsdk.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ STDAPI WslcContainerSettingsFlags(_In_ WslcContainerSettings containerSettings,
188188
_In_ WSLC_CONTAINER_FLAGS flags);
189189

190190
STDAPI WslcContainerSettingsPortMapping(_In_ WslcContainerSettings containerSettings,
191-
_In_ const WSLC_CONTAINER_PORT_MAPPING* portMappings);
191+
_In_reads_(portMappingsCount) const WSLC_CONTAINER_PORT_MAPPING* portMappings,
192+
_In_ UINT32 portMappingsCount);
192193

193194
// Add the container volume to the volumes array
194-
STDAPI WslcContainerSettingsVolume(_In_ WslcContainerSettings containerSettings, _In_ const WSLC_CONTAINER_VOLUME* volumes);
195-
196-
197-
195+
STDAPI WslcContainerSettingsVolume(_In_ WslcContainerSettings containerSettings,
196+
_In_reads_(volumesCount) const WSLC_CONTAINER_VOLUME* volumes,
197+
_In_ UINT32 volumesCount);
198198
STDAPI WslcContainerExecProcess(_In_ WslcContainer container,
199199
_In_ WslcProcessSettings newProcessSettings,
200200
_Out_ WslcProcess* newProcess);

0 commit comments

Comments
 (0)