Author: arty
Date: Sun Aug 13 11:05:14 2006
New Revision: 23566
URL: http://svn.reactos.org/svn/reactos?rev=23566&view=rev
Log:
Accept a NULL ResourceList if the caller is just asking how big the result
will be, as indicated by a zero BufferSize.
Modified:
trunk/reactos/drivers/network/ndis/ndis/hardware.c
Modified: trunk/reactos/drivers/network/ndis/ndis/hardware.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/hardware.c (original)
+++ trunk/reactos/drivers/network/ndis/ndis/hardware.c Sun Aug 13 11:05:14 2006
@@ -103,7 +103,7 @@
ULONG ResourceListSize;
PAGED_CODE();
- ASSERT((Status && ResourceList) || *BufferSize != 0);
+ ASSERT((Status && ResourceList) || (BufferSize && *BufferSize == 0));
NDIS_DbgPrint(MAX_TRACE, ("Called\n"));
Author: mc
Date: Sun Aug 13 00:40:12 2006
New Revision: 23564
URL: http://svn.reactos.org/svn/reactos?rev=23564&view=rev
Log:
modified porting-tools/mstscax/mstscax.cpp
Guard against NULL pointers in certain methods
Append a newline to debug messages
Support a couple forgotten VARIANT types
Corrected implementations of IUnknown::QueryInterface
Better debug output for IDispatch::GetIDsOfNames and IDispatch::Invoke
Debug output for IQuickActivate
modified porting-tools/rdesktop-core-tester/activex.cpp
Way too many changes to list. Basically, I wrote an ActiveX control without any help from third party libraries such as ATL. It was educative, but not terribly fun. Very nearly there
All properties of the control are now supported, aligned to the behavior of the original control, version 5.2. Parameter validation and range enforcement eveeywhere
modified porting-tools/rdesktop-core-tester/mstsclib.idl
Reindented
Removed explicit __stdcall convention
Added alternate interface ids/class ids for compatibility with the msrdp.ocx redistributable. Code does not support this yet
modified porting-tools/rdesktop-core-tester/mstsclib.rc
added porting-tools/rdesktop-core-tester/mstsclib_redist.idl
added porting-tools/rdesktop-core-tester/mstsclib_redist.rc
modified porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
added porting-tools/rdesktop-core-tester/typelib.rh
Support two type libraries for compatibility with the msrdp.ocx redistributable. Code does not support this yet
modified porting-tools/rdesktop-core-tester/mstsclib_h.h
modified porting-tools/rdesktop-core-tester/mstsclib_i.c
added porting-tools/rdesktop-core-tester/mstsclib_redist_h.h
added porting-tools/rdesktop-core-tester/mstsclib_redist_i.c
Auto-generated files, for the poor souls without MIDL
modified porting-tools/rdesktop-core-tester/stdafx.h
Added missing OLE header
Corrected typo
Added:
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist.idl
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist.rc
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist_h.h
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist_i.c
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/typelib.rh
Modified:
trunk/reactos/base/applications/tsclient/porting-tools/mstscax/mstscax.cpp
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/activex.cpp
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib.idl
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib.rc
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_h.h
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_i.c
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/stdafx.h
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/reactos/base/applications/tsclient/porting-tools/mstscax/mstscax.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/activex.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_h.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_i.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Added: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Added: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Added: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist_h.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Added: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/mstsclib_redist_i.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Modified: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/stdafx.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…
Added: trunk/reactos/base/applications/tsclient/porting-tools/rdesktop-core-tester/typelib.rh
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/tsclient…