Commit graph

37080 commits

Author SHA1 Message Date
Cameron Gutman 70a581c537 - Enable the code in NdisSetTimerEx
- Add a debug print

svn path=/trunk/; revision=41258
2009-06-02 18:20:15 +00:00
Ged Murphy 65fa28b9de bug3954 missed some styles. Updated English resource, can Gabriel or anyone else do the rest.
svn path=/trunk/; revision=41257
2009-06-02 14:58:02 +00:00
Aleksey Bragin 65612168fe - Properly disable tag validation if using debugging pool (fixes a wrong part of r41255).
svn path=/trunk/; revision=41256
2009-06-02 12:54:03 +00:00
Aleksey Bragin 88b8188a0e - Add a note about increasing max pool sizes when using pool debugging.
svn path=/trunk/; revision=41255
2009-06-02 12:48:00 +00:00
Michael Martin 1760329b33 IopCreateObjectTypes: Add a DeleteProcedure for Device Objects.
IopUnloadDevice: After calling the drivers Unload routine, make the DriverObject temporary and dereference it.
IopUnloadDriver: Check that the driver is not already unloading before trying to call unload routine.
If any failure, dereference the DriverObject before returning STATUS code.
On an attempt to unload the driver, loop through each DeviceObject and set DOE_UNLOAD_PENDING in device extensions flags.
Before calling the driver's unload routine set DRVO_UNLOAD_INVOKED in DriverObject's flags.
Fixes Bugchecks when attempting to load driver a second time and when unloading a driver that has upper level device attached.

svn path=/trunk/; revision=41254
2009-06-02 12:10:17 +00:00
Matthias Kupfer 3970cdddbc Gabriel Ilardi <gabrielilardi AT hotmail DOT it>
- Fixes the TAB_STOP problem for taskmanager.
- See issue #3954 for details.

svn path=/trunk/; revision=41253
2009-06-02 11:28:47 +00:00
Matthias Kupfer df9c9d55b3 set menu checkmark always on top always
svn path=/trunk/; revision=41252
2009-06-02 11:04:02 +00:00
Matthias Kupfer 9389bb01b8 - fixes the problem of unsetting the HWND_TOPMOST property (e.g. taskmgr)
- review recommended, but i think it's sufficient to limit topmost property to desktop windows only (otherwise we can remove this part of condition)

svn path=/trunk/; revision=41251
2009-06-02 10:13:30 +00:00
James Tabor cdacb4b6b5 - Hax-implement NtGdiSetPixelFormat and add a support function UserGethWnd with some code cleanup.
svn path=/trunk/; revision=41250
2009-06-02 06:50:36 +00:00
Cameron Gutman e640466446 - Fix a potential crash in IoGetLowerDeviceObject if nothing is attached to us
svn path=/trunk/; revision=41249
2009-06-02 01:34:12 +00:00
Cameron Gutman e4a0b00377 - Use MmFreeContiguousMemorySpecifyCache to free memory allocated by MmAllocateContiguousMemorySpecifyCache in HalAllocateCommonBuffer
svn path=/trunk/; revision=41248
2009-06-02 01:30:52 +00:00
Cameron Gutman 6530a6856e - Forgot to free DmaContext
svn path=/trunk/; revision=41247
2009-06-02 00:43:21 +00:00
Cameron Gutman 2d20153f5f - Finish our NDIS S/G DMA implementation
- Totally untested due to lack of HAL S/G support

