Skip to content

Commit ee5be10

Browse files
committed
Device architecture fix
1 parent 094ac06 commit ee5be10

File tree

6 files changed

+612
-612
lines changed

6 files changed

+612
-612
lines changed

Project/Hid/Setup/Device.cs renamed to Project/Hid/Device/Base.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/// <summary>
77
/// TODO: Move it to another project SharpLibSetup
88
/// </summary>
9-
namespace SharpLib.Setup
9+
namespace SharpLib.Hid.Device
1010
{
1111

1212
using Windows.Win32;
@@ -24,7 +24,7 @@ namespace SharpLib.Setup
2424
/// <see cref="Windows.Win32.SetupDiDestroyDeviceInfoListSafeHandle"/>
2525
/// <see cref="Windows.Win32.Devices.DeviceAndDriverInstallation.SP_DEVINFO_DATA"/>
2626
/// </summary>
27-
public class Device : IDisposable
27+
public class Base : IDisposable
2828
{
2929
private string iInstancePath;
3030
SetupDiDestroyDeviceInfoListSafeHandle iDevInfo;
@@ -109,7 +109,7 @@ unsafe void GetAllProperties()
109109
// Fetch all our properties
110110
for (int i=0;i<propertyCount;i++)
111111
{
112-
Hid.Property.Base.New(iDevInfo, *ptrDevInfoData, propertyKeys[i]);
112+
SharpLib.Hid.Property.Base.New(iDevInfo, *ptrDevInfoData, propertyKeys[i]);
113113
}
114114
}
115115
}
@@ -119,7 +119,7 @@ unsafe void GetAllProperties()
119119
/// <summary>
120120
/// Make sure dispose is called even if the user forgot about it.
121121
/// </summary>
122-
~Device()
122+
~Base()
123123
{
124124
Dispose();
125125
}

0 commit comments

Comments
 (0)