These are not correct.
Am 22.02.2012 21:58, schrieb sginsberg(a)svn.reactos.org:
Author: sginsberg
Date: Wed Feb 22 20:58:20 2012
New Revision: 55813
Modified: trunk/reactos/include/psdk/usbioctl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/usbioctl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/usbioctl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/usbioctl.h [iso-8859-1] Wed Feb 22 20:58:20 2012
@@ -295,34 +295,34 @@
USHORT DeviceAddress;
ULONG NumberOfOpenPipes;
USB_CONNECTION_STATUS ConnectionStatus;
- USB_PIPE_INFO PipeList[0];
+ USB_PIPE_INFO PipeList[ANYSIZE_ARRAY];
} USB_NODE_CONNECTION_INFORMATION, *PUSB_NODE_CONNECTION_INFORMATION;
typedef struct _USB_DESCRIPTOR_REQUEST {
@@ -334,7 +334,7 @@
USHORT wIndex;
USHORT wLength;
} SetupPacket;
- UCHAR Data[0];
+ UCHAR Data[ANYSIZE_ARRAY];
} USB_DESCRIPTOR_REQUEST, *PUSB_DESCRIPTOR_REQUEST;
#if (_WIN32_WINNT>= 0x0501)
@@ -358,7 +358,7 @@
USHORT DeviceAddress;
ULONG NumberOfOpenPipes;
USB_CONNECTION_STATUS ConnectionStatus;
- USB_PIPE_INFO PipeList[0];
+ USB_PIPE_INFO PipeList[ANYSIZE_ARRAY];
} USB_NODE_CONNECTION_INFORMATION_EX, *PUSB_NODE_CONNECTION_INFORMATION_EX;
C_ASSERT(sizeof(USB_NODE_CONNECTION_INFORMATION_EX) ==
sizeof(USB_NODE_CONNECTION_INFORMATION));