Author: pschweitzer
Date: Sat Sep 13 17:10:18 2008
New Revision: 36202
URL: http://svn.reactos.org/svn/reactos?rev=36202&view=rev
Log:
Added the 3 missing idl files.
This *DOES NOT* fix ole32 build.
Added:
trunk/reactos/dll/win32/ole32/ole32_objidl.idl (with props)
trunk/reactos/dll/win32/ole32/ole32_oleidl.idl (with props)
trunk/reactos/dll/win32/ole32/ole32_unknwn.idl (with props)
Added: trunk/reactos/dll/win32/ole32/ole32_objidl.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ole32/ole32_obji…
==============================================================================
--- trunk/reactos/dll/win32/ole32/ole32_objidl.idl (added)
+++ trunk/reactos/dll/win32/ole32/ole32_objidl.idl [iso-8859-1] Sat Sep 13 17:10:18 2008
@@ -1,0 +1,25 @@
+/*
+ * Copyright 2007 Google (Dan Hipschman)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/* The header file generated from this includes rpc.h, which ends up
+ including objidl.h at some point. This will cause all sorts of errors
+ so the easiest thing to do is just comment out our entire header. */
+
+cpp_quote("#if 0 /* ole32_objidl.idl hack */")
+#include "objidl.idl"
+cpp_quote("#endif /* ole32_objidl.idl hack */")
Propchange: trunk/reactos/dll/win32/ole32/ole32_objidl.idl
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/ole32/ole32_oleidl.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ole32/ole32_olei…
==============================================================================
--- trunk/reactos/dll/win32/ole32/ole32_oleidl.idl (added)
+++ trunk/reactos/dll/win32/ole32/ole32_oleidl.idl [iso-8859-1] Sat Sep 13 17:10:18 2008
@@ -1,0 +1,20 @@
+/*
+ * Copyright 2007 Google (Dan Hipschman)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+cpp_quote("#include <winuser.h>")
+#include "oleidl.idl"
Propchange: trunk/reactos/dll/win32/ole32/ole32_oleidl.idl
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/ole32/ole32_unknwn.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ole32/ole32_unkn…
==============================================================================
--- trunk/reactos/dll/win32/ole32/ole32_unknwn.idl (added)
+++ trunk/reactos/dll/win32/ole32/ole32_unknwn.idl [iso-8859-1] Sat Sep 13 17:10:18 2008
@@ -1,0 +1,25 @@
+/*
+ * Copyright 2007 Google (Dan Hipschman)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/* The header file generated from this includes rpc.h, which ends up
+ including unknwn.h at some point. This will cause all sorts of errors
+ so the easiest thing to do is just comment out our entire header. */
+
+cpp_quote("#if 0 /* oleaut32_unknwn.idl hack */")
+#include "unknwn.idl"
+cpp_quote("#endif /* oleaut32_unknwn.idl hack */")
Propchange: trunk/reactos/dll/win32/ole32/ole32_unknwn.idl
------------------------------------------------------------------------------
svn:eol-style = native
Author: cgutman
Date: Sat Sep 13 13:33:16 2008
New Revision: 36195
URL: http://svn.reactos.org/svn/reactos?rev=36195&view=rev
Log:
- Read the maximum packets that the driver allows to be sent at one time
- We don't use it yet
Modified:
branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c
Modified: branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sat Sep 13 13:33:16 2008
@@ -1205,6 +1205,17 @@
{
NDIS_DbgPrint(MIN_TRACE, ("OID_GEN_CURRENT_LOOKAHEAD failed. NdisStatus (0x%X).\n", NdisStatus));
return NdisStatus;
+ }
+
+ NdisStatus = MiniQueryInformation(Adapter, OID_GEN_MAXIMUM_SEND_PACKETS, sizeof(ULONG),
+ &Adapter->NdisMiniportBlock.MaxSendPackets, &BytesWritten);
+
+ if (NdisStatus != NDIS_STATUS_SUCCESS)
+ {
+ NDIS_DbgPrint(MIN_TRACE, ("OID_GEN_MAXIMUM_SEND_PACKETS failed. NdisStatus (0x%X).\n", NdisStatus));
+
+ /* Set it to 1 if it fails because some drivers don't support this (?)*/
+ Adapter->NdisMiniportBlock.MaxSendPackets = 1;
}
NDIS_DbgPrint(DEBUG_MINIPORT, ("CurLookaheadLength (0x%X).\n", Adapter->NdisMiniportBlock.CurrentLookahead));