svn path=/trunk/; revision=41246
2009-06-02 00:37:23 +00:00
James Tabor 5e49d1b3cc - Implement NtGdiDescribePixelFormat, needs testing.
svn path=/trunk/; revision=41245
2009-06-01 23:24:20 +00:00
James Tabor e2bc37faee - Add note for WNDOBJ.
svn path=/trunk/; revision=41244
2009-06-01 22:51:48 +00:00
Timo Kreuzer 39781fb735 Add missing exports to videoprt
svn path=/trunk/; revision=41243
2009-06-01 22:16:54 +00:00
Matthias Kupfer 60c7b6f542 fixes clipping problem for taskmgr process list
svn path=/trunk/; revision=41242
2009-06-01 22:10:43 +00:00
Cameron Gutman 85da39f0ab - Handle IRP_MN_QUERY_PNP_DEVICE_STATE
svn path=/trunk/; revision=41241
2009-06-01 21:56:44 +00:00
Cameron Gutman 7840b71301 - Register a device interface for each miniport
svn path=/trunk/; revision=41240
2009-06-01 19:10:49 +00:00
Cameron Gutman dc6b09d85a - Include initguid.h so the GUIDs actually get initialized
svn path=/trunk/; revision=41239
2009-06-01 19:03:28 +00:00
Cameron Gutman 2d1234a73d - Use DECLSPEC_SELECTANY so multiple definitions will not cause a problem
svn path=/trunk/; revision=41238
2009-06-01 18:59:44 +00:00
Cameron Gutman b2ca874ca9 - Add GUID_DEVINTERFACE_NET
svn path=/trunk/; revision=41237
2009-06-01 17:40:57 +00:00
Michael Martin 294eb46c01 eventlog.c: When manually creating RPC_UNICODE_STRING/RPC_STRING the Length member does not include the terminating null, but MaximumLength does. Fixes returning handle for Security and System event logs.
svn path=/trunk/; revision=41236
2009-06-01 17:11:30 +00:00
KJK::Hyperion 92da2bbe75 added tools/msc_helper
added      tools/msc_helper/msc_helper.cpp
added      tools/msc_helper/msc_helper.rbuild
   Build tool to invoke Microsoft tools, overriding the %PATH% variable and optionally filtering out the name of the file being compiled
   Will be used by the Visual C++ support for rbuild

svn path=/trunk/; revision=41235
2009-06-01 15:17:41 +00:00
KJK::Hyperion 8b8b19eacc added include/reactos/kjk
added      include/reactos/kjk/argv_parser.h
added      include/reactos/kjk/null_output_iterator.h
added      include/reactos/kjk/stringz_iterator.h
   Some internal libraries I use in code I haven't committed yet

svn path=/trunk/; revision=41234
2009-06-01 15:14:37 +00:00
Stefan Ginsberg 7aa1c0b641 - Disable debugging traces for dbgk/io/lpc/ob/ps by default, removing mostly unused debug code from frequently used routines and decreasing image size by about 32 KB. Also fix the way some macros are defined so we don't end up with double semicolons after the preprocessor.
svn path=/trunk/; revision=41233
2009-06-01 06:21:12 +00:00
Cameron Gutman 6d2f233002 - Implement and export NdisCompareAnsiString, NdisCompareUnicodeString, and NdisInterlockedAddLargeInteger
svn path=/trunk/; revision=41232
2009-05-31 23:20:55 +00:00
Cameron Gutman d6dda55c2d - Export the stubs for NdisRegisterTdiCallBack, NdisSetProtocolFilter, and NdisClGetProtocolVcContextFromTapiCallId
- Remove some extra stuff
 - Move implemented stuff to misc.c
 - Add some debug prints

svn path=/trunk/; revision=41231
2009-05-31 23:00:32 +00:00
Kamil Hornicek a10701f6ac - driverName can be null, display info.DriverName instead
svn path=/trunk/; revision=41230
2009-05-31 21:54:34 +00:00
Stefan Ginsberg ca5fe53784 Patch from Olaf Siejka <olaf_siejka AT o2 DOT pl>
Stub out more IRP type cases instead of printing "Unknown IOCTL"

