Do not try reading from NULL pointer and compare the value.
This let me come bit futer with user32_winetest.exe, but we still have some user mode crash with menu.
svn path=/trunk/; revision=23003
- Fixed and modified MenuDrawBitmapItem, MenuGetBitmapItemSize and MenuCalcItemSize. Based on Wine ports.
- Fixed menu bar drawing and maintained most callback changes (for Miranda). Implemented flat menu support. Some other misc changes. Owner drawing is still broken (Free pascal project Lazarus). Run user32_crosstest from Wine, still more rewriting is needed.
svn path=/trunk/; revision=22989
1. Time value can be changes use SPI_SETSCREENSAVETIMEOUT to set the new value, current insate value are set to 30sec
2. SPI_GETSCREENSAVETIMEOUT Get the screen saver timeout value.
3. Dectect if screen saver is running with SPI_GETSCREENSAVERRUNNING
4. Set the state of screen saver with SPI_SETSCREENSAVERRUNNING <- this is internal api see msdn
Implement for mouse
1. SPI_GETWHEELSCROLLLINES I am but unsure if win32k need more changes it seam like it is only a counter that should be set/get a value and user apps take care of the rest. Implement it for jimtabor did request it.
2. SPI_GETWHEELSCROLLCHARS I am but unsure if win32k need more changes it seam like it is only a counter that should be set/get a value and user apps take care of the rest.
svn path=/trunk/; revision=22985
modified rdesktop/constants.h
modified rdesktop/types.h
Commented out definitions of standard Windows constants and types
modified rdesktop/licence.c
modified rdesktop/secure.c
TODO annotations
modified rdesktop/proto.h
Commented out prototypes for rdpdr, rdpsnd, cliprdr, etc. functions that will be rewritten *and* use a new API
modified rdesktop/rdesktop.h
modified rdesktop/rdp.c
modified rdesktop/tcp.c
Big big mess, many temporary modifications to have a working prototype ASAP
added MissTosca.sln
added mstsc/mstsc.cpp
added mstsc/mstsc.vcproj
added mstsc/stdafx.cpp
added mstsc/stdafx.h
added mstscax/mstscax.cpp
added mstscax/mstscax.vcproj
added mstscax/stdafx.cpp
added mstscax/stdafx.h
Created skeleton project files for Visual C++ 2005
added rdesktop/rdesktop-core.vcproj
Isolated the bare core of rdesktop. Required little to no porting
added porting-tools/rdesktop-core-tester
added porting-tools/rdesktop-core-tester/rdesktop-core-tester.cpp
added porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
added porting-tools/rdesktop-core-tester/stdafx.cpp
added porting-tools/rdesktop-core-tester/stdafx.h
Tester application. The screenshots were made with this. Partial (buggy!) implementation of GUI and keyboard input
svn path=/trunk/; revision=22983
- Architectural changes to match information in Windows Internals 4 and other documented sources of information (Windows Internals II by Probert). Code should match Win2003 layout.
- Handle almost any possible process/thread sub structure and add its cleanup code stubs, so that when we actually implement them, we won't forget to clean them up in the process code.
- Add interlocked usage of process and thread flags in order to make everything more thread-safe.
- Better handle cases where threads die instantly, race conditions, and other weird issues.
- Better handle process termination and thread termination.
- Implement NtCreateProcessEx and update PspCreateProcess/NtCreateProcess.
- Improve cleanup of process object in PspProcessDelete.
- Optimize some things like User Thread startup.
- Add some extra asserts, paged_code checks and also user-mode security check.
- Implement helper API PsGetNextProcessThread
- Optimize thread reaper (thanks Filip)
- Do proper referencing/dereferencing of thread/processes (thanks Thomas)
- Document FIXMEs needed for Ps code to be up to standards and complete.
svn path=/trunk/; revision=22976
Reason : CRT/RTL/STRING are being static linkend into evething and cause CSR crash when it booting to GUI
and some of the changes are wrong in rbuild as well. Do not hardcode example mingw32-ld name
keep it to ld for it is the make file detmer the name of ld when it is building. and some other
changes are also question about. It also fix so we can build ReactOS with MinGW 3.4.2 again and
BinUtils 2.15.91, it was also other problem with this changes.
svn path=/trunk/; revision=22973
- Fix IoAllocateDriverObjectExtension and IoGetDriverObjectExtension:
- They were using the wrong structure (a made up one).
- They were saving the extension where the Driver Object's base address should be.
- Memory leaks.
- Sometimes holding the lock too long.
- Created EXTENDED_DRIVER_OBJECT structure in NDK, since parts of the documented one are hidden (much like EXTENDED_DEVICE_OBJECT).
- Fixed IopDeleteDriver to free what it should.
- Fixed IoCreateDriver to handle more failure cases.
svn path=/trunk/; revision=22962