reactos.git
12 years agoadd drmk to bootcd
Sylvain Petreolle [Sat, 17 Jan 2009 21:36:08 +0000 (21:36 +0000)]
add drmk to bootcd

svn path=/trunk/; revision=38855

12 years agofix SystemFunction013
Christoph von Wittich [Sat, 17 Jan 2009 21:29:13 +0000 (21:29 +0000)]
fix SystemFunction013

svn path=/trunk/; revision=38854

12 years ago- It is understandable now why certain applications fail when accessing thread inform...
James Tabor [Sat, 17 Jan 2009 21:14:52 +0000 (21:14 +0000)]
- It is understandable now why certain applications fail when accessing thread information from user mode, it is the wrong information being accessed.

svn path=/trunk/; revision=38853

12 years agoUse DECLSPEC_NORETURN and place it at the top of the prototype to fix MSVC compilation.
Colin Finck [Sat, 17 Jan 2009 21:11:38 +0000 (21:11 +0000)]
Use DECLSPEC_NORETURN and place it at the top of the prototype to fix MSVC compilation.
Hint by Stefan ;-)

svn path=/trunk/; revision=38852

12 years agofix a kernel32 console winetest crash
Christoph von Wittich [Sat, 17 Jan 2009 21:05:15 +0000 (21:05 +0000)]
fix a kernel32 console winetest crash

svn path=/trunk/; revision=38851

12 years agoFix wrong strings for default mouse cursor settings
Matthias Kupfer [Sat, 17 Jan 2009 20:46:28 +0000 (20:46 +0000)]
Fix wrong strings for default mouse cursor settings

svn path=/trunk/; revision=38850

12 years agosync rsaenh_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 20:25:16 +0000 (20:25 +0000)]
sync rsaenh_winetest with wine 1.1.13

svn path=/trunk/; revision=38848

12 years agosync ws2_32_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 20:21:03 +0000 (20:21 +0000)]
sync ws2_32_winetest with wine 1.1.13

svn path=/trunk/; revision=38847

12 years agosync comdlg32_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 20:15:01 +0000 (20:15 +0000)]
sync comdlg32_winetest with wine 1.1.13

svn path=/trunk/; revision=38846

12 years agosync browseui_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 20:13:53 +0000 (20:13 +0000)]
sync browseui_winetest with wine 1.1.13

svn path=/trunk/; revision=38845

12 years agosync advpack_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 20:12:48 +0000 (20:12 +0000)]
sync advpack_winetest with wine 1.1.13

svn path=/trunk/; revision=38844

12 years agoSync Apps to Wine HEAD (2 of 2)
Daniel Reimer [Sat, 17 Jan 2009 20:02:00 +0000 (20:02 +0000)]
Sync Apps to Wine HEAD (2 of 2)

svn path=/trunk/; revision=38843

12 years agoSync Apps to wine HEAD (1 of 2)
Daniel Reimer [Sat, 17 Jan 2009 19:59:22 +0000 (19:59 +0000)]
Sync Apps to wine HEAD (1 of 2)

svn path=/trunk/; revision=38842

12 years agosync mapi32 with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:59:02 +0000 (19:59 +0000)]
sync mapi32 with wine 1.1.13

svn path=/trunk/; revision=38841

12 years agoConvert all line-endings to LF first in StringOut before passing the strings to print...
Colin Finck [Sat, 17 Jan 2009 19:58:18 +0000 (19:58 +0000)]
Convert all line-endings to LF first in StringOut before passing the strings to printf and OutputDebugStringA.
Both functions treat the string as text and convert the line-endings themselves to CRLF. If you already give them a CRLF line-ending, it'll be converted to CRCRLF..
By unifying the line-endings in StringOut, it is also possible now to pass both LF and CRLF to the function.

This should fix the empty lines in the BuildBot log.
Thanks to Christoph for the help!

svn path=/trunk/; revision=38840

12 years agosync fusion with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:56:32 +0000 (19:56 +0000)]
sync fusion with wine 1.1.13

svn path=/trunk/; revision=38839