svn path=/trunk/; revision=41229
2009-05-31 20:53:49 +00:00
Cameron Gutman 9d9267a4fb - Add TDI_REGISTER_CALLBACK and TDI_PNP_HANDLER
svn path=/trunk/; revision=41228
2009-05-31 17:42:56 +00:00
James Tabor a149107372 - dmDriverExtra is zeroed before the call to ChangeDisplaySettingsEx.
svn path=/trunk/; revision=41227
2009-05-31 17:33:27 +00:00
Sylvain Petreolle 6f6a9fe1c5 Return NDIS 5.1 in NdisGetVersion (its XP+)
svn path=/trunk/; revision=41226
2009-05-31 16:14:27 +00:00
Cameron Gutman 67f8c6d15c - Implement and export NdisOverrideBusNumber
svn path=/trunk/; revision=41225
2009-05-31 16:04:43 +00:00
Dmitry Chapyshev e258863e18 - Implement NdisGetSharedDataAlignment and NdisGetVersion
svn path=/trunk/; revision=41224
2009-05-31 15:24:56 +00:00
Cameron Gutman 9ee18c1c89 - Fix build
svn path=/trunk/; revision=41223
2009-05-31 14:59:56 +00:00
Cameron Gutman c57e5460f5 - Export and stub NdisAllocateFromBlockPool, NdisCancelSendPackets, NdisCoAssignInstanceName, NdisCoGetTapiCallId, NdisCreateBlockPool, NdisDestroyBlockPool, NdisGeneratePartialCancelId, NdisGetRoutineAddress, NdisGetSharedDataAlignment, NdisGetVersion, NdisIMGetCurrentPacketStack, NdisIMNotifyPnPEvent, NdisQueryPendingIOCount, and NdisSetPacketStatus
svn path=/trunk/; revision=41222
2009-05-31 14:47:06 +00:00
Cameron Gutman b8460aa949 - Add NDIS_PACKET_STACK and NDIS_BLOCK_INITIALIZER
svn path=/trunk/; revision=41221
2009-05-31 14:42:17 +00:00
Cameron Gutman b917a5c401 - Fix a typo
- Found by Fireball

svn path=/trunk/; revision=41219
2009-05-31 13:17:42 +00:00
Sylvain Petreolle 70806391db Sync GetNamedSecurityInfoA with Wine.
RtlCreateUnicodeStringFromAsciiz is unwanted since the call to GetNamedSecurityInfoW checks for NULL
and in this case sets ERROR_INVALID_PARAMETER.

svn path=/trunk/; revision=41216
2009-05-31 12:39:45 +00:00
Dmitry Gorbachev f3dc5e09e4 Sync Dutch translation with English original.
svn path=/trunk/; revision=41215
2009-05-31 12:25:05 +00:00
Cameron Gutman 2c542da5fb - Export and hackplement NdisSetTimerEx
- Implementation is #ifed out currently but I may enable it later
 - Hopefully somebody can think of a better way to do it than the current code

svn path=/trunk/; revision=41213
2009-05-30 23:07:13 +00:00
Cameron Gutman f52414693c - Fix line breaks
- Patch by Olaf Siejka

svn path=/trunk/; revision=41212
2009-05-30 22:54:38 +00:00
Cameron Gutman 7d457b6fd5 - Export stubs for NdisQueryBindInstanceName and NdisSetPacketPoolProtocolId
svn path=/trunk/; revision=41211
2009-05-30 22:50:33 +00:00
Cameron Gutman 4b7dc042c1 - Export NdisGetFirstBufferFromPacketSafe, NdisGetPacketCancelId, NdisGetPoolFromPacket, NdisPacketSize, and NdisSetPacketCancelId
svn path=/trunk/; revision=41210
2009-05-30 22:18:10 +00:00
Sylvain Petreolle e1bafda4d6 Export NdisCopyFromPacketToPacketSafe
svn path=/trunk/; revision=41208
2009-05-30 21:50:49 +00:00
Cameron Gutman a9826865bc - Fix handling of nonpaged contiguous memory in NdisAllocateMemory and NdisFreeMemory
svn path=/trunk/; revision=41207
2009-05-30 17:12:45 +00:00
Dmitry Chapyshev c52c28e739 - Set default kb layout for Russian language to English
svn path=/trunk/; revision=41206
2009-05-30 13:47:48 +00:00
Sylvain Petreolle 2099bbb8bd Implement CDS_TEST flag for IntChangeDisplaySettings.
Set ERROR_CALL_NOT_IMPLEMENTED where needed.

svn path=/trunk/; revision=41205
2009-05-30 12:26:59 +00:00
Sylvain Petreolle 2b5b6243ba ChangeDisplaySettingsA and ChangeDisplaySettingsW should reset dmDriverExtra to 0.
svn path=/trunk/; revision=41204
2009-05-30 12:23:20 +00:00