diff --git a/PInvoke/Ws2_32/ws2spi.cs b/PInvoke/Ws2_32/ws2spi.cs
index 04af09b72..2ded3fc6f 100644
--- a/PInvoke/Ws2_32/ws2spi.cs
+++ b/PInvoke/Ws2_32/ws2spi.cs
@@ -4555,7 +4555,7 @@ public struct WSANAMESPACE_INFOEXW
///
///
///
- public uint dwNameSpace;
+ public NS dwNameSpace;
///
/// Type: BOOL
@@ -4666,7 +4666,7 @@ public struct WSANAMESPACE_INFOW
///
///
///
- public uint dwNameSpace;
+ public NS dwNameSpace;
///
/// Type: BOOL