12 years agosync wrc to wine 1.1.3 (except lang2cp struct as too many strange languages were...
Christoph von Wittich [Sat, 17 Jan 2009 19:46:42 +0000 (19:46 +0000)]
sync wrc to wine 1.1.3 (except lang2cp struct as too many strange languages were added in wine)

svn path=/trunk/; revision=38838

12 years ago-Dmitry Timoshkov <dmitry at codeweavers.com>
Christoph von Wittich [Sat, 17 Jan 2009 19:27:13 +0000 (19:27 +0000)]
-Dmitry Timoshkov <dmitry at codeweavers.com>
wrc: Warn for duplicate dialog ids.

svn path=/trunk/; revision=38837

12 years agoforgot to commit this file
Christoph von Wittich [Sat, 17 Jan 2009 19:18:06 +0000 (19:18 +0000)]
forgot to commit this file

svn path=/trunk/; revision=38836

12 years agosync cabinet headers with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:14:53 +0000 (19:14 +0000)]
sync cabinet headers with wine 1.1.13

svn path=/trunk/; revision=38835

12 years agosync wordpad with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:10:56 +0000 (19:10 +0000)]
sync wordpad with wine 1.1.13

svn path=/trunk/; revision=38834

12 years agosync cryptui with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:10:09 +0000 (19:10 +0000)]
sync cryptui with wine 1.1.13

svn path=/trunk/; revision=38833

12 years agosync credui with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 19:09:07 +0000 (19:09 +0000)]
sync credui with wine 1.1.13

svn path=/trunk/; revision=38832

12 years agosync cabinet with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 18:30:33 +0000 (18:30 +0000)]
sync cabinet with wine 1.1.13

svn path=/trunk/; revision=38831

12 years agosync cabinet_winetest with wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 18:30:21 +0000 (18:30 +0000)]
sync cabinet_winetest with wine 1.1.13

svn path=/trunk/; revision=38830

12 years agoupdate comctl32 winetest
Ged Murphy [Sat, 17 Jan 2009 17:42:01 +0000 (17:42 +0000)]
update comctl32 winetest

svn path=/trunk/; revision=38829

12 years agomodified dll/win32/kernel32/debug/output.c
KJK::Hyperion [Sat, 17 Jan 2009 17:40:42 +0000 (17:40 +0000)]
modified   dll/win32/kernel32/debug/output.c
   KJK::Hyperion vs KJK::Hyperion: finishing the job I started in 2003
   "please uncomment when GCC supports SEH": it kind of does now, but it's totally unnecessary in K32CreateDBMonMutex
   "FIXME: this will be pointless until GCC does SEH": no longer pointless, I guess. 6 years after the fact, OutputDebugStringA finally sends the string to the user-mode debugger. Now if only we could test it...
   Use DBG_PRINTEXCEPTION_C symbolic constant instead of hardcoding its value
   Some [FORMATTING]
   Make K32CreateDBMonMutex, for symbol table hygiene
   My e-mail address changed

svn path=/trunk/; revision=38828

12 years agosync riched20_winetest to wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 17:13:11 +0000 (17:13 +0000)]
sync riched20_winetest to wine 1.1.13

svn path=/trunk/; revision=38827

12 years agoadd new chinese resource file
Ged Murphy [Sat, 17 Jan 2009 17:11:13 +0000 (17:11 +0000)]
add new chinese resource file

svn path=/trunk/; revision=38826

12 years agosync riched20 to wine 1.1.13
Christoph von Wittich [Sat, 17 Jan 2009 17:11:08 +0000 (17:11 +0000)]
sync riched20 to wine 1.1.13

svn path=/trunk/; revision=38825

12 years agoupdate spying messages
Ged Murphy [Sat, 17 Jan 2009 17:03:50 +0000 (17:03 +0000)]
update spying messages
set TB_GETIMAGELISTCOUNT to have an lparam length of 0

svn path=/trunk/; revision=38824

12 years agoadd new file
Ged Murphy [Sat, 17 Jan 2009 16:48:52 +0000 (16:48 +0000)]
add new file

svn path=/trunk/; revision=38823

12 years agoupdate comctl32 to Wine 1.1.13.
Ged Murphy [Sat, 17 Jan 2009 16:43:06 +0000 (16:43 +0000)]
update comctl32 to Wine 1.1.13.
not including ros specific stuff for now while I work out what we still need

svn path=/trunk/; revision=38822

12 years agoAdd some previously undocumented messages
Ged Murphy [Sat, 17 Jan 2009 16:23:02 +0000 (16:23 +0000)]
Add some previously undocumented messages

