Author: hbelusca
Date: Sat Apr 13 22:11:40 2013
New Revision: 58748
URL: http://svn.reactos.org/svn/reactos?rev=58748&view=rev
Log:
[REACTOS]
Addendum to revision r58744.
CORE-7062 #comment the NDIS_** structures, albeit containing the "recieve" misspelling, must be kept as they are because we must be compatible with the Windows DDK. Indeed this one contains the misspelling. Blame Microsoft if they do not know how to write proper English or if they do not re-read what they are writing !!
Modified:
trunk/reactos/include/ddk/ndiswan.h
Modified: trunk/reactos/include/ddk/ndiswan.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ndiswan.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/ndiswan.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ndiswan.h [iso-8859-1] Sat Apr 13 22:11:40 2013
@@ -212,6 +212,12 @@
IN NDIS_WAN_COMPRESS_INFO RecvCapabilities;
} NDIS_WAN_SET_COMP_INFO, *PNDIS_WAN_SET_COMP_INFO;
+/*
+ * NOTE: As some people may notice, this structure contains three misspelled
+ * fields (the "Tunnel*Recieve*" fields). Their names come from the Windows
+ * Driver Development Kit and thus, blame Microsoft if they do not know how
+ * to write proper English or if they do not re-read what they are writing !!
+ */
typedef struct _NDIS_WAN_GET_STATS_INFO {
IN NDIS_HANDLE NdisLinkHandle;
OUT ULONG BytesSent;
@@ -228,10 +234,10 @@
OUT ULONG BytesReceivedUncompressed;
OUT ULONG BytesTransmittedCompressed;
OUT ULONG BytesReceivedCompressed;
- OUT ULONG TunnelPacketsReceived;
- OUT ULONG TunnelReceivePacketsPending;
+ OUT ULONG TunnelPacketsRecieved;
+ OUT ULONG TunnelRecievePacketsPending;
OUT ULONG TunnelPacketsIndicatedUp;
- OUT ULONG TunnelReceivePacketsRejected;
+ OUT ULONG TunnelRecievePacketsRejected;
OUT ULONG TunnelPacketsSent;
OUT ULONG TunnelPacketsSentComplete;
OUT ULONG TunnelTransmitPacketsPending;
@@ -302,6 +308,12 @@
IN NDIS_WAN_COMPRESS_INFO RecvCapabilities;
} NDIS_WAN_CO_SET_COMP_INFO, *PNDIS_WAN_CO_SET_COMP_INFO;
+/*
+ * NOTE: As some people may notice, this structure contains three misspelled
+ * fields (the "Tunnel*Recieve*" fields). Their names come from the Windows
+ * Driver Development Kit and thus, blame Microsoft if they do not know how
+ * to write proper English or if they do not re-read what they are writing !!
+ */
typedef struct _NDIS_WAN_CO_GET_STATS_INFO {
OUT ULONG BytesSent;
OUT ULONG BytesRcvd;
@@ -317,10 +329,10 @@
OUT ULONG BytesReceivedUncompressed;
OUT ULONG BytesTransmittedCompressed;
OUT ULONG BytesReceivedCompressed;
- OUT ULONG TunnelPacketsReceived;
- OUT ULONG TunnelReceivePacketsPending;
+ OUT ULONG TunnelPacketsRecieved;
+ OUT ULONG TunnelRecievePacketsPending;
OUT ULONG TunnelPacketsIndicatedUp;
- OUT ULONG TunnelReceivePacketsRejected;
+ OUT ULONG TunnelRecievePacketsRejected;
OUT ULONG TunnelPacketsSent;
OUT ULONG TunnelPacketsSentComplete;
OUT ULONG TunnelTransmitPacketsPending;