Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Microsoft.Windows.CsWin32 from 0.3.46-beta to 0.3.49-beta #743

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: GPL-3.0-only
<!-- Usbipd -->
<PackageVersion Include="Microsoft.Extensions.Configuration.Ini" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="7.0.1" />
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.46-beta" />
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.49-beta" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />

<!-- UsbIds -->
Expand Down
2 changes: 1 addition & 1 deletion Usbipd/ConfigurationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{
fixed (char* pDeviceId = deviceId)
{
PInvoke.CM_Get_Device_Interface_List_Size(out var bufferLen, interfaceClassGuid, pDeviceId, (uint)flags).ThrowOnError(nameof(PInvoke.CM_Get_Device_Interface_List_Size));
PInvoke.CM_Get_Device_Interface_List_Size(out var bufferLen, interfaceClassGuid, pDeviceId, flags).ThrowOnError(nameof(PInvoke.CM_Get_Device_Interface_List_Size));

Check warning on line 51 in Usbipd/ConfigurationManager.cs

View check run for this annotation

Codecov / codecov/patch

Usbipd/ConfigurationManager.cs#L51

Added line #L51 was not covered by tests
var deviceInterfaceList = new string('\0', (int)bufferLen);
fixed (char* buffer = deviceInterfaceList)
{
Expand Down