svn path=/trunk/; revision=38821

12 years ago- Implement GUIDFromStringW. Based on http://www.winehq.org/pipermail/wine-cvs/2009...
Dmitry Chapyshev [Sat, 17 Jan 2009 15:47:50 +0000 (15:47 +0000)]
- Implement GUIDFromStringW. Based on winehq.org/pipermail/wine-cvs/2009-January/051920.html

svn path=/trunk/; revision=38820

12 years ago- Implement AllocateUserPhysicalPages, FreeUserPhysicalPages, MapUserPhysicalPages...
Dmitry Chapyshev [Sat, 17 Jan 2009 15:27:35 +0000 (15:27 +0000)]
- Implement AllocateUserPhysicalPages, FreeUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, ResetWriteWatch
- Fix return value for CreateSocketHandle
- Fix arguments for DelayLoadFailureHook (see http://msdn.microsoft.com/en-us/library/bb432244(VS.85).aspx)

svn path=/trunk/; revision=38819

12 years ago- rw.c: Better implementation of read/write for pipes.
Michael Martin [Sat, 17 Jan 2009 15:21:15 +0000 (15:21 +0000)]
- rw.c: Better implementation of read/write for pipes.
    The ReadPtr is there so use it. Duuhh.
    Only move memory to make room for more data when the buffer is full vice moving memory on every read.
    Call KeSetEvent at the correct time, when reading is done.
- fsctrl.c: Correct data returned from NpfsPeekPipe when read mode is byte stream.

svn path=/trunk/; revision=38818

12 years ago- Launch hardware wizard on hardware page
Dmitry Chapyshev [Sat, 17 Jan 2009 15:13:10 +0000 (15:13 +0000)]
- Launch hardware wizard on hardware page

svn path=/trunk/; revision=38817

12 years agoFix a bug.
Dmitry Gorbachev [Sat, 17 Jan 2009 15:05:21 +0000 (15:05 +0000)]
Fix a bug.

svn path=/trunk/; revision=38816

12 years agouse spaces instead of tabs (for real now)
Christoph von Wittich [Sat, 17 Jan 2009 14:47:32 +0000 (14:47 +0000)]
use spaces instead of tabs (for real now)

svn path=/trunk/; revision=38815

12 years agoUse spaces instead of tabs.
Andrew Greenwood [Sat, 17 Jan 2009 14:44:24 +0000 (14:44 +0000)]
Use spaces instead of tabs.

svn path=/trunk/; revision=38814

12 years agoTreat "LiveCD" system path as a prefix rather than an entire path. This allows a...
Andrew Greenwood [Sat, 17 Jan 2009 14:20:47 +0000 (14:20 +0000)]
Treat "LiveCD" system path as a prefix rather than an entire path. This allows a custom path to be specified,
so FreeLDR can boot multiple ReactOS builds from the same CD. FreeLDR happily does this, ReactOS does not like
booting from a livecd path other than \reactos however. Updated livecd.ini to use the new style of livecd
system path.

svn path=/trunk/; revision=38813

12 years agoDon't treat a slash as the beginning of a new argument for the MOVE command (Bug...
Jeffrey Morlan [Sat, 17 Jan 2009 12:55:46 +0000 (12:55 +0000)]
Don't treat a slash as the beginning of a new argument for the MOVE command (Bug 4013). Patch by Víctor Martínez Calvo <vicmarcal at hotmail.com>.

svn path=/trunk/; revision=38811

12 years ago- Check for valid DeviceExtensionSize
Johannes Anderwald [Sat, 17 Jan 2009 11:19:27 +0000 (11:19 +0000)]
- Check for valid DeviceExtensionSize
- Pass correct flags when creating the fdo
- set DO_DIRECT_IO flag
- clear DO_DEVICE_INITIALIZING flag
- Move all calls to ExAllocatePoolWithTag to a function AllocateItem which is also responsible for zeroing memory
- Fix ISubDevice GUID
- don't disconnect the interrupt on cleanup, IInterruptSync_fnDisconnect exist for that purpose
- If there is no interrupt yet connected, call the synchronized routine holding the internal spinlock
- Copy the current stack location  when forwarding a Irp PcForwardIrpSynchronous
- Implement ISubdevice interface for IPortTopology
- Initialize the dpc for calling Miniport object, as it might create an interrupt object which immediately fires an interrupt
- If the caller doesnt provide an IAdapterPowerManagement interface, clear the existing reference
- Fix 2 bugs in IRegistryKey_NewSubKey which made the system crashing
- Pass the pdo to IoOpenDeviceRegistryKey
- Move all guids and IIDs to own file and initialize them
- portcls initializes now to the first interrupt fired (vbox+ICH AC97 driver | qemu+es1370 driver)

svn path=/trunk/; revision=38810

12 years ago- RtlOemStringToCountedUnicodeString improvements:
Aleksey Bragin [Sat, 17 Jan 2009 08:38:25 +0000 (08:38 +0000)]
- RtlOemStringToCountedUnicodeString improvements:
 * Fix STATUS_BUFFER_OVERFLOW when destination string's MaximumLength and Length are equal.
 * Add comments.

svn path=/trunk/; revision=38809

12 years ago- RtlUnicodeStringToCountedOemString improvements:
Aleksey Bragin [Sat, 17 Jan 2009 07:44:28 +0000 (07:44 +0000)]
- RtlUnicodeStringToCountedOemString improvements:
 * Fix zero-sized input string handling, result would be error instead of success and zero output string.
 * If destination string's MaximumLength and Length are equal, it's not an erroneous situation (in fact, a very common situation).
 * Add comments.

svn path=/trunk/; revision=38808

12 years ago- It is shameful, hacks like this.
James Tabor [Sat, 17 Jan 2009 07:07:36 +0000 (07:07 +0000)]
- It is shameful, hacks like this.

svn path=/trunk/; revision=38807

12 years ago- Update DispathMessage and fix time stamp for system and standard timers. Tested...
James Tabor [Sat, 17 Jan 2009 01:03:03 +0000 (01:03 +0000)]
- Update DispathMessage and fix time stamp for system and standard timers. Tested with qemu bootcd, cmd and explorer. If any bugs arise please log them under Timer Rewrite then associate the older or newer related bugs under it.

svn path=/trunk/; revision=38803

12 years agoFix background color used for DrawCaptionTemp with DC_INBUTTON
Thomas Bluemel [Fri, 16 Jan 2009 23:56:11 +0000 (23:56 +0000)]
Fix background color used for DrawCaptionTemp with DC_INBUTTON

svn path=/trunk/; revision=38802

12 years agoPrevent accessing NULL as a PE header when we have a bad file, found with Stefan100...
Art Yerkes [Fri, 16 Jan 2009 23:44:29 +0000 (23:44 +0000)]
Prevent accessing NULL as a PE header when we have a bad file, found with Stefan100's help

svn path=/trunk/; revision=38801

12 years ago - Merge aicom-network-fixes up to r38799
Cameron Gutman [Fri, 16 Jan 2009 23:30:40 +0000 (23:30 +0000)]
 - Merge aicom-network-fixes up to r38799
 - This should finally fix the "UNTRACK: SPECIFIED ALREADY FREE ITEM 0" bug

svn path=/trunk/; revision=38800

12 years agoThis actually used to work due to the work csrss does setting up low memory
Art Yerkes [Fri, 16 Jan 2009 21:03:10 +0000 (21:03 +0000)]
This actually used to work due to the work csrss does setting up low memory
space.  This fixes it to pass a QOS parameter as it isn't optional.

svn path=/trunk/; revision=38798

12 years ago- Reply 38790, with fix for npfsPeekPipe which was breaking rosautotests.
Michael Martin [Fri, 16 Jan 2009 19:30:55 +0000 (19:30 +0000)]
- Reply 38790, with fix for npfsPeekPipe which was breaking rosautotests.

svn path=/trunk/; revision=38797

12 years ago- Add function tags
Stefan Ginsberg [Fri, 16 Jan 2009 16:56:00 +0000 (16:56 +0000)]
- Add function tags
- Documentary fix from last commit -- DbgkpPostFakeThreadMessage: Implement missing handling of 2 failure cases

svn path=/trunk/; revision=38796

12 years ago- Fix bug with addition of duplicates to the devices list
Dmitry Chapyshev [Fri, 16 Jan 2009 16:53:32 +0000 (16:53 +0000)]
- Fix bug with addition of duplicates to the devices list
- Other small changes

svn path=/trunk/; revision=38795

12 years ago- DbgkpPostFakeThreadMessage: Implement missing
Stefan Ginsberg [Fri, 16 Jan 2009 16:48:17 +0000 (16:48 +0000)]
- DbgkpPostFakeThreadMessage: Implement missing
- DbgkpSetProcessDebugObject: Fix the traversing of the debug object's event list
- Implement DbgkClearProcessDebugObject

svn path=/trunk/; revision=38794

12 years ago- Revert 38790 as i broke autotests.
Michael Martin [Fri, 16 Jan 2009 15:59:03 +0000 (15:59 +0000)]
- Revert 38790 as i broke autotests.

svn path=/trunk/; revision=38793

12 years ago- Partly implement hardware types page
Dmitry Chapyshev [Fri, 16 Jan 2009 15:21:32 +0000 (15:21 +0000)]
- Partly implement hardware types page

svn path=/trunk/; revision=38792

12 years agoreapply 36982
Christoph von Wittich [Fri, 16 Jan 2009 15:16:09 +0000 (15:16 +0000)]
reapply 36982
WIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.

svn path=/trunk/; revision=38791

12 years ago- create.c: All instances of a pipe must be the same pipe mode as when first instance...
Michael Martin [Fri, 16 Jan 2009 14:33:45 +0000 (14:33 +0000)]
- create.c: All instances of a pipe must be the same pipe mode as when first instance was created.
            Clients start of in byte stream mode, regardless of the pipe's mode.
- finfo.c:  NPFS does not allow changing read mode to message for byte stream mode pipes.
- rw.c:     The format in which data is in the pipe's buffer is based on the pipe mode vice read mode.
            Implement reads in byte stream mode for pipes using message mode.
            Fixed a bug that could caused buffer data to be corrupted due to incorrect calc of WritePtr position.
- fsctrl.c: Return buffer from NpfsPeekPipe if caller requested.
            Use a mutex before reading the pipe's buffer.
            Return the correct length in Irp info.

svn path=/trunk/; revision=38790

12 years ago- More dialogs implementation
Dmitry Chapyshev [Fri, 16 Jan 2009 14:28:07 +0000 (14:28 +0000)]
- More dialogs implementation

svn path=/trunk/; revision=38789

12 years agoEcho [HOST-CC] and [HOST-LD] instead of [HOSTCC] and [HOSTLD]
KJK::Hyperion [Fri, 16 Jan 2009 13:19:14 +0000 (13:19 +0000)]
Echo [HOST-CC] and [HOST-LD] instead of [HOSTCC] and [HOSTLD]
Also echo [HOST-AR] for invocations of the host "ar"
Use [HOST-CC], [HOST-LD] and [HOST-AR] in bootstrap makefiles as well

svn path=/trunk/; revision=38788

12 years ago... and echo "[HOSTLD]" for the link phase of host modules
KJK::Hyperion [Fri, 16 Jan 2009 12:50:20 +0000 (12:50 +0000)]
... and echo "[HOSTLD]" for the link phase of host modules

svn path=/trunk/; revision=38786

12 years agoEcho "[HOSTCC]" instead of "[CC]" in short-hand build output when invoking the host...
KJK::Hyperion [Fri, 16 Jan 2009 12:44:55 +0000 (12:44 +0000)]
Echo "[HOSTCC]" instead of "[CC]" in short-hand build output when invoking the host compiler

svn path=/trunk/; revision=38785

12 years agomodified tools/rbuild/backend/mingw/modulehandler.cpp
KJK::Hyperion [Fri, 16 Jan 2009 10:44:36 +0000 (10:44 +0000)]
modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Don't precompile headers with g++: g++ is stupid and, ironically, will precompile .h headers but not .hpp headers (it will mistake them for linker input files). Always use gcc instead
   Don't let gcc guess the language of the header, either: we detect "C++ modules" automatically in rbuild, use that for consistency

svn path=/trunk/; revision=38784

12 years ago- Set version override in pnp_* IDL modules too, since we use Vista's APIs there...
Aleksey Bragin [Fri, 16 Jan 2009 08:59:56 +0000 (08:59 +0000)]
- Set version override in pnp_* IDL modules too, since we use Vista's APIs there. Fixes implicitly declared PNP_* functions.

svn path=/trunk/; revision=38783

12 years ago- Implement RequestDeviceWakeup
Dmitry Chapyshev [Fri, 16 Jan 2009 06:44:40 +0000 (06:44 +0000)]
- Implement RequestDeviceWakeup
- Implement CancelDeviceWakeupRequest

svn path=/trunk/; revision=38782

12 years ago- Implement SetSystemPowerState
Dmitry Chapyshev [Fri, 16 Jan 2009 06:33:19 +0000 (06:33 +0000)]
- Implement SetSystemPowerState

svn path=/trunk/; revision=38781

12 years agoCreate band site's rebar control with styles CCS_NORESIZE and CCS_NOPARENTALIGN
Thomas Bluemel [Fri, 16 Jan 2009 03:19:42 +0000 (03:19 +0000)]
Create band site's rebar control with styles CCS_NORESIZE and CCS_NOPARENTALIGN

svn path=/trunk/; revision=38780

12 years ago- Rewrite Timers, nothing is using it except a bogus system timer for raw input threa...
James Tabor [Thu, 15 Jan 2009 23:15:31 +0000 (23:15 +0000)]
- Rewrite Timers, nothing is using it except a bogus system timer for raw input thread is loaded and running.

svn path=/trunk/; revision=38779

12 years ago- Delete npfs_new skeleton. One rewrite less.
Aleksey Bragin [Thu, 15 Jan 2009 19:15:26 +0000 (19:15 +0000)]
- Delete npfs_new skeleton. One rewrite less.

svn path=/trunk/; revision=38776

12 years agoSync widl, comcat, ole32, oleaut32 and rpcrt4 to wine 1.1.12
KJK::Hyperion [Thu, 15 Jan 2009 17:52:35 +0000 (17:52 +0000)]
Sync widl, comcat, ole32, oleaut32 and rpcrt4 to wine 1.1.12
widl can now automatically generate boilerplate code for DLLs hosting RPC proxies (and ole32 and oleaut32 now use this feature): invoke the generation automatically from rbuild rules for rpcproxy modules

svn path=/trunk/; revision=38774

12 years ago- Move batclass.h to PSDK, since it's a PSDK header.
Aleksey Bragin [Thu, 15 Jan 2009 17:22:28 +0000 (17:22 +0000)]
- Move batclass.h to PSDK, since it's a PSDK header.
- Remove inclusion of it from DDK's ntpoapi.h.

svn path=/trunk/; revision=38773

12 years ago- Move SetThreadExecutionState to power.c
Dmitry Chapyshev [Thu, 15 Jan 2009 17:07:01 +0000 (17:07 +0000)]
- Move SetThreadExecutionState to power.c
- Implement IsSystemResumeAutomatic
- Implement SetThreadExecutionState

svn path=/trunk/; revision=38772

12 years ago- Revert 38770's modifications to NDK.
Aleksey Bragin [Thu, 15 Jan 2009 16:52:50 +0000 (16:52 +0000)]
- Revert 38770's modifications to NDK.
- Temporary move Nt power function prototypes inside power.c file.

svn path=/trunk/; revision=38771

12 years ago- Implement GetDevicePowerState
Dmitry Chapyshev [Thu, 15 Jan 2009 16:09:03 +0000 (16:09 +0000)]
- Implement GetDevicePowerState
- Implement RequestWakeupLatency
- Add prototypes for GetDevicePowerState and RequestWakeupLatency to pofuncs.h

svn path=/trunk/; revision=38770

12 years ago- Add power.c file for power management functions
Dmitry Chapyshev [Thu, 15 Jan 2009 15:32:30 +0000 (15:32 +0000)]
- Add power.c file for power management functions
- Move GetSystemPowerStatus, SetSystemPowerState, GetDevicePowerState, RequestDeviceWakeup, RequestWakeupLatency, CancelDeviceWakeupRequest, IsSystemResumeAutomatic, and SetMessageWaitingIndicator to power.c
- Implement GetSystemPowerStatus

svn path=/trunk/; revision=38769

12 years ago- DbgkpSendApiMessage/Lpc: Modification of EPROCESS flags must be interlocked, use...
Stefan Ginsberg [Thu, 15 Jan 2009 13:14:37 +0000 (13:14 +0000)]
- DbgkpSendApiMessage/Lpc: Modification of EPROCESS flags must be interlocked, use PspSetProcessFlag.
- DbgkMap/UnmapViewOfSection: Don't check for the DeadThread flag, doing so is only necessary during early thread creation.
- DbgkCreateThread: Set the StartAddress pointer in the case where we only send the Create Thread message. Also, we should receive the target thread as the first parameter.
- NtDebugActiveProcess: Don't allow debugging the current process.
- NtDebugContinue: We should signal the Debug Object, not the Debug Event. Also make sure we pass the correct event to DbgkpWakeTarget.
- NtWaitForDebugEvent: Cleanup probe and capture of the input timeout.

svn path=/trunk/; revision=38768

12 years ago- Implement FlashWindow
Dmitry Chapyshev [Thu, 15 Jan 2009 10:18:10 +0000 (10:18 +0000)]
- Implement FlashWindow

svn path=/trunk/; revision=38766

12 years ago- sorry folks
Johannes Anderwald [Wed, 14 Jan 2009 21:47:54 +0000 (21:47 +0000)]
- sorry folks

svn path=/trunk/; revision=38765

12 years ago- Revert 38762 to fix build
Stefan Ginsberg [Wed, 14 Jan 2009 19:55:51 +0000 (19:55 +0000)]
- Revert 38762 to fix build

svn path=/trunk/; revision=38764

12 years agoMario Kacmar <kario AT szm DOT sk>
Matthias Kupfer [Wed, 14 Jan 2009 18:12:43 +0000 (18:12 +0000)]
Mario Kacmar <kario AT szm DOT sk>
- Fix Switch-To Button, enable only if one selected application.
- See issue #4028 for more details.

svn path=/trunk/; revision=38763

12 years ago- Implement PcForwardIrpSynchronous
Johannes Anderwald [Wed, 14 Jan 2009 17:14:20 +0000 (17:14 +0000)]
- Implement PcForwardIrpSynchronous

svn path=/trunk/; revision=38762

12 years ago- DBGK: Use flags instead of magic values for Debug Events -- names taken from http...
Stefan Ginsberg [Wed, 14 Jan 2009 14:55:46 +0000 (14:55 +0000)]
- DBGK: Use flags instead of magic values for Debug Events -- names taken from neitsabes.online.fr/dc/index.php?2007/12/04/7-ntqueryinformationprocess-processinfoclass-30

svn path=/trunk/; revision=38761

12 years agodeleted lib/pseh/framebased-gcchack.c
KJK::Hyperion [Wed, 14 Jan 2009 14:51:23 +0000 (14:51 +0000)]
deleted    lib/pseh/framebased-gcchack.c
added      lib/pseh/i386/framebased-gcchack-asm.S
added      lib/pseh/i386/framebased-gcchack.c
deleted    lib/pseh/i386/framebased-gcchack.S
modified   lib/pseh/pseh.rbuild
   framebased-gcchack.c is irreversibly married to the x86 architecture. Move it to the appropriate place
   Rename framebased-gcchack.S because its base name now conflicts with framebased-gcchack.c

svn path=/trunk/; revision=38760

12 years ago[FORMATTING] Fix indentation. No code change.
Kamil Hornicek [Wed, 14 Jan 2009 14:41:25 +0000 (14:41 +0000)]
[FORMATTING] Fix indentation. No code change.

svn path=/trunk/; revision=38759

12 years ago- Add stubs for VolumeControlBlock structure, VolumeDeviceObject,
Aleksey Bragin [Wed, 14 Jan 2009 10:42:56 +0000 (10:42 +0000)]
- Add stubs for VolumeControlBlock structure, VolumeDeviceObject,
- Improve FAT_IRP_CONTEXT structure to suit future needs.
- Some more cleanup of fastfat.h (to be separated into a few headers as shown by Alex Vlasov).
- Implement FatBuildIrpContext / FatDestroyIrpContext.
- Implement FatCompleteRequest.
- Implement dispatching of FSCTRL requests.
- DPRINT->DPRINT1 for all unimplemented functions.
- We receive a mount volume request!

svn path=/trunk/; revision=38755

12 years ago- Revert 38750, a dereference happens when that hook is freed by IntFreeHook.
Aleksey Bragin [Wed, 14 Jan 2009 09:51:50 +0000 (09:51 +0000)]
- Revert 38750, a dereference happens when that hook is freed by IntFreeHook.
- Change thread dereferencing mechanism in NtUserSetWindowsHookEx:
 * A thread may be referenced in some cases when it's a system-wide hook, however dereference flag was not set for these, so they leaked a reference. Add a ThreadReferenced boolean var to track real references, and set hook's flag according to it.
 * There should be no need to call ObDereferenceObject on a thread when a call to IntRemoveHook was already performed (in failure branches). IntFreeHook() will dereference the thread object.

svn path=/trunk/; revision=38754

12 years agofix jim's copypasta
Christoph von Wittich [Wed, 14 Jan 2009 07:09:25 +0000 (07:09 +0000)]
fix jim's copypasta

svn path=/trunk/; revision=38753

12 years ago- Added stubs to timers, tooling up to change over to handled timers. This is related...
James Tabor [Wed, 14 Jan 2009 02:02:26 +0000 (02:02 +0000)]
- Added stubs to timers, tooling up to change over to handled timers. This is related to just about everything. From Carets to window positions.

svn path=/trunk/; revision=38752

12 years ago- KDBG: Correct the use of PsLookupThread/ProcessByThread/ProcessId -- the caller...
Stefan Ginsberg [Wed, 14 Jan 2009 00:34:24 +0000 (00:34 +0000)]
- KDBG: Correct the use of PsLookupThread/ProcessByThread/ProcessId -- the caller must dereference the Thread/Process after use

svn path=/trunk/; revision=38751

12 years ago- NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id
Stefan Ginsberg [Tue, 13 Jan 2009 23:41:34 +0000 (23:41 +0000)]
- NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id

svn path=/trunk/; revision=38750

12 years ago- Copy provided PCM_RESOURCE_LIST when a new ResourceList is created
Johannes Anderwald [Tue, 13 Jan 2009 22:36:03 +0000 (22:36 +0000)]
- Copy provided PCM_RESOURCE_LIST when a new ResourceList is created

svn path=/trunk/; revision=38748

12 years agoVíctor Martínez Calvo <vicmarcal AT hotmail DOT com>
Matthias Kupfer [Tue, 13 Jan 2009 15:21:08 +0000 (15:21 +0000)]
Víctor Martínez Calvo <vicmarcal AT hotmail DOT com>
- Fix dir command behavior for files without extension.
- See issue #3968 for more details.

svn path=/trunk/; revision=38746

12 years ago- Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.
James Tabor [Tue, 13 Jan 2009 12:16:06 +0000 (12:16 +0000)]
- Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.

svn path=/trunk/; revision=38745

12 years ago- Remove unneeded functions.
Aleksey Bragin [Tue, 13 Jan 2009 12:13:21 +0000 (12:13 +0000)]
- Remove unneeded functions.
- Cleanup, reformat, remove static.

svn path=/trunk/; revision=38744

12 years ago - Merge aicom-network-fixes up to r38730
Cameron Gutman [Tue, 13 Jan 2009 02:34:39 +0000 (02:34 +0000)]
 - Merge aicom-network-fixes up to r38730

svn path=/trunk/; revision=38743

12 years agoRemove unused code
Thomas Bluemel [Tue, 13 Jan 2009 00:34:32 +0000 (00:34 +0000)]
Remove unused code

svn path=/trunk/; revision=38742

12 years ago- Un-implement NtUserDispatchMessage.
James Tabor [Mon, 12 Jan 2009 23:36:10 +0000 (23:36 +0000)]
- Un-implement NtUserDispatchMessage.
- First of all, it is incorrect. I had a rant that I was going to send to the private mail list, but this will do.
- No more "New Standards"! The Window object should already know it is ANSI or not. A pointer to MSG is the only thing passed.

svn path=/trunk/; revision=38741

12 years agowinbase.h: Add EncodePointer, DecodePointer, EncodeSystemPointer and DecodeSystemPointer
Timo Kreuzer [Mon, 12 Jan 2009 22:47:25 +0000 (22:47 +0000)]
winbase.h: Add EncodePointer, DecodePointer, EncodeSystemPointer and DecodeSystemPointer

svn path=/trunk/; revision=38740