Compare commits

...

1265 Commits

Author SHA1 Message Date
Aleksey Bragin
57e6f42fc2 [DDRAW]
- Jerome Gardou: Avoid buffer overrun in IDirectDraw::GetCaps().
See issue #5006 for more details.

svn path=/branches/reactx/; revision=48842
2010-09-21 08:24:15 +00:00
Kamil Hornicek
620afe9c34 - preparation for initial palette support
svn path=/branches/reactx/; revision=43813
2009-10-28 16:03:10 +00:00
Kamil Hornicek
8d8a0c408a - fix DDrawSurface_Release for now + more minor fixes
svn path=/branches/reactx/; revision=43812
2009-10-28 15:22:45 +00:00
Kamil Hornicek
3bd959b642 - sync ddraw with trunk
- if anyone wishes to work on it, do it in this branch please

svn path=/branches/reactx/; revision=43810
2009-10-28 13:23:03 +00:00
Kamil Hornicek
3d943c17be - add more pixel formats
svn path=/branches/reactx/; revision=39617
2009-02-15 22:32:41 +00:00
Kamil Hornicek
1934c18c7e - simplify GdiEntry2 a bit
- use wined3d for obtaining pixel format and display info

svn path=/branches/reactx/; revision=39612
2009-02-15 21:14:36 +00:00
Kamil Hornicek
d4108c9018 - sync wined3d/d3d8/d3d9 with trunk
- update gdi32 accordingly

svn path=/branches/reactx/; revision=39269
2009-02-01 16:18:22 +00:00
Kamil Hornicek
6941d14b46 - fix build after def -> spec change
svn path=/branches/reactx/; revision=39263
2009-02-01 12:39:52 +00:00
Ziliang Guo
590857e58d Convert dciman32 def to spec as requested by Magus, take 4. Reviewed by Kamil.
svn path=/branches/reactx/; revision=39064
2009-01-24 17:34:20 +00:00
Magnus Olsen
3785715869 Implement DCIEndAccess not tested in all case yet
svn path=/branches/reactx/; revision=38630
2009-01-07 14:22:38 +00:00
Magnus Olsen
ec8932bae4 Implement DCIBeginAccess not tested in all case yet
svn path=/branches/reactx/; revision=38628
2009-01-07 13:47:18 +00:00
Magnus Olsen
6ba7bd6b2d fix a bug inside WinWatchClose it did endless loop when it try remove a gpWatchList entry
svn path=/branches/reactx/; revision=38586
2009-01-05 17:17:36 +00:00
Magnus Olsen
bbf420d541 rename ddcs to gcsWinWatchLock
add global windows watch list call gpWinWatchList it will be use by DciBeginAccess and DciEndAccess.

Change behavior in WinWatchOpen so it store the new hww into gpWinWatchList.

Change behavior WinWatchClose so it remove the hww entry inside gpWinWatchList. 

svn path=/branches/reactx/; revision=38585
2009-01-05 17:10:21 +00:00
Magnus Olsen
7939e0da48 Rewrote
DllGetClassObject
DXDiagCF_LockServer
DXDiagCF_CreateInstance
DXDiagCF_Release
DXDiagCF_AddRef
DXDiagCF_QueryInterface
to make them more winodws NT compatible and the struct match better againts windows. If u type cast the COM interface pointer to _INT struct you will access the internal data, even overwrite function pointers to own. 

svn path=/branches/reactx/; revision=38326
2008-12-24 11:14:44 +00:00
Kamil Hornicek
935b9e944a fix build 2nd try:
- merge header changes from trunk
- add some missing files

svn path=/branches/reactx/; revision=38025
2008-12-11 21:39:50 +00:00
Kamil Hornicek
19e8a2afeb - fix build
svn path=/branches/reactx/; revision=38001
2008-12-10 19:55:38 +00:00
Kamil Hornicek
865d4ed6c2 - basic implementation of GdiEntry7 and GdiEntry8
svn path=/branches/reactx/; revision=37976
2008-12-09 18:33:34 +00:00
Kamil Hornicek
80aac286b0 - merge r37917, r37835 from trunk
svn path=/branches/reactx/; revision=37964
2008-12-09 14:05:35 +00:00
Kamil Hornicek
f4a968bab2 - don't set DDCAPS2_CERTIFIED, ddraw refuses to believe us
svn path=/branches/reactx/; revision=37810
2008-12-02 16:04:56 +00:00
Kamil Hornicek
eb187e9be0 - according to msdn a handle to the global ddraw object should be returned when hdc is 0
- fixes 2 ddrawapi tests

svn path=/branches/reactx/; revision=37807
2008-12-02 10:48:30 +00:00
KJK::Hyperion
9fddbfd8ba Merge r37254-r37781 from trunk
svn path=/branches/reactx/; revision=37785
2008-12-01 01:16:20 +00:00
KJK::Hyperion
778dbb0862 Bug closing extravaganza holiday special commit!
modified   base/shell/cmd/ren.c
added      base/shell/cmd/ren.txt
   Correct implementation of "ren" command in cmd
   Patch by Victor Martinez <vicmarcal@hotmail.com>

added      include/crt/mingw32/intrin.h
added      include/crt/mingw32/intrin_arm.h
added      include/crt/mingw32/intrin_ppc.h
added      include/crt/mingw32/intrin_x86.h
added      include/crt/mingw32/intrin_x86_64.h
deleted    include/psdk/intrin.h
deleted    include/psdk/intrin_arm.h
deleted    include/psdk/intrin_ppc.h
deleted    include/psdk/intrin_x86.h
deleted    include/psdk/intrin_x86_64.h
   intrin.h positively IS NOT a PSDK header
   The "a" argument to _bittestandcomplement, _bittestandreset and _bittestandset is an input AND output argument, unlike the argument to _bittest. Move argument to outputs, change constraint to "+mr"
   Spotted by hto

modified   lib/3rdparty/mingw/cpu_features.c
   Stray semicolon
   Patch by hto from Bugzilla

modified   lib/sdk/crt/locale/locale.c
   Missing colon
   Patch by hto from Bugzilla
See issue #3902,3921,3924,3926 for more details.

svn path=/trunk/; revision=37781
2008-11-30 23:08:02 +00:00
KJK::Hyperion
c1338f0192 Default debugging format might not be stabs - pass -gstabs+ instead of -g to gcc. And did you know ld doesn't actually have a -g switch?
_Now_ we can upgrade to gcc 4.3.2
After a suggestion by hto from Bugzilla. Dmitry, start doing your own commits already
See issue #3922 for more details.

svn path=/trunk/; revision=37780
2008-11-30 21:26:04 +00:00
Stefan Ginsberg
eaac85ec75 - Make this shit readable -- oh wait this is a commit message... Clean up indentation a bit.
svn path=/trunk/; revision=37779
2008-11-30 20:12:04 +00:00
KJK::Hyperion
f3818b0b92 Correctly parse the output of gcc --version for TDM builds of gcc. We can now upgrade to gcc 4.3.2
Patch by niski from Bugzilla
See issue #3922 for more details.

svn path=/trunk/; revision=37778
2008-11-30 19:56:43 +00:00
KJK::Hyperion
8eb9176f8b Patch by hto from Bugzilla
See issue #3827 for more details.

svn path=/trunk/; revision=37777
2008-11-30 19:50:25 +00:00
KJK::Hyperion
1bd07ee187 modified include/reactos/probe.h
Workaround for gcc 4.1.3. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7

modified   ntoskrnl/include/internal/mm.h
   gcc 4.3.2 doesn't like to be told to inline MmAcquirePageListLock

modified   ntoskrnl/include/internal/probe.h
   Cleaning up after TSVN's buggy "apply patch"

modified   subsystems/win32/win32k/ntuser/message.c
   Silence a gcc 4.3.2 warning (possibly incorrectly)

modified   dll/directx/ddraw/ddraw.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/setupapi/setupapi.rbuild
modified   dll/win32/syssetup/syssetup.rbuild
modified   dll/win32/user32/user32.rbuild
modified   drivers/input/kbdclass/kbdclass.rbuild
modified   drivers/input/mouclass/mouclass.rbuild
modified   drivers/network/afd/afd.rbuild
modified   drivers/network/tcpip/tcpip.rbuild
modified   lib/rtl/rtl.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
modified   subsystems/win32/win32k/objects/gdiobj.c
   gcc 4.1.3 workarounds. See embedded comments

modified   base/services/eventlog/eventlog.h
modified   dll/win32/advapi32/advapi32.h
   Removed superfluous includes of pseh/pseh.h

modified   dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified   dll/directx/ddraw/Ddraw/ddraw_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified   dll/directx/ddraw/Ddraw/GetCaps.c
modified   dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified   dll/directx/ddraw/main.c
modified   dll/directx/ddraw/rosdraw.h
modified   dll/directx/ddraw/Surface/surface_main.c
   ddraw migrated to PSEH 2.0

modified   dll/win32/gdi32/include/precomp.h
modified   dll/win32/gdi32/misc/misc.c
modified   dll/win32/gdi32/objects/bitmap.c
   gdi32 migrated to PSEH 2.0

modified   dll/win32/kernel32/except/except.c
modified   dll/win32/kernel32/file/find.c
modified   dll/win32/kernel32/k32.h
modified   dll/win32/kernel32/mem/isbad.c
modified   dll/win32/kernel32/misc/console.c
modified   dll/win32/kernel32/process/procsup.c
modified   dll/win32/kernel32/string/lstring.c
modified   dll/win32/kernel32/thread/thread.c
   kernel32 migrated to PSEH 2.0

modified   dll/win32/psapi/precomp.h
modified   dll/win32/psapi/psapi.c
   psapi migrated to PSEH 2.0

modified   dll/win32/setupapi/cfgmgr.c
modified   dll/win32/setupapi/setupapi_private.h
   setupapi migrated to PSEH 2.0

modified   dll/win32/syssetup/wizard.c
   syssetup migrated to PSEH 2.0

modified   dll/win32/user32/include/user32.h
modified   dll/win32/user32/windows/class.c
modified   dll/win32/user32/windows/text.c
modified   dll/win32/user32/windows/window.c
   user32 migrated to PSEH 2.0

modified   drivers/input/kbdclass/kbdclass.c
modified   drivers/input/kbdclass/kbdclass.h
   kbdclass migrated to PSEH 2.0

modified   drivers/input/mouclass/mouclass.c
modified   drivers/input/mouclass/mouclass.h
   mouclass migrated to PSEH 2.0

modified   drivers/network/afd/afd/info.c
modified   drivers/network/afd/afd/lock.c
modified   drivers/network/afd/afd/tdi.c
modified   drivers/network/afd/afd/tdiconn.c
   afd migrated to PSEH 2.0

modified   drivers/network/lan/lan/lan.c
   lan migrated to PSEH 2.0

modified   drivers/network/tcpip/tcpip/dispatch.c
   tcpip migrated to PSEH 2.0

modified   lib/rtl/debug.c
modified   lib/rtl/res.c
modified   lib/rtl/rtl.h
modified   lib/rtl/unicode.c
modified   lib/rtl/workitem.c
   rtl migrated to PSEH 2.0

modified   ntoskrnl/include/precomp.h
   ntoskrnl migrated to PSEH 2.0

modified   subsystems/csr/csrsrv/api.c
   csrsrv migrated to PSEH 2.0

modified   subsystems/win32/win32k/eng/bitblt.c
modified   subsystems/win32/win32k/eng/mem.c
modified   subsystems/win32/win32k/include/mmcopy.h
modified   subsystems/win32/win32k/misc/copy.c
modified   subsystems/win32/win32k/ntuser/callback.c
modified   subsystems/win32/win32k/ntuser/class.c
modified   subsystems/win32/win32k/ntuser/clipboard.c
modified   subsystems/win32/win32k/ntuser/cursoricon.c
modified   subsystems/win32/win32k/ntuser/display.c
modified   subsystems/win32/win32k/ntuser/hook.c
modified   subsystems/win32/win32k/ntuser/input.c
modified   subsystems/win32/win32k/ntuser/kbdlayout.c
modified   subsystems/win32/win32k/ntuser/menu.c
modified   subsystems/win32/win32k/ntuser/misc.c
modified   subsystems/win32/win32k/ntuser/ntstubs.c
modified   subsystems/win32/win32k/ntuser/painting.c
modified   subsystems/win32/win32k/ntuser/simplecall.c
modified   subsystems/win32/win32k/ntuser/sysparams.c
modified   subsystems/win32/win32k/ntuser/window.c
modified   subsystems/win32/win32k/objects/bitblt.c
modified   subsystems/win32/win32k/objects/bitmaps.c
modified   subsystems/win32/win32k/objects/brush.c
modified   subsystems/win32/win32k/objects/cliprgn.c
modified   subsystems/win32/win32k/objects/color.c
modified   subsystems/win32/win32k/objects/coord.c
modified   subsystems/win32/win32k/objects/dc.c
modified   subsystems/win32/win32k/objects/dcutil.c
modified   subsystems/win32/win32k/objects/dibobj.c
modified   subsystems/win32/win32k/objects/fillshap.c
modified   subsystems/win32/win32k/objects/font.c
modified   subsystems/win32/win32k/objects/freetype.c
modified   subsystems/win32/win32k/objects/icm.c
modified   subsystems/win32/win32k/objects/line.c
modified   subsystems/win32/win32k/objects/path.c
modified   subsystems/win32/win32k/objects/pen.c
modified   subsystems/win32/win32k/objects/print.c
modified   subsystems/win32/win32k/objects/region.c
modified   subsystems/win32/win32k/objects/text.c
modified   subsystems/win32/win32k/pch.h
   win32k migrated to PSEH 2.0

svn path=/trunk/; revision=37776
2008-11-30 19:28:11 +00:00
Gregor Schneider
959c8b42a8 Update C++ demangle code to recent wine, now all msvcrt cpp tests pass except one.
svn path=/trunk/; revision=37774
2008-11-30 19:19:45 +00:00
Daniel Reimer
d1dc58212a ... by Seungju Kim
svn path=/trunk/; revision=37773
2008-11-30 19:03:24 +00:00
Daniel Reimer
4f08ac6baf Bug 3890: updated a few slovak translations by Mario Kacmar
Bug 3915: Korean translation of Dxdiag by 

svn path=/trunk/; revision=37772
2008-11-30 19:00:01 +00:00
Daniel Reimer
866fed8490 Bug 3890: updated a few slovak translations by Mario Kacmar
svn path=/trunk/; revision=37771
2008-11-30 18:40:11 +00:00
Magnus Olsen
c917873957 Add more dump data for ddraw
svn path=/branches/reactx/; revision=37770
2008-11-30 17:14:21 +00:00
Stefan Ginsberg
ca22a1b844 - Replace the last instances of STDCALL with WINAPI/NTAPI -- this non-standard specifier is now completely deprecated. Now the healing can begin.
svn path=/trunk/; revision=37769
2008-11-30 13:46:35 +00:00
Stefan Ginsberg
8ddb21a39c - Remove straggler STDCALL
svn path=/trunk/; revision=37768
2008-11-30 13:28:04 +00:00
James Tabor
41f45acf3f - Sync in rev 37720: Magnus Olsen, add GdiGetBitmapBitsSize is a new api from windows xp sp3, the code was tested in vs2003. part II
svn path=/trunk/; revision=37767
2008-11-30 13:17:52 +00:00
James Tabor
b92cf193fb - Sync in rev 37720: Magnus Olsen, add GdiGetBitmapBitsSize is a new api from windows xp sp3, the code was tested in vs2003.
svn path=/trunk/; revision=37766
2008-11-30 13:17:19 +00:00
Gregor Schneider
dbdbfd482e Updated polish translation by Olaf Siejka, <olaf_siejka AT o2 DOT pl>
svn path=/trunk/; revision=37765
2008-11-30 12:52:07 +00:00
Gregor Schneider
b0c0e3857d - Add dialog to deal cards again after winning solitaire, fixes the winning infinitely bug
- Patch by Lucas Suggs, <anakha AT cat DOT pdx DOT edu>
- I modified indentation, added german translation, added English strings to all other languages - work for the translators
- See bug #3288 for more information

svn path=/trunk/; revision=37764
2008-11-30 12:09:36 +00:00
Stefan Ginsberg
32545494d9 - Go away STDCALL, time has come for WINAPI and NTAPI
svn path=/trunk/; revision=37763
2008-11-30 11:42:05 +00:00
Stefan Ginsberg
b137725c9a - Kill off more STDCALL
svn path=/trunk/; revision=37762
2008-11-30 11:16:55 +00:00
Stefan Ginsberg
2bafd1ffc3 - No need to include winddk.h, ntddk.h includes it for us
svn path=/trunk/; revision=37761
2008-11-30 10:10:19 +00:00
Kamil Hornicek
dafc9aa54d - store the wined3d device pointer in the right place
svn path=/branches/reactx/; revision=37760
2008-11-30 10:02:54 +00:00
Art Yerkes
4196ecf39b fix a bug reported by aicom: get peer name fails running xitami web server
svn path=/trunk/; revision=37759
2008-11-30 08:26:52 +00:00
KJK::Hyperion
adeaeb06b1 Left out of the previous commit by mistake
svn path=/trunk/; revision=37758
2008-11-30 06:00:58 +00:00
KJK::Hyperion
feee728349 modified base/shell/explorer/explorer.rbuild
The TDM build of gcc 4.3.2 is affected by PR 27067 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067), apparently due to a missing MinGW-only patch - work around it in the linker

modified   dll/directx/ddraw/d3d/DirectD3D_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified   dll/directx/ddraw/Ddraw/ddraw_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified   dll/directx/ddraw/Ddraw/GetCaps.c
modified   dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified   dll/directx/ddraw/main.c
modified   dll/directx/ddraw/Surface/createsurface.c
   <pseh/pseh.h> already included in rosdraw.h

modified   dll/win32/advapi32/misc/trace.c
   Silence a warning reported by gcc 4.3.2 (possibly incorrectly, but it's just a stub anyway)

modified   ntoskrnl/include/internal/ntoskrnl.h
added      ntoskrnl/include/internal/probe.h
replaced   ntoskrnl/include/ntoskrnl.h
added      ntoskrnl/include/precomp.h
modified   ntoskrnl/ntoskrnl-generic.rbuild
added      subsystems/win32/win32k/pch.h
replaced   subsystems/win32/win32k/w32k.h
modified   subsystems/win32/win32k/win32k.rbuild
   gcc 4.3.2-tdm-1 doesn't like PSEH in precompiled headers. Shuffle things around a bit to remove PSEH from precompiled headers

svn path=/trunk/; revision=37757
2008-11-30 05:49:18 +00:00
Stefan Ginsberg
b43e021fa7 - Relying on includers to define certain macros is an awesome idea -- sustain this practice for a little while
svn path=/trunk/; revision=37756
2008-11-29 23:34:39 +00:00
Stefan Ginsberg
37ba4af619 - Deprecate STDCALL from HAL
svn path=/trunk/; revision=37755
2008-11-29 23:16:39 +00:00
Stefan Ginsberg
f5091d00cd - Don't use DDKAPI either
svn path=/trunk/; revision=37754
2008-11-29 23:15:54 +00:00
Sylvain Petreolle
36859720df add missing parenthesis in utf16le
svn path=/trunk/; revision=37753
2008-11-29 23:11:14 +00:00
Stefan Ginsberg
ef394b196f - Less STDCALL, more WINAPI/NTAPI/APIENTRY
svn path=/trunk/; revision=37752
2008-11-29 22:48:58 +00:00
Stefan Ginsberg
3dd74720b7 - STDCALL strikes back
svn path=/trunk/; revision=37751
2008-11-29 21:42:41 +00:00
Stefan Ginsberg
a153517e86 - Hey STDCALL, you just got deprecated from rostests
svn path=/trunk/; revision=37750
2008-11-29 21:37:54 +00:00
Stefan Ginsberg
5cbe280085 - Welcome to rosapps NTAPI/WINAPI, farewell STDCALL
svn path=/trunk/; revision=37749
2008-11-29 21:23:45 +00:00
Stefan Ginsberg
256458f8ad - <@silverblade> it does nothing, it can be destroyed. -- Goodbye avtest, no one will miss you
svn path=/trunk/; revision=37748
2008-11-29 21:19:34 +00:00
Stefan Ginsberg
8ad61b6d08 - Don't generate a function with non-standard STDCALL -- WINAPI works great, I promise.
svn path=/trunk/; revision=37747
2008-11-29 21:01:42 +00:00
Gregor Schneider
023baca726 - Improve parameter checks to prevent access beyond array boundaries
- Patch by Daniel Zimmermann, <netzimme AT aim DOT com>
- Bug #3913, CIDs 595-598

svn path=/trunk/; revision=37746
2008-11-29 21:01:14 +00:00
Stefan Ginsberg
165bfe865b - STDCALL -> NTAPI
svn path=/trunk/; revision=37745
2008-11-29 20:47:48 +00:00
Gregor Schneider
4de7f1ccff - Fix two possible memory leaks by freeing resources
- Patch by Daniel Zimmermann, <netzimme AT aim DOT com>
- Bug #3911, CIDs 607 and 608

svn path=/trunk/; revision=37744
2008-11-29 20:30:18 +00:00
Stefan Ginsberg
0f123895c2 - Remove system_header
svn path=/trunk/; revision=37743
2008-11-29 20:17:45 +00:00
Stefan Ginsberg
6bfd12deec - STDCALL -> NTAPI
svn path=/trunk/; revision=37742
2008-11-29 20:14:45 +00:00
Magnus Olsen
ae02056b26 cleanup the code a bit in DdCreateSurface and comment up what left todo
svn path=/branches/reactx/; revision=37741
2008-11-29 20:10:56 +00:00
Gregor Schneider
a8e8a546b6 - Updated msvcrt winetests introduced new printf testcases and new failures - fixed:
- Special qualifiers with short gG formats may even skip all decimal digits, but the separator is applied nonetheless
- Padding spaces on the right caused problems in exponential format, because those are split into two parts, the padding was done in between
- Failing fwprintf test was removed from the tests, so the printf test is passed completely now

svn path=/trunk/; revision=37740
2008-11-29 19:39:53 +00:00
Stefan Ginsberg
c47ab26e82 - Kill off ramdrv, it is deprecated since a long time ago.
See issue #3422 for more details.

svn path=/trunk/; revision=37739
2008-11-29 19:35:04 +00:00
Magnus Olsen
d431dc5f6f sorry forget cleanup the code a bit in CReatesurface
svn path=/branches/reactx/; revision=37738
2008-11-29 19:24:40 +00:00
Magnus Olsen
4e6baaefd3 Createsurface now detect if it screen res or desc size it should use, and which level each surface are create in.
svn path=/branches/reactx/; revision=37737
2008-11-29 19:21:30 +00:00
Gregor Schneider
67ac3637f8 Update msvcrt winetest, test_codepage still disabled as before
svn path=/trunk/; revision=37736
2008-11-29 19:18:59 +00:00
Magnus Olsen
5eb93a6b21 trying implement DdCreateSurface for wined3d
svn path=/branches/reactx/; revision=37735
2008-11-29 17:53:51 +00:00
Gregor Schneider
6c677fe4e5 - Added support for floating point and exponential formats to *printf functions
- Based on the tools/ssprintf.cpp implementation, ported to C with changes made to comply with msvcrt behaviour
- Reduces msvcrt winetest printf failure from 13 down to 1 - same failure as WinXP
- Related bugs: bug #1533, bug #3727, bug #3878

svn path=/trunk/; revision=37734
2008-11-29 17:07:09 +00:00
Kamil Hornicek
c4201ee532 - create wined3d device in GdiEntry2
svn path=/branches/reactx/; revision=37733
2008-11-29 16:27:59 +00:00
Aleksey Bragin
9c90984e71 - Implement ScsiPortCompleteRequest based on OSR description.
See issue #3025 for more details.

svn path=/trunk/; revision=37732
2008-11-29 16:24:29 +00:00
Magnus Olsen
ac1acafa42 Implement DdCanCreateSurface for wined3d
svn path=/branches/reactx/; revision=37731
2008-11-29 16:09:06 +00:00
Magnus Olsen
813d435db0 update comment in config.template what REACTX_EMU does and how it works
svn path=/branches/reactx/; revision=37730
2008-11-29 15:16:54 +00:00
Magnus Olsen
270543fe55 Make Gdientry2 return a fourcc list
svn path=/branches/reactx/; revision=37729
2008-11-29 14:34:58 +00:00
Magnus Olsen
8753114e79 BugFix GdiEntry 2 : Do not fill in pHalInfo when it is NULL
svn path=/branches/reactx/; revision=37728
2008-11-29 13:33:49 +00:00
Kamil Hornicek
09c887e314 - reshuffle the code a bit, fix formatting, no actual code change
svn path=/branches/reactx/; revision=37727
2008-11-29 12:58:12 +00:00
Dmitry Chapyshev
fcefc86234 - Fix build
svn path=/trunk/; revision=37726
2008-11-29 12:57:50 +00:00
Dmitry Chapyshev
17e26906df - DPRINT1(...); -> UNIMPLEMENTED;
svn path=/trunk/; revision=37725
2008-11-29 12:49:08 +00:00
James Tabor
a919cea8f4 - Fix GetSystemPaletteEntries.
svn path=/trunk/; revision=37723
2008-11-29 11:31:40 +00:00
Kamil Hornicek
4d014e450e - "implement" GdiEntry10
svn path=/branches/reactx/; revision=37722
2008-11-29 11:24:08 +00:00
Stefan Ginsberg
96c69be3d6 - guiddef.h: Don't define GUID_NULL as extern as the official header set doesn't do this. Also, it causes conflicts under some circumstances.
- regstr.h: Add missing _IN_KERNEL_ guard
- rpcndr.h: Don't use the DWORD type
- windef.h: Add missing types, and put some under the BASETYPES guard
- winnt.h: Don't define types which should be in windef.h
- winuser.h: Correct KEYBOARD_OVERRUN_MAKE_CODE declaration, add missing NOWINDOWSTATION guard
- ntgdityp.h: Fix header guard for "FIX" type declaration

svn path=/trunk/; revision=37721
2008-11-29 10:49:36 +00:00
Magnus Olsen
8d5b573060 add GdiGetBitmapBitsSize it is a new api from windows xp sp3, the code have been tested in vs2003
svn path=/branches/reactx/; revision=37720
2008-11-29 10:29:37 +00:00
Stefan Ginsberg
f584500e5a - MSFS: Don't rely on PSDK headers for MAILSLOT_NO_MESSAGE/MAILSLOT_WAIT_FOREVER
svn path=/trunk/; revision=37719
2008-11-29 10:26:47 +00:00
Stefan Ginsberg
5e41c16d16 - Don't redefine basic types
svn path=/trunk/; revision=37718
2008-11-29 10:22:57 +00:00
Cameron Gutman
28d4b20129 - Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex Ionescu.
svn path=/trunk/; revision=37714
2008-11-29 02:57:21 +00:00
Cameron Gutman
ffb80a044e - Merge aicom-network-fixes up to r37712
svn path=/trunk/; revision=37713
2008-11-29 01:51:19 +00:00
Stefan Ginsberg
c7649d342c - Don't add an include path for internal win32k headers as dxg doesn't include them anymore
svn path=/trunk/; revision=37711
2008-11-28 20:26:25 +00:00
Stefan Ginsberg
da6926f487 - Add a header guard for pnp.idl's RESOURCEID, and add an internal define for setupapi as it uses incompatible Wine headers
svn path=/trunk/; revision=37710
2008-11-28 20:24:36 +00:00
Stefan Ginsberg
031931d95a - Use stdarg.h from psdk so we don't get redefinition conflicts
svn path=/trunk/; revision=37709
2008-11-28 20:18:13 +00:00
Kamil Hornicek
a8ff649aa8 - fix some checks
- add stub traces
- avoid being "Naughty Application!"

svn path=/branches/reactx/; revision=37708
2008-11-28 18:56:24 +00:00
Stefan Ginsberg
701ac31a4b - Add a missing define -- fixes DECLARE_INTERFACE and everything related for kernel mode
svn path=/trunk/; revision=37707
2008-11-28 18:24:30 +00:00
KJK::Hyperion
1e97173782 GCC 4.3 correctly aligns stack-allocated objects
Patch by "hto", from bugzilla
See issue #3608 for more details.

svn path=/trunk/; revision=37706
2008-11-28 14:47:19 +00:00
KJK::Hyperion
e18cdbe06b Don't let ASSERT_SRW_WAITBLOCK evaluate to nothing - make it evaluate to (void)0, like ASSERT would
See issue #3608 for more details.

svn path=/trunk/; revision=37705
2008-11-28 14:38:41 +00:00
KJK::Hyperion
b4e5e64c26 ASSERT really needs to be void, despite what DDK headers might say. Fixes following warning:
lib\rtl\srw.c: In function 'RtlAcquireSRWLockShared':
lib\rtl\srw.c:498: error: statement with no effect
lib\rtl\srw.c: In function 'RtlAcquireSRWLockExclusive':
lib\rtl\srw.c:637: error: statement with no effect
lib\rtl\srw.c:668: error: statement with no effect
lib\rtl\srw.c:696: error: statement with no effect
See issue #3922 for more details.

svn path=/trunk/; revision=37704
2008-11-28 14:33:21 +00:00
KJK::Hyperion
06dbf1acc4 Typo. Bogus text to make commit message long enough.
svn path=/trunk/; revision=37703
2008-11-28 14:29:12 +00:00
Kamil Hornicek
acffd663c1 - update user32 winetest
svn path=/trunk/; revision=37702
2008-11-28 12:02:57 +00:00
Kamil Hornicek
017c4d5476 - fix a typo
- add a define for user32 winetest

svn path=/trunk/; revision=37701
2008-11-28 11:51:12 +00:00
Daniel Reimer
a00765a47a Update UniATA to Version 0.39j Credits go to Samuel Serapion
svn path=/trunk/; revision=37700
2008-11-28 09:02:24 +00:00
James Tabor
6b349fb348 - Move out stubs and place them where they belong.
svn path=/trunk/; revision=37699
2008-11-28 03:57:57 +00:00
Gregor Schneider
f9e772b2a2 Update gdi32 winetests, so we don't run out of things to fix.
svn path=/trunk/; revision=37695
2008-11-27 20:52:01 +00:00
James Tabor
1301bd7eb6 - Finnish up gdi wine pen cross test fixes.
- Fix width issue with simple stock pens.
- Fix Info DC building. This was made obvious with wine pen cross tests.


svn path=/trunk/; revision=37694
2008-11-27 20:51:19 +00:00
Gregor Schneider
a68cd30c0d - PS_NULL might always be a LOGPEN, but can be retrieved as LOGPEN and EXTLOGPEN, distinguished by the supplied buffer size
- Fixes 8 gdi32 pen winetests, finally all left failures are visible in one cmd window ;-)

svn path=/trunk/; revision=37693
2008-11-27 20:31:37 +00:00
Stefan Ginsberg
44610231d3 - less break, more build
svn path=/trunk/; revision=37692
2008-11-27 20:15:51 +00:00
Stefan Ginsberg
67bc5b6443 - Videoprt should only use the error codes provided in dderror.h, fix that. Also include dderror.h and make the windef.h dependency explicit.
- Include dderror.h in vbemp/vgamp/xboxvmp too, and make sure vbemp gets its precious HIWORD/LOWORD

svn path=/trunk/; revision=37691
2008-11-27 20:05:12 +00:00
Stefan Ginsberg
59cf9318b8 - Correct numerous structures to work without windef.h (makes them match official DDK, too) and fix some double definitions.
- Use same header guard in ddk's ntstatus.h as psdk's to prevent bogus redefinition errors. Also correct some status codes in the psdk version.

svn path=/trunk/; revision=37690
2008-11-27 17:02:09 +00:00
Stefan Ginsberg
fb33d87194 - DXAPI: Fix incompatible header inclusion
- DXG: Change the way PDC is defined -- treat the DC structure as opaque instead of including internal win32k headers. Also rework the way DD_BASEOBJECT is defined.

svn path=/trunk/; revision=37689
2008-11-27 15:34:33 +00:00
Stefan Ginsberg
67a842b6fe - ACPI: Don't redefine standard DDK types
- TCPIP/IP/TDI/Uniata: Don't use user mode types
- USBDRIVER: Remove a peculiar redefinition of ULONG_PTR
- NDIS: Remove duplicate (and undocumented) types from ndis.h, defined in an internal NDIS header long ago. Also fix some warnings, define UINT as appropriate, and add a clever (not really) workaround for a gcc/msvc incompatibility. -- For some obnoxious reason msvc is fine with redeclaring types compatibly, while gcc treats it as an error. PSDK and DDK require this, so we need...extended header checks.

svn path=/trunk/; revision=37688
2008-11-27 15:02:47 +00:00
Michael Martin
21b28d3e0d - Add WM_SYSCHAR to U32IsValidAccelMessage. See bug #543 for more info.
svn path=/trunk/; revision=37687
2008-11-27 13:54:29 +00:00
Magnus Olsen
94e477b8fa setup wined3d Caps for D3DHAL_GLOBALDRIVERDATA inside DdQueryDirectDrawObject
Bugfix so it return right return value if anything fails

svn path=/branches/reactx/; revision=37686
2008-11-27 12:26:06 +00:00
Magnus Olsen
f930d4d1c4 setup wined3d Caps for HALLINFO inside DdQueryDirectDrawObject
svn path=/branches/reactx/; revision=37685
2008-11-27 10:02:24 +00:00
Kamil Hornicek
35f1cdfbd7 - sync wined3d, d3d8, d3d9 to wine HEAD part 2/2
svn path=/trunk/; revision=37684
2008-11-27 09:20:38 +00:00
Kamil Hornicek
39cebe5a19 - sync wined3d, d3d8, d3d9 to wine HEAD part 1/2
svn path=/trunk/; revision=37683
2008-11-27 09:20:16 +00:00
Magnus Olsen
caeb27c5c3 convert parts of DdQueryDirectDrawObject (gdientry 2) to use wined3d. and fixing a hdc leak
svn path=/branches/reactx/; revision=37682
2008-11-27 08:55:13 +00:00
Dmitry Chapyshev
15775884cc - .DEF -> .SPEC
- Add some stubs

svn path=/trunk/; revision=37681
2008-11-27 08:40:47 +00:00
Magnus Olsen
78d5aba68d convert parts of DdQueryDirectDrawObject (gdientry 2) to use wined3d.
svn path=/branches/reactx/; revision=37680
2008-11-27 08:34:16 +00:00
Magnus Olsen
2d9fcb3ed5 fix a typo
svn path=/branches/reactx/; revision=37679
2008-11-27 04:37:14 +00:00
Magnus Olsen
d7225a0934 convert parts of DdQueryDirectDrawObject (gdientry 2) to use wined3d.
svn path=/branches/reactx/; revision=37678
2008-11-27 04:23:05 +00:00
James Tabor
4370ebc980 - Fixed stock object creation for pens. Now pass all but 25 pen cross tests. Please use latest wine gdi tests.
svn path=/trunk/; revision=37677
2008-11-26 20:44:41 +00:00
Matthias Kupfer
39128171c4 - tool for autoconverting INF files to utf-16le from an arbitrary unicode encoding
svn path=/trunk/; revision=37676
2008-11-26 20:38:15 +00:00
Stefan Ginsberg
116b8765bb - Slightly reorder freeldr.h's include order
svn path=/trunk/; revision=37675
2008-11-26 20:33:34 +00:00
Stefan Ginsberg
f7325fe7e9 - Fix some definitions, and remove __DD_INCLUDED__ hack
svn path=/trunk/; revision=37673
2008-11-26 20:00:14 +00:00
Matthias Kupfer
62a9e618e7 add myself
svn path=/trunk/; revision=37672
2008-11-26 19:48:01 +00:00
Stefan Ginsberg
2dfe0f5eaf - Fix release build
svn path=/trunk/; revision=37671
2008-11-26 19:24:10 +00:00
Stefan Ginsberg
7cd709ff27 - Define NTSTATUS in a way compatible with the current header set
svn path=/trunk/; revision=37670
2008-11-26 19:22:33 +00:00
Stefan Ginsberg
edad66ead2 - Ksuser: Cleanup header usage a bit, and make sure NTSTATUS gets defined
- Kernel32: Undefine IOCTL_SERIAL_LSRMST_INSERT so we don't get a (bogus) incompatible redefinition warning

svn path=/trunk/; revision=37669
2008-11-26 19:04:55 +00:00
Aleksey Bragin
24da6d32fe - Fix some coverity errors.
- Use KeBugCheck(MEMORY_MANAGEMENT) instead of ASSERT(FALSE), so it dies on release builds too.
- Enable support for Hyper-V.
- Fix incorrect gate wait code -- fixes sporadic crashes in the network stack.
- Mark KeBugCheck*, ExRaise* and RtlRaiseStatus as declspec(noreturn), for better optimization of functions which call them, less potential warnings in the compiler, and, assuming coverity understands it, less false CIDs.
- Fix KiUpdateDr7, which resulted in broken support for hardware breakpoints.
- Fix failure cases in EnumerateRootDevices which might've freed non-allocated memory.
- Fix NtAddAtom/NtFindAtom logic when dealing with NULL or kernel Atom names.

Patch by Alex Ionescu.

svn path=/trunk/; revision=37668
2008-11-26 18:56:41 +00:00
Stefan Ginsberg
1afa5e29a0 - kmtest: Don't use user mode types
- memtest: uh, no. ZwQuerySystemInformation does not return NO_ERROR

svn path=/trunk/; revision=37667
2008-11-26 18:43:27 +00:00
James Tabor
7648ed6672 - Add ExtCreatePen note: This is an enhancement and prevents a call to kernel space.
svn path=/trunk/; revision=37666
2008-11-26 17:47:21 +00:00
James Tabor
62e6343ace - Update CL type.
svn path=/trunk/; revision=37665
2008-11-26 17:11:59 +00:00
KJK::Hyperion
bd76ae91c0 modified lib/pseh/i386/framebased-gcchack.S
Typo

svn path=/trunk/; revision=37664
2008-11-26 16:15:29 +00:00
KJK::Hyperion
58c81ba194 modified include/reactos/libs/pseh/pseh2.h
If the compiler is not GCC, assume native SEH support

modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Allow pseh to be compiled with Visual C++ without warnings

svn path=/trunk/; revision=37663
2008-11-26 16:03:12 +00:00
Kamil Hornicek
a4996648b8 - fix a typo
svn path=/branches/reactx/; revision=37662
2008-11-26 15:38:43 +00:00
Gregor Schneider
cab11c6e20 - ExtCreatePen creates a PS_NULL style pen in the LOGPEN Format, use the NULL_PEN StockObject for that matter
- Fixes 24 gdi32 pen winetests

svn path=/trunk/; revision=37661
2008-11-26 15:12:38 +00:00
Kamil Hornicek
cf1e690e94 - use dynamic linking for wined3d, fixes boot
svn path=/branches/reactx/; revision=37660
2008-11-26 14:59:30 +00:00
KJK::Hyperion
d29825fe8f Merging fixes from Visual C++ branch
modified   include/psdk/rpcndr.h
   Mask argument before casting in NdrFcShort

modified   include/psdk/winternl.h
   Visual C++-compatible placement of function attribute

modified   include/reactos/wine/port.h
   Visual C++ has interlocked intrinsics, too

modified   lib/3rdparty/adns/adns_win32/adns_unix_calls.c
modified   lib/3rdparty/adns/src/setup.c
   alloca -> _alloca

modified   lib/3rdparty/libwine/debug.c
   Fix a benign range check warning

modified   lib/3rdparty/libwine/debug_ros.c
   Properly decorate malloc replacement

modified   lib/3rdparty/libwine/string.c
   The actual function is called _stricmp

modified   lib/3rdparty/mingw/wcrt1.c
   Visual C++ support

svn path=/trunk/; revision=37659
2008-11-26 14:28:19 +00:00
Michael Martin
9bd1f294f3 - Migrate advapi32 to PSEH 2.0.
svn path=/trunk/; revision=37656
2008-11-26 10:45:42 +00:00
Magnus Olsen
a86a1d6f93 start convert DdQueryDirectDrawObject (gdientry 2) to use wined3d.
svn path=/branches/reactx/; revision=37655
2008-11-26 09:01:45 +00:00
Magnus Olsen
0c58849801 Convert gdientry 1 to using wined3d
svn path=/branches/reactx/; revision=37654
2008-11-26 07:58:33 +00:00
Magnus Olsen
d800df0c22 rename a fileto better name
svn path=/branches/reactx/; revision=37650
2008-11-26 06:44:48 +00:00
Daniel Reimer
39aa71e8e2 Bug 3871: Polish translation update for netshell,usetup and reactos.exe by Maciej Bialas
svn path=/trunk/; revision=37649
2008-11-26 06:44:47 +00:00
Magnus Olsen
484bd93b43 fix gdi32 build wrong rbuild syntax
svn path=/branches/reactx/; revision=37648
2008-11-26 06:42:39 +00:00
Magnus Olsen
e7e197736f part 2 of 2
This is a experiment with opengl over gdientry1-16, we do not known if this experiment is good or bad idea. if it works fine and show it is good idea, it will mabe be in trunk later 

svn path=/branches/reactx/; revision=37647
2008-11-26 06:31:28 +00:00
Magnus Olsen
442af13eec part 1 of 2
This is a experiment with opengl over gdientry1-16, we do not known if this experiment is good or bad idea. if it works fine and show it is good idea, it will mabe be in trunk later 

svn path=/branches/reactx/; revision=37646
2008-11-26 06:30:33 +00:00
KJK::Hyperion
bfc0f05916 Add comments about workarounds for GCC bugs
svn path=/trunk/; revision=37645
2008-11-25 21:13:57 +00:00
Stefan Ginsberg
07621c2a9f - Remove blue's implicit dependency on windef.h
svn path=/trunk/; revision=37643
2008-11-25 17:11:42 +00:00
Stefan Ginsberg
ecff3e72ed - FIX is declared in winddi.h, don't redeclare
svn path=/trunk/; revision=37642
2008-11-25 17:08:48 +00:00
Stefan Ginsberg
ed46b7621c - Remove Freeldr's dependency on windef.h
- Explicitly include winerror.h

svn path=/trunk/; revision=37641
2008-11-25 16:55:43 +00:00
Gregor Schneider
4409645578 - Enhance test with icon drawing
- Tests some configurations of DrawIcon and DrawIconEx, highlighting another problem in 32bpp
- Reference TransparentBlt and AlphaBlend directly

svn path=/trunk/; revision=37640
2008-11-25 16:50:25 +00:00
Aleksey Bragin
e9b31b7fdf - Fix weird code in RtlGetVersion (inspired by Coverity ID 1355 and Daniel's patch in bug 3906).
See issue #3906 for more details.

svn path=/trunk/; revision=37638
2008-11-25 16:31:07 +00:00
Aleksey Bragin
af008eee80 Daniel Zimmerman
- First check for NULL before reference a member in it.
See issue #3907 for more details.

svn path=/trunk/; revision=37636
2008-11-25 15:57:03 +00:00
Aleksey Bragin
22cbf57aad Daniel Zimmerman
- Check pdev and purb for NULL before accessing them. Resolves CID 764 and 763.
See issue #3908 for more details.

svn path=/trunk/; revision=37634
2008-11-25 15:51:09 +00:00
Stefan Ginsberg
2cb63c5b32 - Change LPTSTR to LPWSTR for NtUserGetAltTabInfo, as this will always be a wide string
svn path=/trunk/; revision=37633
2008-11-25 14:50:53 +00:00
KJK::Hyperion
e995c386a7 Supersedes r37631
Undoing fishy patch for warnings in Wine code (see r37629)

svn path=/trunk/; revision=37632
2008-11-25 14:17:27 +00:00
KJK::Hyperion
69f549f59c Undoing fishy patch for warnings in Wine code (see r37629)
svn path=/trunk/; revision=37631
2008-11-25 14:11:55 +00:00
Stefan Ginsberg
41bcb8cc77 - Correct some type casts
svn path=/trunk/; revision=37630
2008-11-25 13:57:26 +00:00
KJK::Hyperion
ea60c32d4f Supersedes r37623 with fixes for cross compilation
modified   base/shell/explorer/explorer.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   drivers/wdm/audio/backpln/portcls/portcls.rbuild
modified   ReactOS-generic.rbuild
   Set -Wno-non-virtual-dtor globally because we have no use for this warning and it only messes with COM interface definitions
   This alone disables a ton of spurious warnings

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
   Project-global compiler flags now actually work as intended
   Removed some dead code

modified   dll/directx/dxdiagn/container.c
modified   dll/directx/wine/d3d8/device.c
modified   dll/directx/wine/d3d9/device.c
modified   dll/win32/comdlg32/printdlg.c
modified   dll/win32/crypt32/chain.c
modified   dll/win32/crypt32/main.c
modified   dll/win32/crypt32/oid.c
modified   dll/win32/crypt32/protectdata.c
modified   dll/win32/crypt32/rootstore.c
modified   dll/win32/dbghelp/pe_module.c
modified   dll/win32/fusion/assembly.c
modified   dll/win32/gdiplus/font.c
modified   dll/win32/gdiplus/image.c
modified   dll/win32/icmp/icmp_main.c
   Get rid of warnings.
   Patch by Robin Geuze <r.geuze@chello.nl>

svn path=/trunk/; revision=37629
2008-11-25 13:44:30 +00:00
Gregor Schneider
215fa4be9d - Check parameters before allocating memory
- Patch by Daniel Zimmermann, <netzimme AT aim DOT com>
- Fixes possible memory leaks pointed out by CID 605, bug #3910

svn path=/trunk/; revision=37628
2008-11-25 12:53:21 +00:00
KJK::Hyperion
f7f455d197 Undo r37623 until cross compilation is fixed
svn path=/trunk/; revision=37626
2008-11-24 21:32:17 +00:00
Matthias Kupfer
71e3048893 - don't calc the same values multiple times
svn path=/trunk/; revision=37625
2008-11-24 21:28:42 +00:00
KJK::Hyperion
6b4a3178e3 modified base/shell/explorer/explorer.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   drivers/wdm/audio/backpln/portcls/portcls.rbuild
modified   ReactOS-generic.rbuild
   Set -Wno-non-virtual-dtor globally because we have no use for this warning and it only messes with COM interface definitions
   This alone disables a ton of spurious warnings

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
   Project-global compiler flags now actually work as intended
   Removed some dead code

modified   dll/directx/dxdiagn/container.c
modified   dll/directx/wine/d3d8/device.c
modified   dll/directx/wine/d3d9/device.c
modified   dll/win32/comdlg32/printdlg.c
modified   dll/win32/crypt32/chain.c
modified   dll/win32/crypt32/main.c
modified   dll/win32/crypt32/oid.c
modified   dll/win32/crypt32/protectdata.c
modified   dll/win32/crypt32/rootstore.c
modified   dll/win32/dbghelp/pe_module.c
modified   dll/win32/fusion/assembly.c
modified   dll/win32/gdiplus/font.c
modified   dll/win32/gdiplus/image.c
modified   dll/win32/icmp/icmp_main.c
   Get rid of warnings.
   Patch by Robin Geuze <r.geuze@chello.nl>

svn path=/trunk/; revision=37623
2008-11-24 19:29:13 +00:00
Gregor Schneider
5395fbc5ba - Add copyright information I forgot, update paths
svn path=/trunk/; revision=37622
2008-11-24 19:27:30 +00:00
Gregor Schneider
95b01d0342 - Move slightly changed PS_ALTERNATE and PS_INSIDEFRAME checks from win32k to gdi32
- Don't restrict the width of PS_SOLID pens
- Fixes 25 gdi32 pen winetests
- Pen types left tbd: PS_NULL (problems in GetObject and ExtCreatePen) and PS_ALTNATE (EngLineTo/StrokePath does not support bitmap pens)

svn path=/trunk/; revision=37620
2008-11-24 18:40:46 +00:00
Johannes Anderwald
21f2f21a4d - Fix heap corruption and memory leak
- patch by Daniel Zimmermann
- CID 707
- bug 3905

svn path=/trunk/; revision=37619
2008-11-24 18:05:51 +00:00
Johannes Anderwald
d8a4dde485 - Store settings of SPI_SETMOUSEBUTTONSWAP in registry
- bug 2443

svn path=/trunk/; revision=37618
2008-11-24 17:57:17 +00:00
KJK::Hyperion
b4d5ee6914 modified ntoskrnl/ex/sysinfo.c
MaxSystemInfoClass is now much larger than the size of the CallQS table: use the actual size of the table in range checks to prevent an overrun
   Fixes CID 527, CID 528

svn path=/trunk/; revision=37616
2008-11-24 13:47:44 +00:00
KJK::Hyperion
c086cc2302 Everything
Migrate ntoskrnl to PSEH 2.0. The code should speak for itself

modified   ntoskrnl/ex/atom.c
   _SEH_LEAVE was used improperly in NtQueryInformationAtom. As a free bonus, the upgrade to PSEH 2.0 (and to _SEH2_LEAVE) fixes the potential bug

modified   ntoskrnl/fsrtl/fastio.c
   Corrected exception filter logic

modified   ntoskrnl/include/internal/ex.h
   Goodbye _SEH_ExSystemExceptionFilter, you won't be missed

modified   ntoskrnl/include/internal/ntoskrnl.h
   Don't FORCEINLINE functions that use SEH, it's bad form and the compiler doesn't like

modified   ntoskrnl/ke/i386/usercall.c
   Dispatch the correct EXCEPTION_RECORD in case of exception inside KiInitializeUserApc

modified   ntoskrnl/ke/powerpc/exp.c
   Removed bogus, unused SEH code

modified   ntoskrnl/ntoskrnl-generic.rbuild
   Sources using PSEH 2.0 must be compiled with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054
   Apparently, -fno-unit-at-a-time makes GCC crash when using precompiled headers. Disable precompiled headers for ntoskrnl

svn path=/trunk/; revision=37615
2008-11-24 13:40:26 +00:00
KJK::Hyperion
0cc5134395 modified include/psdk/rpc.h
Implemented RPC exception handling macros with PSEH 2.0

modified   base/services/rpcss/rpcss.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
   RPC proxy stubs now depend on pseh. We should really add pseh as a link dependency automatically in rbuild, but, eh

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Compile RPC proxy stubs with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054

svn path=/trunk/; revision=37614
2008-11-24 13:05:40 +00:00
Aleksey Bragin
7da3ae674b - Fix most of the warnings in mkhive.
svn path=/trunk/; revision=37613
2008-11-24 13:01:56 +00:00
KJK::Hyperion
cfeeca424d modified dll/directx/ddraw/rosdraw.h
modified   dll/win32/advapi32/advapi32.h
modified   dll/win32/gdi32/include/precomp.h
modified   dll/win32/setupapi/setupapi_private.h
   Explicitly include pseh/pseh.h, don't rely on <windows.h> including it through <rpc.h>

svn path=/trunk/; revision=37612
2008-11-24 13:00:20 +00:00
Stefan Ginsberg
aca04a803e - Fix build
svn path=/trunk/; revision=37611
2008-11-24 12:30:53 +00:00
Aleksey Bragin
fa2d77a3e8 - Get rid of warnings.
svn path=/trunk/; revision=37610
2008-11-24 12:22:09 +00:00
Aleksey Bragin
73ed86d2a8 - Get rid of warnings.
svn path=/trunk/; revision=37609
2008-11-24 12:14:48 +00:00
Aleksey Bragin
5f73c662a9 - Make atapi compile warnings-free.
svn path=/trunk/; revision=37608
2008-11-24 10:04:05 +00:00
Magnus Olsen
4b4bfa08dd Implement WinWatchGetClipList.
Update WinWatchClose thx to WinWatchGetClipList
ToDO Now only two api left to implement DCIEndAccess and DCIBeginAccess

svn path=/branches/reactx/; revision=37607
2008-11-24 07:21:33 +00:00
KJK::Hyperion
4b013bbd25 Fixed _SEH2_EXCEPT
svn path=/trunk/; revision=37606
2008-11-24 03:00:50 +00:00
KJK::Hyperion
0022cb57c0 Missing from previous commit
svn path=/trunk/; revision=37604
2008-11-24 01:38:43 +00:00
KJK::Hyperion
0d89ee1b23 Allow pseh.h and pseh2.h to be included in the same compilation unit. Mixing PSEH and PSEH 2.0 macros in the same function isn't safe yet, though
svn path=/trunk/; revision=37601
2008-11-23 23:00:37 +00:00
KJK::Hyperion
eba975aff9 GCC can't appreciate my genius. _SEH2_EXCEPT temporarily broken until I figure out a simpler way
svn path=/trunk/; revision=37600
2008-11-23 22:47:16 +00:00
Eric Kohl
991af663db - Start the RPC-Server from a separate thread so the initial call to the DLL doesn't get blocked.
- Ensure the server accepts more than a single call from clients.

svn path=/trunk/; revision=37599
2008-11-23 22:39:43 +00:00
Eric Kohl
4abc5d743f Fix formatting. No code changes!
svn path=/trunk/; revision=37598
2008-11-23 22:36:15 +00:00
Magnus Olsen
e2328d4bf5 Implement WinWatchDidStatusChange
svn path=/branches/reactx/; revision=37596
2008-11-23 17:50:15 +00:00
Magnus Olsen
e0b17f2cc3 Implement WinWatchClose
svn path=/branches/reactx/; revision=37595
2008-11-23 17:11:52 +00:00
Cameron Gutman
a1afe48a57 - NDIS always calls NdisMIndicateStatusComplete immediately after calling NdisMIndicateStatus
svn path=/trunk/; revision=37593
2008-11-23 16:50:11 +00:00
Dmitry Chapyshev
9f055c6d88 - More correct fix
svn path=/trunk/; revision=37592
2008-11-23 15:10:09 +00:00
Dmitry Chapyshev
cee7f49628 - Set flag unicode="yes"
- Use WCHARs instead of TCHAR

svn path=/trunk/; revision=37589
2008-11-23 14:16:46 +00:00
Dmitry Chapyshev
4398dce305 - Fix formatting. No code change
svn path=/trunk/; revision=37588
2008-11-23 13:52:57 +00:00
Magnus Olsen
6f655fc41c Implement WinWatchOpen
svn path=/branches/reactx/; revision=37587
2008-11-23 13:50:47 +00:00
Eric Kohl
8811ad12d4 - Replace the check-marks in the protocol menu by radio-bullets because the user can only select one of three protocols.
- Mark a protocol in the menu only if it was read correctly. Otherwise the security protocol gets selected although the user is not able to see this protocol.
- Minor clean-up of the resource id mess.

svn path=/trunk/; revision=37586
2008-11-23 13:34:15 +00:00
Magnus Olsen
f2b711b20b Implement GetWindowRegionData
svn path=/branches/reactx/; revision=37585
2008-11-23 12:35:08 +00:00
Magnus Olsen
e33987d5ed Implement GetDCRegionData
svn path=/branches/reactx/; revision=37584
2008-11-23 11:34:58 +00:00
Dmitry Chapyshev
d801a49d71 - Fix formatting. No code change
svn path=/trunk/; revision=37583
2008-11-23 11:15:52 +00:00
Magnus Olsen
6780d55c9f Sorry fix a typo
svn path=/branches/reactx/; revision=37582
2008-11-23 11:02:22 +00:00
Magnus Olsen
b181b5af88 Finish Implement DCIDestroy() it free all alloc res now.
svn path=/branches/reactx/; revision=37581
2008-11-23 11:00:11 +00:00
Gregor Brunmar
b890b9ddc0 Build and use native d3d9 module and not wine's wrapper
svn path=/branches/reactx/; revision=37580
2008-11-23 10:14:09 +00:00
Dmitry Chapyshev
f891a44a69 - Implement ActivateActCtx, AddRefActCtx, CreateActCtxW, DeactivateActCtx, FindActCtxSectionStringW, GetCurrentActCtx, ReleaseActCtx
All based on Wine

svn path=/trunk/; revision=37579
2008-11-23 10:10:29 +00:00
Dmitry Chapyshev
6bcb4d4872 - Add stubs for RtlActivateActivationContext and RtlCreateActivationContext
svn path=/trunk/; revision=37578
2008-11-23 10:02:20 +00:00
Magnus Olsen
7064c5723c Impement part of DCIDestroy
Implement DCISetClipList
Implement DCISetSrcDestClip
Implement WinWatchNotify.
BugFix : DciCreatePrimary. forget check see if hal support create surface or not. 

svn path=/branches/reactx/; revision=37577
2008-11-23 09:54:48 +00:00
Gregor Brunmar
751b750ae1 Fixed build when including the native d3d9 project
svn path=/branches/reactx/; revision=37576
2008-11-23 09:33:41 +00:00
Dmitry Chapyshev
3d4737cb72 - Fix RtlFindActivationContextSectionString prototype
svn path=/trunk/; revision=37575
2008-11-23 08:57:19 +00:00
Dmitry Chapyshev
257cd9125a - Fix IsValidLanguageGroup and EnumSystemLanguageGroups. +102 passed tests
svn path=/trunk/; revision=37574
2008-11-23 08:19:35 +00:00
Magnus Olsen
742e08eece Remove the spec file with def file, no stack coruptions now.
implement   DCICreateOffscreen, DCICreateOverlay,  DCIDraw, DCIEnum, DCISetDestination

svn path=/branches/reactx/; revision=37573
2008-11-23 07:58:18 +00:00
Magnus Olsen
79a38ab49b Implement lite more of DCICreatePrimary, now it is working. it is few thing left to deal with
svn path=/branches/reactx/; revision=37572
2008-11-23 07:10:03 +00:00
Dmitry Chapyshev
0c2971975e - Implement LCMapStringA/W (based on Wine, +55 passed tests)
- Fix CompareStringA/W (+6 passed tests)

svn path=/trunk/; revision=37571
2008-11-23 06:50:32 +00:00
KJK::Hyperion
7d4a8b9e1c modified include/reactos/libs/pseh/pseh2.h
Make SF_FramePointer field of _SEHFrame_t volatile, too, just to be safe
   Unoptimized compilation doesn't perform const-folding - "static const" could result in compilation errors, use just "const"
   Renamed _SEH2_GetExceptionPointers to _SEH2_GetExceptionInformation to be closer to the "standard" SEH syntax

modified   lib/pseh/framebased-gcchack.c
   Clobber the register that's actually used

svn path=/trunk/; revision=37570
2008-11-23 00:20:37 +00:00
Eric Kohl
29fc9d57c7 Make the event viewer unicode-enabled and build the unicode version.
svn path=/trunk/; revision=37568
2008-11-22 21:14:51 +00:00
Eric Kohl
db8c3e9162 Replace TABs by Spaces.
No code changes!

svn path=/trunk/; revision=37564
2008-11-22 19:25:48 +00:00
James Tabor
01f04141d9 - Add tag for path objects. Set DC handle when selecting bitmap.
svn path=/trunk/; revision=37562
2008-11-22 18:26:32 +00:00
Dmitry Chapyshev
25c2fade91 - Fix CompareStringA/W. +7 passed wine tests
svn path=/trunk/; revision=37561
2008-11-22 17:41:52 +00:00
Magnus Olsen
f08248485a implement bit more of DCICreatePrimary, it is not finish or tested yet, and comment up the code.
svn path=/branches/reactx/; revision=37560
2008-11-22 17:08:55 +00:00
Cameron Gutman
438ac1d7da - Merge aicom-network-fixes up to r37556
svn path=/trunk/; revision=37559
2008-11-22 17:02:56 +00:00
James Tabor
07019b1508 -AttachThreadInput is a direct call to kernel space, good job Dmitry!
svn path=/trunk/; revision=37558
2008-11-22 16:23:43 +00:00
Magnus Olsen
f4bc3937df start implement DCICreatePrimary, it is not finish or tested yet.
svn path=/branches/reactx/; revision=37557
2008-11-22 16:10:53 +00:00
Dmitry Chapyshev
7c4e569119 - Update GetCurrencyFormatW. +34 wine tests passed
svn path=/trunk/; revision=37555
2008-11-22 13:45:17 +00:00
Dmitry Chapyshev
724defb850 - Fix RtlTimeFieldsToTime. Now GetDateFormatW passed all wine tests
svn path=/trunk/; revision=37554
2008-11-22 13:21:33 +00:00
Dmitry Chapyshev
3b5c12bcdc - Fix 2 wine tests for GetTimeFormatA/W
svn path=/trunk/; revision=37553
2008-11-22 12:15:24 +00:00
Stefan Ginsberg
cd1bf24e93 - Make sure allocation succeeded (CID 467)
svn path=/trunk/; revision=37552
2008-11-22 11:51:01 +00:00
Dmitry Chapyshev
af6290f733 - Fix EnumDateFormatsA implementation. + 7 passed tests
svn path=/trunk/; revision=37551
2008-11-22 11:32:08 +00:00
Stefan Ginsberg
21a89ddc01 - Don't. Include. ntdef.h. From. User. Mode.
svn path=/trunk/; revision=37550
2008-11-22 11:17:17 +00:00
Stefan Ginsberg
f8b07da766 - Remove system_header too
svn path=/trunk/; revision=37549
2008-11-22 11:04:49 +00:00
Stefan Ginsberg
682255c554 - No, Winetests doesn't treat ntdef.h as a PSDK header, they don't include it. The include was added when the Winetest was added to ros, because of missing NTSTATUS type. Include NDK instead.
svn path=/trunk/; revision=37548
2008-11-22 11:03:56 +00:00
Stefan Ginsberg
bbdf312552 - Deprecate PSDK's usage of system_header for real now that rostests/winetests are fixed
svn path=/trunk/; revision=37547
2008-11-22 10:47:17 +00:00
Stefan Ginsberg
7e38beba07 - Silence more "has virtual functions but non-virtual destructor" warnings
svn path=/trunk/; revision=37546
2008-11-22 10:38:09 +00:00
Stefan Ginsberg
774c361bad - Silence more "has virtual functions but non-virtual destructor" warnings
- Disable outdated and unused libjpeg

svn path=/trunk/; revision=37545
2008-11-22 10:37:47 +00:00
Stefan Ginsberg
137f21c9fd - Fix indentation (spaces -> tabs)
svn path=/trunk/; revision=37544
2008-11-22 09:09:50 +00:00
Aleksey Bragin
b7af90ae54 Dmitry Gorbachev
- Fix an issue with choosing nonexistent x86 registers %sil/%dil, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153 for more details.
- Add "memory" to _InterlockedAddLargeStatistic(). "In Visual C++ 2005, this function behaves as a read-write barrier." -- MSDN library.
- Use "+m" instead of "=m".

See issue #3772 for more details.

svn path=/trunk/; revision=37543
2008-11-22 08:32:15 +00:00
Aleksey Bragin
5312b56416 Dmitry Gorbachev
- SETxx instructions require 8-bit operand, but "r" constraint is used. Use "q" instead ("r" means any general register, including esi and edi, which are not suitable as an operand of setnz.)
See issue #3772 for more details.

svn path=/trunk/; revision=37542
2008-11-22 08:26:53 +00:00
Dmitry Chapyshev
54389c838c - Call NtUserAttachThreadInput
svn path=/trunk/; revision=37540
2008-11-22 06:16:19 +00:00
Dmitry Chapyshev
92b86da787 - Sync inetcomm with Wine head
svn path=/trunk/; revision=37539
2008-11-22 04:28:03 +00:00
Stefan Ginsberg
12ee0b7efd - Silence more "has virtual functions but non-virtual destructor"
svn path=/trunk/; revision=37537
2008-11-21 23:14:30 +00:00
Stefan Ginsberg
7b2da29cb3 - ...revert until all Winetests/rostests are fixed. Using a broken RosBe beta which doesn't build /rostests/ or /rosapps/ when doing header changes is a bad, bad idea.
svn path=/trunk/; revision=37535
2008-11-21 22:48:38 +00:00
Stefan Ginsberg
0e7b582264 - Winetests treats ntdef.h as a psdk header, so temporarily hack it...
svn path=/trunk/; revision=37534
2008-11-21 22:38:23 +00:00
Stefan Ginsberg
00a5b02ea1 - Fix rostests build, part 1 of ?
svn path=/trunk/; revision=37533
2008-11-21 22:23:46 +00:00
Stefan Ginsberg
c0dbb1b2c1 - More hack, less build breakage
svn path=/trunk/; revision=37532
2008-11-21 22:03:45 +00:00
Stefan Ginsberg
57cf5503f1 - Remove system_header from the remaining PSDK headers. The era of liberally sprinkling the overkill system_header gcc hacH^H^H^extension has now come to an end and...oh, wait. What's that you say? DDK does this too? Uh, right. Will fix that too.
svn path=/trunk/; revision=37531
2008-11-21 21:46:58 +00:00
Stefan Ginsberg
dff0e2ea0b - Hack-include ntsecapi.h in powrprof.h, so NTSTATUS gets defined in an NDK-safe way. Not the best way, and most likely not compatible with the official header set, but I can't get the hack used by MS headers to work.
svn path=/trunk/; revision=37530
2008-11-21 21:31:01 +00:00
Stefan Ginsberg
f9798bcf09 - LANG_WELSH and LANG_BRETON are present in newer official winnt.h (and our winnt.h), so no need to put hacked-up versions of them in "Wine compatibility" winnt.h.
- Don't define wchar_t in winnt.h (kudos to Colin Finck for this fix)
- Remove system_header

svn path=/trunk/; revision=37529
2008-11-21 21:27:30 +00:00
Stefan Ginsberg
f39e2f8b84 - Silence "'struct Foo' has virtual functions but non-virtual destructor" warnings for kernel32, as we don't allow warnings for this module. Needed for the coming header fixes, as system_header hides this warning.
svn path=/trunk/; revision=37528
2008-11-21 21:19:13 +00:00
Stefan Ginsberg
e40f53753f - Protect NTSTATUS definition in NDK with a guard, as is done in the user mode headers which also define this type
- Remove system_header from these user mode headers

svn path=/trunk/; revision=37527
2008-11-21 21:12:53 +00:00
Stefan Ginsberg
1bf8f269d0 - Remove non-standard "PLANGID" type from NDK and use LANGID* instead. Also protect LANGID definition with a header guard, as winnt.h defines it too.
svn path=/trunk/; revision=37526
2008-11-21 21:05:33 +00:00
Matthias Kupfer
8cf20f8201 - Add key modifiers MK_CONTROL and MK_SHIFT to all mouse events.
- See issue #3557 for more details.

svn path=/trunk/; revision=37525
2008-11-21 20:58:07 +00:00
Sylvain Petreolle
968119aebb don't redefine IDHELP.
svn path=/trunk/; revision=37524
2008-11-21 20:13:22 +00:00
Stefan Ginsberg
922ae17a2e - winternl.h is deprecated since the NDK was invented, don't use
svn path=/trunk/; revision=37523
2008-11-21 19:23:42 +00:00
James Tabor
de77947079 - Pass more bitmap cross tests, 16 bit is down to 52. I have more fixes that relate to that number, need more time to work on it. Fixed SEH abuse in CreateBitmap.
svn path=/trunk/; revision=37522
2008-11-21 18:34:31 +00:00
Stefan Ginsberg
cc2c98c93f - Move ntdef.h to DDK as that is where it belongs, and remove unnecessary system_header. Also fix a #endif (kudos to hto -- bug 3888)
- Fix DDK to include ntdef.h instead of windef.h
- Fix a check in debug.h

svn path=/trunk/; revision=37521
2008-11-21 18:18:12 +00:00
Stefan Ginsberg
5173235ba2 - Fix a warning
svn path=/trunk/; revision=37520
2008-11-21 17:53:10 +00:00
Michael Martin
c6e8145135 - Added EventSource structure for keeping track of EventLog Source name and associated Log File.
- Added and Implemented ElfCreateEventLogHandle and ElfDeleteEventLogHandle.

svn path=/trunk/; revision=37519
2008-11-21 15:40:47 +00:00
Stefan Ginsberg
9e37df129a - Correct some constants so they don't conflict with aviriff.h
svn path=/trunk/; revision=37518
2008-11-21 15:32:18 +00:00
Stefan Ginsberg
a736d55b01 - Fix a bug
svn path=/trunk/; revision=37517
2008-11-21 15:23:27 +00:00
Stefan Ginsberg
2b96a6cb87 - Fix double declarations/definitions and remove system_header
svn path=/trunk/; revision=37516
2008-11-21 15:12:00 +00:00
Stefan Ginsberg
abb1280385 - woops. temporarily revert system_header to fix build
svn path=/trunk/; revision=37515
2008-11-21 15:02:06 +00:00
Kamil Hornicek
62392c89a0 - avoid losing pointer to the next bezier patch while freeing the current one (CID 1298)
svn path=/trunk/; revision=37514
2008-11-21 15:01:01 +00:00
Stefan Ginsberg
b67eece82f - Remove some straggler system_header
svn path=/trunk/; revision=37513
2008-11-21 14:52:22 +00:00
Kamil Hornicek
e8dde635bf - free all resources before returning (CID 644)
svn path=/trunk/; revision=37512
2008-11-21 14:20:54 +00:00
Stefan Ginsberg
9f42dcf72a - Update a comment
svn path=/trunk/; revision=37511
2008-11-21 13:45:40 +00:00
Kamil Hornicek
e491126867 - store the next node in a separate variable so we won't loose it after freeing the current node (CID 1296)
svn path=/trunk/; revision=37510
2008-11-21 13:20:22 +00:00
Magnus Olsen
c2c5ce9185 Add Threadlock for DDraw_AddRef
Add Threadlock for DDraw_Release
Add Threadlock for DDraw->Compact
BugFix : Remove wrong zeromemory in StartDirectDrawHel discovery by Pigglesworth
Cleanup : reactivate hal support in DDrawSurface->Lock and DDrawSurface->UnLock 

svn path=/branches/reactx/; revision=37509
2008-11-21 12:42:25 +00:00
Kamil Hornicek
0f0b1a0a74 - reshuffle the code a bit
- fix CID 521 run 2

svn path=/trunk/; revision=37508
2008-11-21 12:20:48 +00:00
Kamil Hornicek
3abe5dfccd - don't leak resources, CID 609+610 run 2
svn path=/trunk/; revision=37506
2008-11-21 10:31:18 +00:00
Magnus Olsen
f2a659b1f0 From old code when I started on DCIMAN
Implement DllMain
Implement DCIOpenProvider
Implement DCICloseProvider

svn path=/branches/reactx/; revision=37505
2008-11-21 10:17:34 +00:00
Aleksey Bragin
5bd9816a8a - Always uninit cache for a file object (official documentation requires this).
svn path=/trunk/; revision=37504
2008-11-21 10:17:14 +00:00
Kamil Hornicek
24660aadf9 - fix some checks, verified in win xp
svn path=/branches/reactx/; revision=37503
2008-11-21 09:58:07 +00:00
Kamil Hornicek
66d5bd3206 - fix freeing of resources, CID 1295 run 2
- don't redefine _WIN32_WINNT

svn path=/trunk/; revision=37502
2008-11-21 09:45:54 +00:00
Magnus Olsen
e61de69db3 Copied dciman.h and dciddi.h from psdk to ddk for they are same
svn path=/branches/reactx/; revision=37501
2008-11-21 09:12:27 +00:00
Magnus Olsen
8293570ccc Copied dciman.h and dciddi.h from psdk to ddk for they are same
svn path=/branches/reactx/; revision=37500
2008-11-21 09:12:25 +00:00
Magnus Olsen
1a462a43be delete the dciddi.h we got in ddk, it is same as psdk header
svn path=/branches/reactx/; revision=37499
2008-11-21 09:09:06 +00:00
Magnus Olsen
5ceb1f47cb update the dciddi and dciman header.
it does not missing any data now. 

svn path=/branches/reactx/; revision=37498
2008-11-21 09:07:20 +00:00
Johannes Anderwald
b828f5779e - Convert Value of PATHEXT to lowercase
- see bug 3875

svn path=/trunk/; revision=37497
2008-11-21 08:57:13 +00:00
James Tabor
a16c4ab474 - Update palette functions and small cleanup in bitmaps.
svn path=/trunk/; revision=37496
2008-11-21 06:50:36 +00:00
Eric Kohl
62a7ad910e SySync to wine-1.1.1 (Patch 6 of 10):
- Rob Shearman <robertshearman@gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.

Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.

Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.

svn path=/trunk/; revision=37491
2008-11-20 20:37:09 +00:00
Aleksey Bragin
f9fd16f793 - Upcase a search expression when calling RtlIsNameInExpression with case-insensitive option (a merge of 37263 from Pierre's branch with changed comments).
svn path=/trunk/; revision=37490
2008-11-20 20:24:10 +00:00
Eric Kohl
783e8e1be3 SySync to wine-1.1.1 (Patch 5 of 10):
- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Factor a small part of the grammar.

svn path=/trunk/; revision=37489
2008-11-20 20:21:33 +00:00
Aleksey Bragin
7dcc2be045 - Merge misaligned reads support (35998, 36834 by Art) from arty-newcc branch.
svn path=/trunk/; revision=37488
2008-11-20 20:02:36 +00:00
Stefan Ginsberg
eb41cde3fa - Fix "missing newling" warning
svn path=/trunk/; revision=37486
2008-11-20 19:00:17 +00:00
Stefan Ginsberg
b1398df863 - Remove more instances of system_header
svn path=/trunk/; revision=37485
2008-11-20 15:30:15 +00:00
James Tabor
c388ad54d4 - Add Section support for CreateDIBSection. Section support was disabled from the first time it was committed at revision 1753.
svn path=/trunk/; revision=37484
2008-11-20 15:11:43 +00:00
Stefan Ginsberg
30baf5107f - Correct a header guard
svn path=/trunk/; revision=37483
2008-11-20 15:02:42 +00:00
Magnus Olsen
c3682af094 Cleanup lite for the dump functions for dumping internal value in ddraw.dll and add some new dumping function have been add.
svn path=/branches/reactx/; revision=37481
2008-11-20 12:25:27 +00:00
Matthias Kupfer
813f7f6f26 - start with German translation (not finished yet)
- prepare setup to change setup language at runtime
- fix resource files

svn path=/trunk/; revision=37480
2008-11-20 10:21:17 +00:00
Eric Kohl
4bc0878195 Revert 37476 because it breaks the build bot.
svn path=/trunk/; revision=37477
2008-11-19 23:22:44 +00:00
Eric Kohl
75e18ffafa Sync to wine-1.1.1 (Patch 4 of 10):
ATTENTION: You MUST run "clean" before building ReactOS, otherwise WIDL will crash when it is run.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.

svn path=/trunk/; revision=37476
2008-11-19 23:13:05 +00:00
Eric Kohl
79b0c90fa8 Sync to wine-1.1.1 (Patch 3 of 10):
- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Check that the structure has been defined in check_remoting_args.

svn path=/trunk/; revision=37470
2008-11-19 21:44:03 +00:00
Colin Finck
66ea4d510a - Rearrange "host/typedefs.h" to make it look more logical
- Fix wrong definition of INT_PTR and UINT_PTR in this file
- Revert a hack added to winebuild in r32609 and r37206, which was added to work around these previously buggy definitions

svn path=/trunk/; revision=37468
2008-11-19 21:05:49 +00:00
Eric Kohl
df50518f1e Sync to wine-1.1.1 (Patch 2 of 10):
- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.

The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.

svn path=/trunk/; revision=37467
2008-11-19 21:01:47 +00:00
Eric Kohl
5e41cc9ce8 Sync to wine-1.1.1 (Patch 1 of 10):
- Alexandre Julliard <julliard@winehq.org> Tue, 1 Jul 2008
widl: Add some support for unencapsulated unions that need a conformance descriptor.

svn path=/trunk/; revision=37466
2008-11-19 20:33:58 +00:00
Colin Finck
3bf81471d2 Dmitry Gorbachev
- Fix compiler warnings, treated as errors due to our settings, which are emitted when using GCC 4.3.2

See issue #3849 for more details.

svn path=/trunk/; revision=37465
2008-11-19 19:59:54 +00:00
Stefan Ginsberg
993a932cdf - Remove system_header from basetsd/typs.h, and add 4 missing types
svn path=/trunk/; revision=37464
2008-11-19 19:25:42 +00:00
Magnus Olsen
1d76a5cae6 Fixed one smaller bug in hel DdLock and DdUnlock now the lock and the unlcok using the windows hdc to draw the data on
svn path=/branches/reactx/; revision=37463
2008-11-19 19:04:19 +00:00
Magnus Olsen
71aea5bb22 Fixed hack so DdUnlock hel does not leak memory,
ToDO : DdLock hel captuer the screen outside the client area, DdUnlock also need write back to the client area. 

svn path=/branches/reactx/; revision=37461
2008-11-19 18:28:34 +00:00
Magnus Olsen
a621149a91 Fixed bug in hel surface lock.
Now we truly get back a buffer with bitmap data for specify bitmap area. and few other mirror bugfix for DdLock hel function

svn path=/branches/reactx/; revision=37460
2008-11-19 17:56:56 +00:00
Matthias Kupfer
141eb9a2df - revert winioctl.h to previous version (for compatibility)
- add additional partition types to rosioctl.h
- adapt freeloader to rosioctl.h

svn path=/trunk/; revision=37458
2008-11-19 14:28:24 +00:00
Matthias Kupfer
5fef6df569 - add some linux partition types
svn path=/trunk/; revision=37456
2008-11-19 13:24:43 +00:00
Matthias Kupfer
5ae753abf9 revert to revision 37390
svn path=/trunk/; revision=37454
2008-11-19 12:00:23 +00:00
James Tabor
cddb6be52b - Fixed a bug from revision 3514. Now we pass one more gdi bitmap test.
svn path=/trunk/; revision=37451
2008-11-18 21:24:33 +00:00
Stefan Ginsberg
51ebda7d29 - Remove system_header from winsock headers
svn path=/trunk/; revision=37450
2008-11-18 20:06:57 +00:00
Stefan Ginsberg
0c79fe9fad - Fix a redefinition and remove system_header
svn path=/trunk/; revision=37449
2008-11-18 19:33:22 +00:00
Stefan Ginsberg
e1d8bf2000 - Remove system_header from most of PSDK
svn path=/trunk/; revision=37448
2008-11-18 19:27:05 +00:00
Ged Murphy
29474c309b Rough code to start Winetests processes from the GUI, but with the console's stdout redirected to a pipe controlled by the GUI.
We can now read the console text from the winetest processes in the GUI (although it's just usage info at the moment)

svn path=/trunk/; revision=37447
2008-11-18 18:57:27 +00:00
Eric Kohl
29ddbaa8c9 Revert 37416 because it does not build on all machines.
svn path=/trunk/; revision=37446
2008-11-18 18:51:13 +00:00
Colin Finck
50732235bd Olaf Siejka
- Remove "dosfsck" from packages.dff, removed from trunk by fireball in r37356

svn path=/trunk/; revision=37445
2008-11-18 18:41:00 +00:00
Stefan Ginsberg
73b86484b9 - Add more header guards
svn path=/trunk/; revision=37444
2008-11-18 18:38:58 +00:00
Stefan Ginsberg
b482357f93 - Declare SECURITY_DESCRIPTOR_CONTROL conditionally
svn path=/trunk/; revision=37442
2008-11-18 17:05:49 +00:00
Stefan Ginsberg
aac23f4f4b - Remove system_header from gdiplus*.h
svn path=/trunk/; revision=37441
2008-11-18 16:56:22 +00:00
Stefan Ginsberg
a208b6c624 - Remove system_header from winbase.h, wingdi.h and winuser.h
- Remove duplicate define from Wine's winuser.h

svn path=/trunk/; revision=37440
2008-11-18 16:15:37 +00:00
James Tabor
f558f29e5c - Make our version of SetDIBits safe as SetDIBitsToDevice.
svn path=/trunk/; revision=37439
2008-11-18 16:07:54 +00:00
James Tabor
3192a32d97 - Fix bpp count in CreateDIBitmap.
svn path=/trunk/; revision=37437
2008-11-18 14:51:14 +00:00
James Tabor
fa0375352f - Fixes bug 3864. While I was at it I fixed most of the gdi max bit max info sizes too.
- Added notes for the SEH abuse in win32k dibobj.c.
- Tested WinMerge 2.10.2, AbiWord 2.4.1, Firefox 1.5.0.3 and wine gdi32 bitmap cross test.
- When testing with gdi cross test in 24 and 32 bit display mode, we have a pixel conversion mismatch. Please fix it!


svn path=/trunk/; revision=37436
2008-11-18 05:36:19 +00:00
Stefan Ginsberg
3595d1c30e - "byte" is defined by the Win32 headers, so define it conditionally
svn path=/trunk/; revision=37423
2008-11-17 22:01:19 +00:00
Stefan Ginsberg
1861d15230 - MSTSC: Don't redefine BOOL
- Regedit: Don't include basetyps.h. Not needed and it just breaks things. Also don't include aclui.h as we...for some reason...implement the required parts of that API locally

svn path=/trunk/; revision=37422
2008-11-17 21:52:55 +00:00
Eric Kohl
1bd1e3126a Sync to wine-1.1.1:
- Alexandre Julliard <julliard@winehq.org> Thu, 26 Jun 2008
widl: [default] is an allowed attribute for union fields.
(Note: This patch was already applied before in order not to break ReactOS.)

- Alexandre Julliard <julliard@winehq.org> Tue, 1 Jul 2008
widl: Add some support for unencapsulated unions that need a conformance descriptor.

- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.

The 8 bytes are for the variance and offset and are added just before the array, as seen in the marshalling code in rpcrt4. No offset needs to be added for non-varying structures since the buffer mark is set after the conformance in marshalled or unmarshalled.

- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Check that the structure has been defined in check_remoting_args.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL. However, this does a better job than MIDL since it also reports the location of the originial definition, like GCC.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Factor a small part of the grammar.

- Rob Shearman <robertshearman@gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.

Descend through as many pointer types as necessary to find the fundamental type and determine whether it needs a top-level parameter conformance/variance expression to be written. Add support for writing top-level parameter conformance/variance expressions for non-encapsulated unions.

- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.

- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Remove some unnecessary calls to duptype.

- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.

- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.

Note: Two patches are missing because they implement code to generate MIDL-incompatible SEH support code. Unfortunately I think it is almost time to fork WIDL because later patches implement even more incompatibilities. :-(

svn path=/trunk/; revision=37416
2008-11-17 19:07:03 +00:00
Matthias Kupfer
17ab0467d9 - fix a brace mistake
svn path=/trunk/; revision=37415
2008-11-17 18:40:36 +00:00
Matthias Kupfer
f1fcb8e5cb - add summary page to check settings before start installation
- add disabled driver button for future use

svn path=/trunk/; revision=37414
2008-11-17 18:23:06 +00:00
Gregor Schneider
191a64db66 Remove old locations
svn path=/trunk/; revision=37413
2008-11-17 17:28:58 +00:00
Gregor Schneider
ce7603048e - Restructure dib related tests, 2nd try.
- Change build files accordingly

svn path=/trunk/; revision=37412
2008-11-17 17:28:14 +00:00
Gregor Schneider
085944a8b2 Moved dib tests remotely
svn path=/trunk/; revision=37411
2008-11-17 16:59:01 +00:00
Aleksey Bragin
6bad7297f7 - Target device to mount may not have VPB, the driver should get the VPB passed in parameters.
- Set target device's VPB to this value. This should not really be done, however our driver heavily depends on target device having this VPB. I don't see any side effects.
- With these changes, Windows 2003 is able to boot up to desktop and cleanly shutdown using this driver.

svn path=/trunk/; revision=37409
2008-11-17 16:09:31 +00:00
Magnus Olsen
373edab107 Fixed a old typo HelDdSurfLock it should be DIB_RGB_* not DIB_PAL_* when it try getting rgb bitmap pixel data
Ported old experiment code for HelDdSurfUnLock it is not completed and can be very buggy

Fixed smaller bug in Main_DDrawSurface_Unlock the rest of visrgn can fail on real hw. if it fail, it was not supported by the hw drv for most case. so it is safe to ignore if it fails

svn path=/branches/reactx/; revision=37408
2008-11-17 15:52:02 +00:00
Gregor Schneider
4aa4129e6f - Add new directory for some dib related test restructuring, including two new tests:
- bltrop test for well known BitBlt ROPs, highlighted bugs were processed in r37268, r37269, r37372
- vbltest for testing several blit and blend functions, highlighted bugs fixed in r37139, r37168 and some overlay issues still tbd

svn path=/trunk/; revision=37407
2008-11-17 15:05:02 +00:00
Magnus Olsen
e5c84f2992 remove a comment that is not true.
svn path=/branches/reactx/; revision=37406
2008-11-17 15:01:43 +00:00
Magnus Olsen
39d851edea ported old version of HEL lock surface for ddraw I wrote long time ago. It is not complete and can contain bugs.
svn path=/branches/reactx/; revision=37405
2008-11-17 15:00:28 +00:00
James Tabor
ab2600780f - Move StretchDIBits out of stubs. Add more notes.
svn path=/trunk/; revision=37404
2008-11-17 13:55:00 +00:00
James Tabor
92b81a8473 - Add note for NtGdiCreateDIBitmapInternal, Should use System Bitmap DC hSystemBM, with CreateCompatibleDC for this.
svn path=/trunk/; revision=37403
2008-11-17 13:51:43 +00:00
Stefan Ginsberg
8def0b5fff - Start deprecating the overabused system_header gcc pragma extension
svn path=/trunk/; revision=37402
2008-11-17 13:49:52 +00:00
Matthias Kupfer
78f5f0f5cc - disable non-working device selection code
- add a missing "break"

svn path=/trunk/; revision=37401
2008-11-17 13:35:59 +00:00
Aleksey Bragin
10d51f11d6 - Remove hack around VFATFS (and CDFS) bugs which were fixed in r37393.
svn path=/trunk/; revision=37400
2008-11-17 13:19:22 +00:00
Aleksey Bragin
354d1e506d - Cleanup 37394, 37396 and 37397:
* PRTL_OVERLAPPED_COMPLETION_ROUTINE is a Wine invention. We already have a type for that, since it's an APC routine, the type will be PIO_APC_ROUTINE.
 * Fix headers, actual stub, and usage in kernel32 respectively.
 * We don't use hungarian notation in RTL ("hFileHandle") .

svn path=/trunk/; revision=37399
2008-11-17 13:16:07 +00:00
Stefan Ginsberg
e912efded4 - Remove deprecated header cruft
svn path=/trunk/; revision=37398
2008-11-17 13:03:54 +00:00
Dmitry Chapyshev
29a0430cdd - Fix build
svn path=/trunk/; revision=37397
2008-11-17 12:13:28 +00:00
Dmitry Chapyshev
375eea5424 - Implement BindIoCompletionCallback, ReadFileScatter, WriteFileGather (based on Wine)
- Move DnsHostnameToComputerNameA/W to computername.c

svn path=/trunk/; revision=37396
2008-11-17 11:53:59 +00:00
Ged Murphy
33d335d8e1 - reference the correct data
- set the response info before returning
See issue #2808 for more details.

svn path=/trunk/; revision=37395
2008-11-17 11:51:33 +00:00
Dmitry Chapyshev
e415ae53c8 - Add stubs for RtlSetIoCompletionCallback
svn path=/trunk/; revision=37394
2008-11-17 11:44:31 +00:00
Aleksey Bragin
4983dabf35 - FASTFAT: when querying file name information, fill in the whole buffer provided by the caller, even if filename does not fully fit (driver by Microsoft(R) does the same). Also, return the actual amount of data written in IoSb.Information, even in case of buffer overflow result.
- CDFS: Fix a guaranteed buffer overwrite when zero-terminating a filename. Also apply the same fixes described above.

svn path=/trunk/; revision=37393
2008-11-17 11:25:36 +00:00
Aleksey Bragin
bc5c507d54 Daniel Zimmerman
- Fix random widl crashes when compiling on Vista x86.

Patch from Wine bugzilla: http://bugs.winehq.org/show_bug.cgi?id=16084 .

See issue #3877 for more details.

svn path=/trunk/; revision=37390
2008-11-16 16:24:23 +00:00
Stefan Ginsberg
c729ed5e3b - STDCALL -> NTAPI
svn path=/trunk/; revision=37388
2008-11-16 13:42:56 +00:00
Dmitry Chapyshev
415da61549 - Implement GetCPInfo. Now this function passes all Wine tests
svn path=/trunk/; revision=37387
2008-11-16 12:15:55 +00:00
Magnus Olsen
367de0f0a2 1. Fixed one Crash in DdBlt when the Dest was NULL we should return invaild param
2. Move include of pseh header to rosdraw.h
3. Ported partly old code for Hel DdBlt for ddraw
4. Fixed Bug in Hel startup process, but the code is not finish

svn path=/branches/reactx/; revision=37386
2008-11-16 11:04:11 +00:00
James Tabor
4e37ce697b - Fix AlphaBlend checks that pass wine bitmap gdi32 crosstests. Tested in 16 and 24 bit mode Qemu and 32 bit mode hardware, with our AlphaBlend rendering demo program.
svn path=/trunk/; revision=37385
2008-11-16 02:19:43 +00:00
James Tabor
132a0cb3b8 - Sorry for the misunderstanding,,, fix typo, see bug report 3863.
svn path=/trunk/; revision=37384
2008-11-16 01:49:23 +00:00
Gregor Schneider
7d34208e7f - DIB_1BPP_BitBlt: Increment source coordinates properly, see bug #2372
- Remove old code
- Enable dprint for DIB_1BPP_StretchBlt

svn path=/trunk/; revision=37382
2008-11-15 22:35:44 +00:00
Eric Kohl
e2eef76cbf Sync to wine-1.1.0:
- Simon Richter <Simon.Richter@hogyros.de> Tue, 17 Jun 2008
widl: Write string lengths in host endianness.
Type libraries are currently parsed in host endianness, so byte arrays that are going to be interpreted as integers need to be written in the appropriate byte order.

- Rob Shearman <robertshearman@gmail.com> Fri, 20 Jun 2008
widl: Fix generation of the type format string for conformant-varying structures.
The conformance needs to be added on to the offset in the buffer so set this before calling each the writer of each class of pointer description in write_pointer_description. Pass the passed in offsets to buffer and memory to write_pointer_description_offsets in write_varying_array_pointer_descriptions.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Replace code to round up values and calculate padding with macros to improve readability.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix the embedded pointer offsets in generated code when the containing structure has padding.
Do so by calculating the alignment of members when iterating through the structures and adding it onto the buffer and memory offsets. Only call type_memsize once elsewhere in the embedded pointer processing functions since the return value will be the same from the second call.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Factor out the finding of a registered type to reduce code duplication.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP, like we do for interfaces.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.
(Aleksey already applied this patch in rev37378)

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix the types of enums with the v1_enum attribute applied.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix type_memsize to follow aliases so that the correct size is calculated.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix check_remoting_fields to enumerate the correct list of fields.

svn path=/trunk/; revision=37381
2008-11-15 21:17:09 +00:00
Eric Kohl
c43e05155c Sync to wine-1.0-rc11:
- Francois Gouget <fgouget@free.fr> Tue, 6 May 2008
Add a comment warning when a table must be kept sorted for later use with bsearch().

- Francois Gouget <fgouget@free.fr> Tue, 6 May 2008
Assorted spelling fixes.

- Marcus Meissner <marcus@jet.franken.de> Tue, 6 May 2008
widl: Mark non-returning functions as noreturn.

svn path=/trunk/; revision=37380
2008-11-15 20:18:16 +00:00
Aleksey Bragin
0ba5018676 - Remove duplicate, often conflicting, type definitions from IDL (spotted by new widl).
svn path=/trunk/; revision=37379
2008-11-15 19:32:13 +00:00
Aleksey Bragin
a1ba38503c Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008 21:28:56 +0000 (22:28 +0100)
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.

http://source.winehq.org/git/wine.git/?a=commit;h=b3dde47ed760880e323222af9ec7ad30702dec7c

svn path=/trunk/; revision=37378
2008-11-15 18:37:15 +00:00
Magnus Olsen
b9df9b069d Comment out old test that does not work right yet.
svn path=/branches/reactx/; revision=37377
2008-11-15 17:26:03 +00:00
Magnus Olsen
e9d669603a port a really old test I have for ddraw.dll, this test testing see if the internal value are right when u create the com interface
svn path=/branches/reactx/; revision=37376
2008-11-15 17:00:58 +00:00
James Tabor
5a3ad75437 - Fix newest Wine bitmap gdi32 crosstest.
svn path=/trunk/; revision=37375
2008-11-15 15:20:14 +00:00
Aleksey Bragin
f1d7651421 - Remove duplicate type definitions.
svn path=/trunk/; revision=37374
2008-11-15 14:04:18 +00:00
Kamil Hornicek
ee17e42aa7 use the dmSize we got from caller and fall back to SIZEOF_DEVMODEA_300 in case we got some unexpected value as it's done in Windows
svn path=/trunk/; revision=37373
2008-11-15 13:54:17 +00:00
James Tabor
08d47079cf - Fix dirty bit support for select brush and pen, see bug 3863.
- Hack-plement part of NtGdiExtFloodFill. We need to fix our region and clip support so ReactOS drawing functions do not over write other displayed windows. Open AbiWord than type something and select another desktop, this is just one of them....
- Tested with Qemu and real hardware. 

svn path=/trunk/; revision=37372
2008-11-15 13:37:26 +00:00
Stefan Ginsberg
4760f7b940 - Fix another duplicate
svn path=/trunk/; revision=37369
2008-11-14 23:27:10 +00:00
Stefan Ginsberg
aa78c4f6f3 - Remove more duplicate definitions
- Make definitions compatible when they are present in multiple headers

svn path=/trunk/; revision=37368
2008-11-14 23:23:30 +00:00
Stefan Ginsberg
099e8b7530 - Remove duplicate definition
svn path=/trunk/; revision=37367
2008-11-14 23:05:40 +00:00
Johannes Anderwald
6ac60539ec - Improve function stubs
- bug 3829

svn path=/trunk/; revision=37366
2008-11-14 21:03:48 +00:00
Johannes Anderwald
6fe2ea4133 - Make trash properties settings be unvolatile ;)
See issue #3786 for more details.

svn path=/trunk/; revision=37365
2008-11-14 20:58:27 +00:00
Johannes Anderwald
bcddcfdd02 - Display Provider and Version in driver details dialog
svn path=/trunk/; revision=37364
2008-11-14 19:57:22 +00:00
Johannes Anderwald
0c5b1ec2bc - Create IDataObject from the selected pidl
- Check if drop target is the desktop
- fixes bug 3763

svn path=/trunk/; revision=37363
2008-11-14 19:48:46 +00:00
Stefan Ginsberg
782931f369 - Optimize DebugService -- patch from Alex
svn path=/trunk/; revision=37362
2008-11-14 19:14:00 +00:00
Johannes Anderwald
aaeebbb670 - Pass the parent to PropertySheetW
See issue #3597 for more details.

svn path=/trunk/; revision=37361
2008-11-14 19:08:29 +00:00
Johannes Anderwald
1331dc5c45 - Implement IShellExecuteHookW
- Free NETCON_PROPERTIES on cleanup
- Show status dialog when clicking on startmenu->settings->network connections item
- Fixes bug 3782

See issue #3782 for more details.

svn path=/trunk/; revision=37360
2008-11-14 18:47:00 +00:00
Stefan Ginsberg
6a4fcf71eb - PAGE_SIZE fix 2.0
svn path=/trunk/; revision=37359
2008-11-14 15:24:08 +00:00
Stefan Ginsberg
2fcfb97eec - Don't define PAGE_SIZE in typedefs.h as -- "this value is target specific, host tools MUST not use it and this line has to be removed". Instead, define it locally for cmlib.
- Also correct TRUE definition in this header

svn path=/trunk/; revision=37358
2008-11-14 14:49:11 +00:00
Aleksey Bragin
f9c8a7f47e 2008-10-18 Reece Dunn include: Fixed the tom constant values.
svn path=/trunk/; revision=37357
2008-11-14 10:13:08 +00:00
Aleksey Bragin
8efe45f028 - Time to say goodbye to dosfsck port, it's been fully integrated into vfatlib, and the need in a standalone version disappeared.
svn path=/trunk/; revision=37356
2008-11-14 09:35:59 +00:00
Aleksey Bragin
a2d0db9460 Juan Sánchez Jurado <juan.s.jurado@gmail.com>
- UDF recognizer fixed so it doesn't perform partial sector reads. When trying to detect filesystem for a floppy without 0xaa55 signature UDF recognizer is called and it performed wrong partial sectors read because of a confusion between sectors and offset in bytes.
See issue #2287 for more details.

svn path=/trunk/; revision=37355
2008-11-14 09:23:09 +00:00
Stefan Ginsberg
49050f13b3 - Remove duplicate define
svn path=/trunk/; revision=37347
2008-11-13 23:59:37 +00:00
James Tabor
02456c2f68 - Start the implementation and support for dc attribute dirty bits. See bug 3863.
svn path=/trunk/; revision=37346
2008-11-13 23:12:42 +00:00
James Tabor
122723ef7d - Add path support for ExtTextOut.
svn path=/trunk/; revision=37345
2008-11-13 22:38:16 +00:00
Magnus Olsen
4eded7dbcd Bugfix : Do not link to LPDDRAWI_DIRECTDRAW_INT->lpLink when we do not have any LPDDRAWI_DIRECTDRAW_INT->lpLcl
svn path=/branches/reactx/; revision=37343
2008-11-13 19:52:20 +00:00
Stefan Ginsberg
3ab3cebe76 - stub out NdisReEnumerateProtocolBindings
svn path=/trunk/; revision=37339
2008-11-13 16:06:43 +00:00
James Tabor
6e3804aeb2 - Set the right flags for Background and Text color.
svn path=/trunk/; revision=37338
2008-11-13 15:01:01 +00:00
Magnus Olsen
e874cfdf4b Adding a old test for ddraw, that have lying around for awhile now, small rewrite have been done so it can be compile with reactos
svn path=/branches/reactx/; revision=37337
2008-11-13 09:43:46 +00:00
Daniel Reimer
f4bb615543 Update 3rd party txt file
svn path=/trunk/; revision=37335
2008-11-13 08:26:51 +00:00
Cameron Gutman
19656e1fd2 - Merge aicom-network-fixes up to r37326
svn path=/trunk/; revision=37328
2008-11-13 01:07:17 +00:00
KJK::Hyperion
84ecb53001 modified include/reactos/libs/pseh/pseh2.h
Typo.

svn path=/trunk/; revision=37327
2008-11-13 00:16:47 +00:00
KJK::Hyperion
e9ac5bacb8 modified include/reactos/libs/pseh/pseh2.h
Kill the last few remaining "'x' may be used uninitialized in this function" warnings. I'd love to know the opinion of GCC developers on what does this hack do to their compiler and why

svn path=/trunk/; revision=37319
2008-11-12 21:15:45 +00:00
KJK::Hyperion
e7584f9a3e modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Implemented _SEH2_YIELD and _SEH2_LEAVE - 2.0 equivalents of _SEH_YIELD and _SEH_LEAVE, naturally

svn path=/trunk/; revision=37318
2008-11-12 20:39:18 +00:00
Matthias Kupfer
27341b700f - add and enable partition creation and file system selection dialog
svn path=/trunk/; revision=37316
2008-11-12 20:00:09 +00:00
KJK::Hyperion
bcf160f2b8 added include/reactos/libs/pseh/pseh2.h
added      lib/pseh/framebased-gcchack.c
added      lib/pseh/i386/framebased-gcchack.S
modified   lib/pseh/pseh.rbuild
   Introducing PSEH 2.0. It only wants to be loved. Highlights of this version:
    - PSEH 2.0 syntax is 99% compatible with native SEH syntax
    - PSEH 2.0 binary code a vast improvement over 1.1 - no more setjmp, no bogus loops, no weird optimizer behavior

   PSEH 2.0 is a horrible, GCC-only, x86-only hack. It makes several non-portable assumptions and hey, did you know __builtin_frame_address(0) is *not* the same thing as EBP? Overall, it must be a world record for compiler abuse
   PSEH 2.0 is, sadly, not binary-compatible with PSEH 1.1, although I will almost certainly unify the implementation at a later time
   PSEH 2.0 needs testers. And love.
   Not implemented yet: returning from a SEH block (i.e. _SEH2_YIELD())

Example of 2.0 syntax (yes, _SEH2_END is unavoidable):

_SEH2_TRY
{
	_SEH2_TRY
	{
		/* ... */
	}
	_SEH2_EXCEPT((/* ... */))
	{
		/* ... */
	}
	_SEH2_END;
}
_SEH2_FINALLY
{
	/* ... */
}
_SEH2_END;

-- 
Happy early birthday, Aleksey.

svn path=/trunk/; revision=37315
2008-11-12 19:52:16 +00:00
Eric Kohl
b2736a8abb Sync to wine-0.9.61: Oooops, forgot to add these files!!
- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Check that fields in structures and unions referenced by non-local functions can be marshalled and that their attributes are consistent.


-Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: The implicit_handle attribute is allowed with a handle explicitly specified in the function parameters. In that case, that handle is used instead of the implicit handle. Fix the check for the explicit_handle attribute being specified without a handle being specified in the function parameters, even though issuing an error is wrong. (Thanks to Marcus Meissner & Coverity for spotting that the check didn't do what it was supposed to do.)

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Automatically add "handle_t IDL_handle" parameter to functions with no explicit handle specified whose containing interface has the explicit_handle attribute.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Issue an error instead of crashing for dividing by zero in a constant expression.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Add support for "->" and "." operators in expressions.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Add support for arrays in expressions.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Add support for '%' operator in expressions.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Fix operator precedence in expressions.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Require a constant expression for case statements.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Add support for comparison, exclusive or, logical not and positive operators in expressions.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Remove EXPR_MEMBERPTR and implement it using EXPR_PPTR and EXPR_MEMBER instead.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Don't free input_name in pop_import as we keep pointers to it in the var_t type now.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Pass the actual type into check_remoting_fields and check_field_common instead of the type name.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Check that expressions resolve so that expressions in generated code will compile. Also check that expressions return the correct type for the attribute.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Move expression functions to a new file, expr.c.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Use expr_resolve_type to get the type of the identifier in write_conf_or_var_desc. Remove the conversion of pointer types into base types as this was only needed due to lack of proper type resolving.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Remove duplicated code in the form of the write_struct_expr function by enhancing write_expr to allow toplevel identifiers to be prefixed by a string, if specified.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Implement lcid property on library declarations.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Construct the pointer chain while parsing pointers, rather than storing a ptr_level. This method is more flexible and somewhat simpler.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Allow NULL to be used in expressions.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Create a list of statements in the whole IDL file, instead of just a list of interfaces.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Add typedef statements to the statement lists.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Consolidate most of the inner loop of reg_typedefs into set_type.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Rename pident to declarator and parse the array declarations as part of declarators. This allows arrays to be used in typedefs and const statements.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Make the rules for parsing fields in structures, encapsulated unions and non-encapsulated unions more strict. Move the rules in fields that handle empty union cases into separate union rules so that they can't erroneously be accepted for structures or other types of unions.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Add support for declaring multiple fields of a structure in one statement.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Add support for string literals and wide-string literals in expressions.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Create a statement object for import statements. Move the writing of include directives into the generated header into header.c.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Move the func_declarator rule entirely into direct_declarator.

- Rob Shearman <rob@codeweavers.com> Sat, 26 Apr 2008
widl: Add typedefs to typelibs which have the public or uuid attributes, not any other attribute.

- Rob Shearman <rob@codeweavers.com> Sat, 26 Apr 2008
widl: Support hex digits that use an uppercase 0X prefix.

- Rob Shearman <rob@codeweavers.com> Sun, 27 Apr 2008
widl: Accept integer constant suffixes in the lexer.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Keep const attributes applied to pointers when writing out the type. Use an attribute to store the const qualifier for the pointer and type. Allow multiple type-qualifiers to be applied to a type by adding a declaration-specifier rule that encompasses type-qualifiers and types.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Add support for "inline" on function definitions. Fix applying calling convention to function type.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Make constdef and externdef take a declarator instead of an ident so that functions and arrays can be defined using the statements.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Allow pointer attributes to be applied to function pointers.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: callback, code, comm_status and in_line are attribute names, not keywords.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Apr 2008
widl: Prepare for supporting storage classes in declaration statements. Return a decl_spec_t structure from decl_spec rules so that the storage
class and type qualifiers can both be returned.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Apr 2008
widl: Add the parsing of storage classes into declaration-specifiers. Support the static and register keywords. This consolidates externdef and constdef rules into one declaration rule.

- Rob Shearman <rob@codeweavers.com> Thu, 1 May 2008
widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code. Split up the writing into start and end to eventually support the style MIDL uses where it writes declared types, etc. between the start and end of the interface. Make internal header functions take the file pointer to print to. Don't write interface IDs for non-object interfaces and always write handle declarations even if the interface has no methods, like MIDL does.

- Gerald Pfeifer <gerald@pfeifer.com> Fri, 2 May 2008
widl: Fix syntax to also work with older versions of bison.

svn path=/trunk/; revision=37314
2008-11-12 19:30:10 +00:00
Eric Kohl
a591ac9fa5 Sync to wine-0.9.61:
- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Check that fields in structures and unions referenced by non-local functions can be marshalled and that their attributes are consistent.


-Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: The implicit_handle attribute is allowed with a handle explicitly specified in the function parameters. In that case, that handle is used instead of the implicit handle. Fix the check for the explicit_handle attribute being specified without a handle being specified in the function parameters, even though issuing an error is wrong. (Thanks to Marcus Meissner & Coverity for spotting that the check didn't do what it was supposed to do.)

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Automatically add "handle_t IDL_handle" parameter to functions with no explicit handle specified whose containing interface has the explicit_handle attribute.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Issue an error instead of crashing for dividing by zero in a constant expression.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Add support for "->" and "." operators in expressions.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Add support for arrays in expressions.

- Rob Shearman <rob@codeweavers.com> Sun, 20 Apr 2008
widl: Add support for '%' operator in expressions.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Fix operator precedence in expressions.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Require a constant expression for case statements.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Add support for comparison, exclusive or, logical not and positive operators in expressions.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Remove EXPR_MEMBERPTR and implement it using EXPR_PPTR and EXPR_MEMBER instead.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Don't free input_name in pop_import as we keep pointers to it in the var_t type now.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Pass the actual type into check_remoting_fields and check_field_common instead of the type name.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Check that expressions resolve so that expressions in generated code will compile. Also check that expressions return the correct type for the attribute.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Move expression functions to a new file, expr.c.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Use expr_resolve_type to get the type of the identifier in write_conf_or_var_desc. Remove the conversion of pointer types into base types as this was only needed due to lack of proper type resolving.

- Rob Shearman <rob@codeweavers.com> Tue, 22 Apr 2008
widl: Remove duplicated code in the form of the write_struct_expr function by enhancing write_expr to allow toplevel identifiers to be prefixed by a string, if specified.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Implement lcid property on library declarations.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Construct the pointer chain while parsing pointers, rather than storing a ptr_level. This method is more flexible and somewhat simpler.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Allow NULL to be used in expressions.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Create a list of statements in the whole IDL file, instead of just a list of interfaces.

- Rob Shearman <rob@codeweavers.com> Thu, 24 Apr 2008
widl: Add typedef statements to the statement lists.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Consolidate most of the inner loop of reg_typedefs into set_type.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Rename pident to declarator and parse the array declarations as part of declarators. This allows arrays to be used in typedefs and const statements.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Make the rules for parsing fields in structures, encapsulated unions and non-encapsulated unions more strict. Move the rules in fields that handle empty union cases into separate union rules so that they can't erroneously be accepted for structures or other types of unions.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Add support for declaring multiple fields of a structure in one statement.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Add support for string literals and wide-string literals in expressions.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Create a statement object for import statements. Move the writing of include directives into the generated header into header.c.

- Rob Shearman <rob@codeweavers.com> Fri, 25 Apr 2008
widl: Move the func_declarator rule entirely into direct_declarator.

- Rob Shearman <rob@codeweavers.com> Sat, 26 Apr 2008
widl: Add typedefs to typelibs which have the public or uuid attributes, not any other attribute.

- Rob Shearman <rob@codeweavers.com> Sat, 26 Apr 2008
widl: Support hex digits that use an uppercase 0X prefix.

- Rob Shearman <rob@codeweavers.com> Sun, 27 Apr 2008
widl: Accept integer constant suffixes in the lexer.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Keep const attributes applied to pointers when writing out the type. Use an attribute to store the const qualifier for the pointer and type. Allow multiple type-qualifiers to be applied to a type by adding a declaration-specifier rule that encompasses type-qualifiers and types.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Add support for "inline" on function definitions. Fix applying calling convention to function type.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Make constdef and externdef take a declarator instead of an ident so that functions and arrays can be defined using the statements.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: Allow pointer attributes to be applied to function pointers.

- Rob Shearman <rob@codeweavers.com> Tue, 29 Apr 2008
widl: callback, code, comm_status and in_line are attribute names, not keywords.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Apr 2008
widl: Prepare for supporting storage classes in declaration statements. Return a decl_spec_t structure from decl_spec rules so that the storage
class and type qualifiers can both be returned.

- Rob Shearman <rob@codeweavers.com> Wed, 30 Apr 2008
widl: Add the parsing of storage classes into declaration-specifiers. Support the static and register keywords. This consolidates externdef and constdef rules into one declaration rule.

- Rob Shearman <rob@codeweavers.com> Thu, 1 May 2008
widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code. Split up the writing into start and end to eventually support the style MIDL uses where it writes declared types, etc. between the start and end of the interface. Make internal header functions take the file pointer to print to. Don't write interface IDs for non-object interfaces and always write handle declarations even if the interface has no methods, like MIDL does.

- Gerald Pfeifer <gerald@pfeifer.com> Fri, 2 May 2008
widl: Fix syntax to also work with older versions of bison.

svn path=/trunk/; revision=37313
2008-11-12 19:26:25 +00:00
Magnus Olsen
f021eb65d6 port a really old test I have for ddraw.dll, this test testing see if the internal value are right when u create the com interface
svn path=/branches/reactx/; revision=37312
2008-11-12 18:48:24 +00:00
Magnus Olsen
d6127fcce3 Fix a bug for vista dx. I did have time exam vista for a while now. And it contain the file dxg.sys and it start dx driver almost same way as XP does. and it seam the interface are same.
svn path=/branches/reactx/; revision=37311
2008-11-12 17:53:54 +00:00
Dmitry Chapyshev
f4ea27302a - Update Russian translation
svn path=/trunk/; revision=37310
2008-11-12 17:02:37 +00:00
Matthias Kupfer
121e7e4d60 - basic install drive listing code (due to lack of reactos functionality not working yet)
- add and enable advanced settings dialog
- get install directory from txtsetup.sif
- set changed install directory
- fix dialog resource for several languages

svn path=/trunk/; revision=37309
2008-11-12 16:08:28 +00:00
Johannes Anderwald
3414ea909e - Fix length check
- CID 556/R2

svn path=/trunk/; revision=37304
2008-11-12 14:23:36 +00:00
Dmitry Chapyshev
346f2efabf - Sync uxtheme with wine head
svn path=/trunk/; revision=37303
2008-11-12 13:02:29 +00:00
James Tabor
d5ec19ab4e - Works with qemu, but, not with real hardware.
svn path=/trunk/; revision=37298
2008-11-11 23:11:39 +00:00
James Tabor
1d032f9b88 - Pass thread pointers during callback.
svn path=/trunk/; revision=37297
2008-11-11 22:35:19 +00:00
Johannes Anderwald
877246b90c - Fix directory parameter for files lying in the root of a drive (C: -> C:\)
svn path=/trunk/; revision=37296
2008-11-11 22:24:14 +00:00
Johannes Anderwald
977ba0d1f6 - Fix execution in ShellExecute for files which have multiple dots
svn path=/trunk/; revision=37295
2008-11-11 22:19:39 +00:00
Johannes Anderwald
ec4c2d1df2 - Pass the full path of msiexec executable
svn path=/trunk/; revision=37292
2008-11-11 21:26:44 +00:00
Magnus Olsen
634bbe4768 Fix smaller bug in ddraw, This allow our ddraw.dll works with our demo apps in rosapps, The DDRAWILCL_SETCOOPCALLED was wrong checked if it was set or not in Internal_CreateSurface
svn path=/branches/reactx/; revision=37290
2008-11-11 17:37:58 +00:00
Johannes Anderwald
ff625d5d2e - Fix column header order
- bug 3868

svn path=/trunk/; revision=37289
2008-11-11 15:31:08 +00:00
Stefan Ginsberg
ca981b69ba - Clear the flag before bugchecking
svn path=/trunk/; revision=37287
2008-11-11 13:23:14 +00:00
Matthias Kupfer
8fcff37f35 - set selected setup type (install/repair) when selecting next property sheet
- get device data (computer, display, keyboard) from txtsetup.sif
- set selected devices when selecting next property sheet
- fix Englisch and German device property sheet

svn path=/trunk/; revision=37286
2008-11-11 10:26:02 +00:00
Daniel Reimer
758f26286e Bug 3839: Italian resources update by Paolo Devoti
Bug 3851: Korean translation of Solitaire by Seungju Kim
Bug 3852: Ukrainian translation update by Artem Reznikov
Bug 3866: some updates for slovak and one fix typo by Mario Kacmar

svn path=/trunk/; revision=37285
2008-11-11 09:16:49 +00:00
Daniel Reimer
d756d7304e Bug 3852: Ukrainian translation update by Artem Reznikov
svn path=/trunk/; revision=37284
2008-11-11 09:05:49 +00:00
Matthias Kupfer
7732295e3c - get default language and keyboard layout selection from txtsetup.sif and preselect the entries
- set selected language and keyboard layout when selecting next property sheet

svn path=/trunk/; revision=37283
2008-11-10 19:46:58 +00:00
Gregor Schneider
886c6bd7d5 Implement ConvertSecurityDescriptorToStringSecurityDescriptorW based on Wine code.
svn path=/trunk/; revision=37281
2008-11-10 14:25:24 +00:00
Gregor Schneider
db0c66dcb0 Implement LookupPrivilegeNameW based on Wine code.
svn path=/trunk/; revision=37280
2008-11-10 14:23:57 +00:00
Aleksey Bragin
71e82c9ecb - Update readme.wine and delete an out-of-date reactos tree structure explanation.
svn path=/trunk/; revision=37277
2008-11-10 12:03:57 +00:00
Aleksey Bragin
15b8de80eb - Make rpcss an autostart service. Finally fixes "cmd windows spawning bug" (when rpcss.exe is infinitely spawned by wine's ole32 while (TRUE) loop).
svn path=/trunk/; revision=37276
2008-11-10 11:17:50 +00:00
Aleksey Bragin
25b9047647 - We use CcPin* interface for FAT tables and directory entries access - indicate so to CcInitializeCacheMap.
svn path=/trunk/; revision=37275
2008-11-10 10:22:33 +00:00
Michael Martin
f67c2cda8c - PRPC_UNICODE_STRING is the same as PUNICODE_STRING. Correct DPRINT1 for those types.
svn path=/trunk/; revision=37274
2008-11-10 10:21:00 +00:00
Michael Martin
021dbda887 - Remove WINE_DECLARE_DEBUG_CHANNEL.
- Call ElfrReportEventW with correct parameters.
- In Prep for implementing EventLog Api's.

svn path=/trunk/; revision=37273
2008-11-10 10:18:00 +00:00
Aleksey Bragin
28e480b966 - Revert 25073 (vfatfs part). CcCopyRead is guaranteed (see WDK) to succeed if Wait parameter is TRUE, and the only case of failure is when Wait is FALSE meaning there is a need in additional processing time, hence returning of STATUS_PENDING. This fixes the "unable to read system hive" problem when booting Windows 2003 with this driver.
See issue #1855 for more details.

svn path=/trunk/; revision=37272
2008-11-10 09:57:42 +00:00
Johannes Anderwald
65b34c3e18 - Show Drive Tools Page only local harddisks
svn path=/trunk/; revision=37271
2008-11-10 07:43:37 +00:00
KJK::Hyperion
8b822b8a26 Hopefully, the definitive spec files commit. Dedicated to Samuel Serapión, who reported issues with my previous commits.
modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Specifying .spec/.pspec files twice (<importlibrary> and <file>) didn't really make sense (stubs are unusable without the .def and viceversa), so they can now be only specified in <importlibrary>. I'd rather drop <importlibrary> completely and specify .def/.spec/.pspec as <file>s, but it's too hard so it'll have to wait. At least we got rid of one invocation of the preprocessor for .pspec files
   Simplified and improved rules to generate spec and stub files from .pspec
   Did you know we set the wrong DLL name in autogenerated .def files? Always pass the right name to winebuild with --filename, just to be sure
   Fully support compiling .pspec/.spec files from the intermediate directory
   Import libraries don't actually depend on stub/thunk files

modified   tools/rbuild/backend/mingw/modulehandler.h
   Removed some dead code

modified   tools/rbuild/backend/mingw/rule.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Allow <importlibrary dllname="..." ...> in all module types. Why? Why not?

modified   Makefile
   Added ECHO_CPP to echo invocations of the C preprocessor

Everything else: removed all <file> entries for .spec/.pspec files. It was just maintenance overhead

svn path=/trunk/; revision=37270
2008-11-10 02:31:24 +00:00
Gregor Schneider
f05d09c4b3 - Create the XLateObj between background and brush color
- Allows hatched brush colors to show
- Edit a FIXME: a bitmap is not a brush information

svn path=/trunk/; revision=37269
2008-11-09 22:02:46 +00:00
Gregor Schneider
8a50f7448d Fix BitBlt MERGEPAINT operation command.
svn path=/trunk/; revision=37268
2008-11-09 18:38:02 +00:00
Cameron Gutman
c5a57ba3d6 - Merge aicom-network-fixes up to r37266
svn path=/trunk/; revision=37267
2008-11-09 18:17:00 +00:00
Cameron Gutman
e570a2c8de - Don't complete unimplemented IOCTL_DISK_FORMAT_TRACKS/IOCTL_DISK_FORMAT_TRACKS_EX with STATUS_SUCCESS
- Floppy drivers don't need to support IOCTL_DISK_GET_PARTITION_INFO so complete the irp with STATUS_INVALID_DEVICE_REQUEST

svn path=/trunk/; revision=37265
2008-11-09 16:15:50 +00:00
Cameron Gutman
7ad74fb236 - Remove the work item from the work queue in ChewRemove
svn path=/trunk/; revision=37264
2008-11-09 15:55:55 +00:00
Cameron Gutman
3a2183900e - Revert part of r37261
svn path=/trunk/; revision=37262
2008-11-09 15:35:18 +00:00
Cameron Gutman
bc6140e5eb - Mark the irp pending before adding it to the queue
- Fix a few comments
 - Return a better status when a drive isn't present
 - Complete the read/write irp with IO_DISK_INCREMENT instead of IO_NO_INCREMENT

svn path=/trunk/; revision=37261
2008-11-09 15:21:59 +00:00
Eric Kohl
1fc7265fa2 Sync to wine-0.9.60:
- Rob Shearman <rob@codeweavers.com> Fri, 11 Apr 2008
widl: Support non-default calling conventions for object methods.

- Rob Shearman <rob@codeweavers.com> Fri, 11 Apr 2008
widl: Support non-default calling conventions for non-object functions.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Check that attributes applied to interfaces, functions and arguments are applicable and issue an error if not.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Check that attributes applied to typedefs and fields are applicable and issue an error otherwise.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Make the attrs parameter passed to start_typelib const.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: The odl attribute is valid for dispinterfaces.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Check that attributes are applicable for libraries,  modules, dispinterfaces and coclasses and otherwise issue an error.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Output a warning if duplicate attributes are specified.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Add support for the broadcast and idempotent operation attributes.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Write out TYPEFLAG, FUNCFLAG and VARFLAG flags for all attribute we currently parse.
Add FIXMEs for the remaining ones and remove the warning for unimplemented attribute types since we now support all the attributes that we parse.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Add functions to print an error or warning message using location information to enable these to be printed accurately when a check is done after an element is parsed.
Add location information to variable automatically, since this is will be useful for type checking of arguments.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Add checking to arguments of non-local functions.
Check that out arguments have enough levels of indirection and that they don't derive from void * or a function pointer.

- Rob Shearman <rob@codeweavers.com> Tue, 15 Apr 2008
widl: Change alls calls to error in the parser to error_loc so that line number information is printed.

svn path=/trunk/; revision=37260
2008-11-09 14:21:53 +00:00
Gregor Schneider
5387d5fcac - Don't hard code pixel size to 16bpp.
- Fixes crashes in 8bpp and halved bitmaps in 32bpp.
- This SRCCOPY code is not in use atm and will probably stay this way because it's slower then the version in win32k/dib.

svn path=/trunk/; revision=37259
2008-11-09 14:00:31 +00:00
Sylvain Petreolle
6276513100 fix UNICODE redefined warning
svn path=/trunk/; revision=37258
2008-11-09 13:56:31 +00:00
Magnus Olsen
fe96f60306 Old code lying around.
Adding more test to NtGdiCreateBitmap

svn path=/branches/reactx/; revision=37257
2008-11-09 13:26:15 +00:00
Aleksey Bragin
abb8c42552 Juan Sánchez Jurado <juan.s.jurado@gmail.com>
- Fixed HAL DMA problem that caused floppy driver not to work (the point was that function had to copy the read sector back to the MDL buffer and it was not doing that because of the problem with braces, broken in rev is 24464).
See issue #2287 for more details.

svn path=/trunk/; revision=37254
2008-11-09 08:23:16 +00:00
Dmitry Chapyshev
34b8a16cc7 - Sync inetcomm with Wine Head
- Sync imnxport.idl and mimeole.idl

svn path=/trunk/; revision=37250
2008-11-08 07:14:34 +00:00
Michael Martin
4d542fdfab - RSetServiceStatus: Don't return ERROR_INVALID_DATA when dwControlsAccepted = 0. Services can and will do this, for example when dwCurrentState is SERVICE_START_PENDING. See bug #3817 for more info.
svn path=/trunk/; revision=37246
2008-11-07 19:10:39 +00:00
Aleksey Bragin
2536c374eb - Fix build.
svn path=/trunk/; revision=37245
2008-11-07 18:20:18 +00:00
Aleksey Bragin
31ada60dd5 - Add missing definitions to headers.
- Do not use "with tag" when freeing the system buffer, because drivers are allowed to re-allocate their own buffer, which may have a different tag.

svn path=/trunk/; revision=37244
2008-11-07 17:40:44 +00:00
Michael Martin
de0a39ef52 - Check for GetServiceConfig returning NULL, which occurs if entries for the service are not in registry.
svn path=/trunk/; revision=37243
2008-11-07 13:39:11 +00:00
Ged Murphy
6a787e6143 fix return logic typo
svn path=/trunk/; revision=37242
2008-11-07 12:58:33 +00:00
Ged Murphy
ad7c2a347a Convert rpcss back to a service
svn path=/trunk/; revision=37241
2008-11-07 12:49:51 +00:00
Aleksey Bragin
7572fe233a - Sync ole32 to Wine-20081105 (matching rpcrt4 sync). Tested with two versions of FoxIt for bug #2361, it doesn't happen. Also tested with MS Office 2003 installation (which goes up to "Writing system registry values").
- Remove epm server building from rpcrt4, it belongs to rpcss.

svn path=/trunk/; revision=37240
2008-11-07 11:00:30 +00:00
Aleksey Bragin
294d584fb0 - Import rpcss from Wine. It has a serious disadvantage: it's not a real service, but a simple exe app, which (in ReactOS) just infinitely waits after being started. In order to turn it into a real startable/stoppable service, ole32 needs to be modified to make it proper. Which is probably against Wine policy of "let's hack it together to make it work somehow and forget about it".
svn path=/trunk/; revision=37239
2008-11-07 10:52:49 +00:00
Aleksey Bragin
7dd446c187 - Sync rpcrt4_winetest too.
svn path=/trunk/; revision=37231
2008-11-06 20:12:22 +00:00
Stefan Ginsberg
87658f5321 - ASSERTify a hacky workaround -- this shouldn't happen anymore in ros
svn path=/trunk/; revision=37230
2008-11-06 19:21:46 +00:00
Aleksey Bragin
9d11125a93 - Update the _ros.diff. Usual changes are there (unfortunately incompatibilites in Wine still exist, RpcMgmtWaitForServerListen is still not implemented there, and their dependency on unix sockets is totally out of place). On the good side I could get rid of disabling unix-sockets stuff in source code by slightly improving unix_func.
svn path=/trunk/; revision=37229
2008-11-06 19:10:03 +00:00
Stefan Ginsberg
def2221abb - Comment out unused, static PaintUnderLappers
svn path=/trunk/; revision=37228
2008-11-06 18:38:21 +00:00
Stefan Ginsberg
0952af92ec - Make Kdbg "bugcheck" command work -- Kdbg isn't re-entrant, so defer the bugcheck and exit the input loop
svn path=/trunk/; revision=37227
2008-11-06 18:33:56 +00:00
Stefan Ginsberg
06566a1756 - KdbpCmdBugCheck: Use correct bugcheck code
svn path=/trunk/; revision=37226
2008-11-06 18:03:57 +00:00
Aleksey Bragin
f08921caf1 - Sync rpcrt4.dll to Wine-20081106. ros.diff and regtests aren't updated yet.
svn path=/trunk/; revision=37225
2008-11-06 17:35:54 +00:00
Aleksey Bragin
ab7c1ded60 - Add endpoint mapping and DCE types IDL from Wine.
svn path=/trunk/; revision=37224
2008-11-06 12:23:44 +00:00
James Tabor
c15d69d936 - Fix WidenPath. Now Area.exe runs and crashes when using real hardware. That is a good thing. We now know our Xorg based region code has problems. It allocates all the memory building PolyPolygon region data.
svn path=/trunk/; revision=37223
2008-11-06 11:55:08 +00:00
James Tabor
7438df3dcd - Fix Path drawing.
svn path=/trunk/; revision=37222
2008-11-06 11:48:51 +00:00
James Tabor
24b6d30dcb - Make sure we process path for Rectangles and Polygons.
svn path=/trunk/; revision=37221
2008-11-06 02:36:10 +00:00
KJK::Hyperion
7eff87cf56 Merging r37219
svn path=/trunk/; revision=37220
2008-11-06 00:24:40 +00:00
Johannes Anderwald
18640a8731 - Ancient member which is no longer used
svn path=/trunk/; revision=37216
2008-11-05 19:21:22 +00:00
Andrew Munger
93b068850c Fix a fencepost bug.
Correct a glaring typo.
Make code less ugly.

svn path=/trunk/; revision=37215
2008-11-05 19:19:56 +00:00
Stefan Ginsberg
7e33ef3d9e - Remove unnecessary typedef
svn path=/trunk/; revision=37214
2008-11-05 19:06:02 +00:00
Stefan Ginsberg
d1cadc84e9 - Fix an array overflow
svn path=/trunk/; revision=37213
2008-11-05 18:00:24 +00:00
Aleksey Bragin
b21beacd60 - Fix behavior of KeRundownQueue (save the next link before freeing it and use proper locking and enumeration code).
- This fixes behavior of I/O completion ports (thanks to Stefan and Alex for testing, reporting and fixing).

svn path=/trunk/; revision=37212
2008-11-05 17:03:04 +00:00
Aleksey Bragin
04b0bb8994 - Sync WRC to Wine-20081105 (a few nice bugfixes).
svn path=/trunk/; revision=37211
2008-11-05 16:16:19 +00:00
Aleksey Bragin
e1f82ec004 - Update NLS files from Wine (without adding new ones though).
svn path=/trunk/; revision=37210
2008-11-05 16:10:32 +00:00
Daniel Reimer
559030c1fd Accidently commited a hack together with r37190. This will be reverted.
svn path=/trunk/; revision=37208
2008-11-05 15:32:27 +00:00
Aleksey Bragin
8a89143b07 - Update wmc to Wine-20081105 (mostly typo fixes).
svn path=/trunk/; revision=37207
2008-11-05 15:31:34 +00:00
Aleksey Bragin
4bdaa4f74c - Fix build.
svn path=/trunk/; revision=37206
2008-11-05 15:25:19 +00:00
Aleksey Bragin
bef44e136e - Update winebuild to Wine-20081105. All ReactOS-specific stuff kept intact.
svn path=/trunk/; revision=37205
2008-11-05 15:14:58 +00:00
Aleksey Bragin
c3be025536 - Update wpp to Wine-20081105.
svn path=/trunk/; revision=37204
2008-11-05 14:47:55 +00:00
Aleksey Bragin
ca08af6ba3 - Update unicode lib to Wine-20081105 (~1.1.7 release).
svn path=/trunk/; revision=37203
2008-11-05 14:35:45 +00:00
James Tabor
0f59670d6e - Update Font types. Finish GetKerningPairs. Minor code cleanup.
svn path=/trunk/; revision=37201
2008-11-05 13:02:15 +00:00
Aleksey Bragin
bf15620dbe - Remove a duplicate of _i64toa, ReactOS has it for quite some time now in CRT lib.
svn path=/trunk/; revision=37199
2008-11-05 09:42:42 +00:00
Aleksey Bragin
da4a4656ca - Fix ncftp build.
svn path=/trunk/; revision=37198
2008-11-05 09:32:32 +00:00
KJK::Hyperion
d4e2952aa7 modified lib/sdk/crt/conio/cprintf.c
Call va_start before, and va_end after, each call to _vsnprintf

modified   ntoskrnl/ntoskrnl.pspec
   We pass all include directories and defines to the pspec preprocessor, so we can omit paths in pspec includes

svn path=/trunk/; revision=37196
2008-11-05 01:14:54 +00:00
James Tabor
f08fcecb82 - Add and update Gdi entry flags.
svn path=/trunk/; revision=37195
2008-11-05 00:38:52 +00:00
James Tabor
f46193a7d2 Patch by Daniel Zimmerman : Fix a lot of missing ExFreePoolWithTag. See bug 3848.
svn path=/trunk/; revision=37194
2008-11-04 23:49:07 +00:00
James Tabor
be012b6c41 - Patch by hto: Fix bugs in Gdi32.dll and User32.dll, see bug 3847.
svn path=/trunk/; revision=37193
2008-11-04 23:32:11 +00:00
Sylvain Petreolle
7fddc37e2e remove unusable vb3 and vb4 runtimes from Downloader,
since their installers aren't in PE format.

svn path=/trunk/; revision=37192
2008-11-04 22:33:09 +00:00
Aleksey Bragin
cb1ef2c505 - Use ExInitializeSystemLookasideList instead of ExInitializeNPagedLookasideList for the internal I/O lookaside lists (just as it was done for the Ob lists a couple of months ago).
- Optimize lookaside allocation by using one large contiguous buffer instead of fragmented buffers for each CPU.
- Use NT structure names instead of ReactOS-only structures.
- Fixes some memory corruption issues when doing I/O completion (found by Stefan and winetests).

svn path=/trunk/; revision=37191
2008-11-04 21:55:55 +00:00
Daniel Reimer
0bd254167c Bug 3830: Spanish netshell update and more by Javier Remacha
Bug 3833: Ukrainian translation update by Artem Reznikov
Bug 3834: another fix for slovak translationby Mario Kacmar

svn path=/trunk/; revision=37190
2008-11-04 21:28:06 +00:00
Daniel Reimer
f033a2955d Bug 3830: Spanish netshell update and more by Javier Remacha
Bug 3833: Ukrainian translation update by Artem Reznikov
Bug 3834: another fix for slovak translationby Mario Kacmar

svn path=/trunk/; revision=37189
2008-11-04 21:27:56 +00:00
KJK::Hyperion
00ed4c1394 KJK::Hyperion is proud to present "dllimport purity", another landmark commit that you should really build only after a "clean"
Disclaimer: in an uncharacteristic and daring move, I actually built, installed and booted this revision

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/project.dtd
modified   tools/rbuild/rbuild.h
modified   include/crt/_mingw.h
   New module attribute iscrt for marking modules that implement a C runtime library
   New module attribute crt for compiling and linking modules to a specific C runtime library. Can be "ntdll" (for ntdll.dll) "msvcrt" (msvcrt.dll), "crt" (statically-linked runtime), "libcntpr" (libcntpr.lib), "dll" (one of the <library> entries specifies a CRT DLL) or "static". Defaults to "msvcrt" for Win32 modules, to "static" for CRT modules themselves, and to "dll" for drivers
   Define _DLL for code that compiles against a dynamically-linked CRT
   Define __MINGW_IMPORT and _CRTIMP according to whether _DLL is defined. We finally use __declspec(dllimport) somewhere, anywhere (SDK headers still don't use it)
   Bonus fix: actually use compiler-specific command line flags when compiling files

modified   lib/3rdparty/adns/adns.rbuild
modified   lib/3rdparty/libxml2/libxml2.rbuild
modified   lib/3rdparty/mingw/mingw.rbuild
   And for the downside: static libraries that will be linked to a module that links to the CRT dynamically have to be compiled for a dynamically-linked CRT, as well. Say it out aloud.

modified   base/applications/wordpad/wordpad.rbuild
modified   base/setup/usetup/usetup.rbuild
modified   dll/3rdparty/dxtn/dxtn.rbuild
modified   dll/3rdparty/freetype/freetype.rbuild
modified   dll/3rdparty/mesa32/mesa32.rbuild
modified   dll/cpl/desk/desk.rbuild
modified   dll/cpl/input/input.rbuild
modified   dll/cpl/intl/intl.rbuild
modified   dll/cpl/joy/joy.rbuild
modified   dll/cpl/main/main.rbuild
modified   dll/cpl/mmsys/mmsys.rbuild
modified   dll/cpl/odbccp32/odbccp32.rbuild
modified   dll/cpl/powercfg/powercfg.rbuild
modified   dll/cpl/sysdm/sysdm.rbuild
modified   dll/cpl/telephon/telephon.rbuild
modified   dll/cpl/timedate/timedate.rbuild
modified   dll/cpl/usrmgr/usrmgr.rbuild
modified   dll/directx/ddraw/ddraw.rbuild
modified   dll/directx/dsound/dsound.rbuild
modified   dll/directx/wine/wined3d/wined3d.rbuild
modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   dll/shellext/deskadp/deskadp.rbuild
modified   dll/shellext/deskmon/deskmon.rbuild
modified   dll/shellext/fontext/fontext.rbuild
modified   dll/win32/dhcpcsvc/dhcpcsvc.rbuild
modified   dll/win32/dnsapi/dnsapi.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/icmp/icmp.rbuild
modified   dll/win32/winmm/midimap/midimap.rbuild
modified   drivers/video/displays/framebuf/framebuf.rbuild
modified   drivers/video/displays/framebufacc/framebufacc.rbuild
modified   drivers/video/displays/vga/vgaddi.rbuild
modified   subsystems/win32/csrss/csrss.rbuild
modified   subsystems/win32/csrss/win32csr/win32csr.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
   Don't specify msvcrt explicitely as a <library> if it's going to be linked implicitely as the CRT
   <library>libcntpr</library> -> crt="libcntpr"
   Remove miscellaneous unused <library> entries

modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/msvcrt20/msvcrt20.rbuild
modified   dll/win32/msvcrt40/msvcrt40.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
   Mark CRT DLLs as CRT modules

modified   dll/win32/user32/windows/font.c
modified   include/reactos/wine/unicode.h
   Don't redefine or redeclare CRT functions

modified   dll/win32/ws2_32/include/ws2_32.h
   Arch, you idiot, it's defined in <stdlib.h>

modified   include/crt/ctype.h
modified   include/crt/wctype.h
   Don't import ctype routines that were already defined as inlines

modified   include/crt/stdio.h
modified   include/reactos/wine/config.h
   Avoid linking to libmingwex.a if possible

modified   base/applications/taskmgr/taskmgr.rbuild
modified   tools/nci/nci.mak
modified   tools/nci/ncitool.c
modified   dll/ntdll/ntdll.rbuild
   Mark ntdll module as a CRT
   New "ntsys" module to import just Nt/Zw from ntdll.dll. Avoids accidentally linking to ntdll.dll's CRT when importing system calls

modified   include/psdk/winternl.h
   Nope, it doesn't.

modified   base/applications/network/net/help.c
modified   base/applications/network/net/main.c
   Replace printf with puts, or GCC will do it on its own and link to the dllimport thunk for puts

modified   base/applications/network/ping/ping.c
   Removed broken, unnecessary workaround

modified   base/shell/cmd/cmd.rbuild
   Simplify cmd module

This commit dediHAPPY BIRTHDAY STEFAN GINSBERG <3 <3 <3

svn path=/trunk/; revision=37187
2008-11-04 18:16:58 +00:00
James Tabor
3940878911 - Fix RealizationInfo, it should use DC font not cFont if 0.
svn path=/trunk/; revision=37186
2008-11-04 13:05:47 +00:00
James Tabor
122fb58d8f - Fix code page and charector set support. More miscellaneous changes and fixes.
svn path=/trunk/; revision=37185
2008-11-04 12:49:49 +00:00
Dmitry Chapyshev
90115aa977 - Change params types for NtUserLockWindowUpdate
- Implement LockWindowUpdate in user32 (but not implemented in win32k)

svn path=/trunk/; revision=37184
2008-11-04 12:29:47 +00:00
Dmitry Chapyshev
b4d0bc40ac - Update Russian translation
svn path=/trunk/; revision=37182
2008-11-04 06:34:39 +00:00
James Tabor
84bb6344bf - Update and fix CodePage and CharSet.
svn path=/trunk/; revision=37180
2008-11-04 01:57:38 +00:00
Johannes Anderwald
6b9c6296db - Apply changes to Hide / Show Network Notification setting on exit
svn path=/trunk/; revision=37179
2008-11-03 22:13:24 +00:00
Johannes Anderwald
60cea54fbe - Check if IContextMenu_InvokeCommand succeeded
- Pass the identifiers of string as id to _InsertMenuItem function
- Should fix invoking control panel items

svn path=/trunk/; revision=37177
2008-11-03 21:44:34 +00:00
Colin Finck
1daef4a078 Carlo Bramini (carlo.bramix@libero.it)
- Fix the display of Line and Column in the Status Bar and add language resources for this

Patch was slightly modified by me to also react on WM_KEYDOWN messages, so that the line/column is already updated, when you're holding down the buttons. (like Windows' notepad does by the way)
We still have to keep WM_KEYUP though, otherwise this doesn't work properly when being used with Page Up/Page Down.

See issue #3702 for more details.

svn path=/trunk/; revision=37176
2008-11-03 21:23:57 +00:00
Johannes Anderwald
178ca611e8 - Dont display NCRP_QUERY_PROPERTY_UI when the notification object has already been created
svn path=/trunk/; revision=37173
2008-11-03 18:42:56 +00:00
Christoph von Wittich
2bf8a47670 ExFreePool -> ExFreePoolWithTag
Status != STATUS_SUCCESS -> !NT_SUCCESS(Status)

svn path=/trunk/; revision=37171
2008-11-03 16:22:44 +00:00
Christoph von Wittich
3d6eedfc0e some translations: GreatLordish -> English
svn path=/trunk/; revision=37170
2008-11-03 14:39:03 +00:00
Gregor Schneider
bbf8408292 - Several ExFreePool -> ExFreePoolWithTag changes (local allocations)
- Tested for ~2 weeks now, no BAD_POOL_CALLER's so far

svn path=/trunk/; revision=37169
2008-11-03 13:26:03 +00:00
Gregor Schneider
3e1f229f1c StretchBlt:
- Enable unsupported bit depth dprint (4bpp)
- Respect the destination offset instead of always starting the blt at 0,0 (8/16bpp)
- Adapt routine from 8/16/32bpp, tested to be approx 15-25% faster than the old one (24bpp)

svn path=/trunk/; revision=37168
2008-11-03 12:40:24 +00:00
Dmitry Chapyshev
bc1f150d78 - Move IsWow64Process to proc.c
- Implement FatalAppExitW (based on Wine)

svn path=/trunk/; revision=37167
2008-11-03 12:27:39 +00:00
Dmitry Chapyshev
b79ada3280 - Implement IsWow64Process (based on Wine)
svn path=/trunk/; revision=37165
2008-11-03 11:46:02 +00:00
Dmitry Chapyshev
4edc51bc5a - Implement GetCPInfoExA/W (not fully)
- Move CODEPAGE_ENTRY struct to header file
- Small fix HeapWalk

svn path=/trunk/; revision=37164
2008-11-03 11:27:17 +00:00
James Tabor
3e91f16362 - Cleanup UnrealizeObject and set dvNumAxes in CreateFontIndirect.
svn path=/trunk/; revision=37163
2008-11-03 08:39:08 +00:00
Dmitry Chapyshev
315219e37d - Implement HeapWalk (based on Wine)
svn path=/trunk/; revision=37162
2008-11-03 08:37:50 +00:00
James Tabor
c558a7b271 - Fix C in RealizeFontInit.
svn path=/trunk/; revision=37161
2008-11-03 07:04:04 +00:00
James Tabor
cc68aa2bcc - Remove locking in gdi batch.
svn path=/trunk/; revision=37160
2008-11-03 06:52:42 +00:00
James Tabor
53586450b4 - Add new function for locking text font objects when realized. This is for batching support.
- Batching works for selected fonts, due to a system initialization bug this is disabled.
- Miscellaneous changes and updates.


svn path=/trunk/; revision=37159
2008-11-03 05:38:02 +00:00
KJK::Hyperion
bed3b885b4 idndl_redist and normaliz_redist aren't ready for prime time yet
svn path=/trunk/; revision=37158
2008-11-02 22:03:31 +00:00
Jeffrey Morlan
e0d327a9ec ReadBatchLine: Add a \n to the line if it doesn't already have one
svn path=/trunk/; revision=37155
2008-11-02 21:56:34 +00:00
Aleksey Bragin
ae1019f232 - Remove WIN32_WINNT override.
svn path=/trunk/; revision=37154
2008-11-02 19:12:20 +00:00
Aleksey Bragin
eaf88dc90a - Remove WINVER definition.
- Fix no-EOL-at-EOF warnings.

svn path=/trunk/; revision=37152
2008-11-02 19:07:00 +00:00
Stefan Ginsberg
6eb05ceb03 - Stub out IoTranslateBusAddress, PoCancelDeviceNotify, PoRegisterDeviceNotify, PoRequestShutdownEvent, PoSetHiberRange and PoShutdownBugCheck
- Add missing KiCheckForSListAddress

svn path=/trunk/; revision=37151
2008-11-02 16:33:43 +00:00
Aleksey Bragin
83dc43c8d4 Dmitry Gorbachev
- Fix a bug in OEM to Unicode conversion code (wrong cast).
See issue #3837 for more details.

svn path=/trunk/; revision=37150
2008-11-02 15:15:37 +00:00
Stefan Ginsberg
d14b6b0318 - Sync 36654 to trunk
svn path=/trunk/; revision=37149
2008-11-02 14:08:49 +00:00
James Tabor
174ffe7d8c - Move functions out of freetype. Implemented FT: GetKerningPairs and RealizationInfo. Other misc changes.
svn path=/trunk/; revision=37148
2008-11-02 12:17:15 +00:00
Stefan Ginsberg
8e1c35ecc1 - Stub out Ke386IoSetAccessProcess, Ke386SetIoAccessMap and Ke386QueryIoAccessMap
- Reference: "The Simplest Device Drivers" http://www.freewebs.com/four-f/KmdTut/kmd03.html

svn path=/trunk/; revision=37147
2008-11-02 11:48:24 +00:00
James Tabor
e8c8ee7afe - Update FONTGDI and TEXTOBJ. Added support for FT WinFNT. Fixed FillTM so it can pass underline and strike out support.
svn path=/trunk/; revision=37146
2008-11-02 00:57:17 +00:00
KJK::Hyperion
75f046ab4e Arch Blackmann's rules for preprocessed spec files were quite broken (of course). Fixing them.
* Add the module name to the name of the intermediate .spec file generated by the preprocessor. Fixes race condition in parallel builds of HAL targets
 * Pass module defines and includes to the preprocessor. Fixes a future bug that would have caused Aleksey to commit suicide and ReactOS to be forked into Debian GNU/ReactOS
 * Don't silently ignore stubs defined by .pspec files. What the hell, Arch?

Bonus improvement: cleaned up linker command, generating .exp files correctly as intermediate files with the appropriate dependencies. Happy Hallowmas!

svn path=/trunk/; revision=37145
2008-11-01 23:23:02 +00:00
KJK::Hyperion
5f616878c9 Remove all <file> entries for spec/pspec files that don't define any stubs (for real this time)
svn path=/trunk/; revision=37144
2008-11-01 23:11:38 +00:00
James Tabor
09c99cdf63 - Fix property for drawing.c.
svn path=/trunk/; revision=37143
2008-11-01 23:04:56 +00:00
James Tabor
fdea73d599 - Fix build, part of revision 37141.
svn path=/trunk/; revision=37142
2008-11-01 22:54:34 +00:00
James Tabor
6c481db7b0 - Patch by Daniel Zimmerman: Implement FoldStringA/W from wine, see bug 3253.
svn path=/trunk/; revision=37141
2008-11-01 22:44:54 +00:00
James Tabor
f539afa537 - Update from notes: NtUserInitialize.
svn path=/trunk/; revision=37140
2008-11-01 22:12:38 +00:00
Gregor Schneider
27985bf35b TransparentBlt:
- Fix bits and offset calculation (8 << 2 is not 24!)
- Fixes Download! bitmap in 24bpp mode, see bug #1583

svn path=/trunk/; revision=37139
2008-11-01 20:44:40 +00:00
Eric Kohl
032300fbc9 SEH protect all remote calls to the Eventlog Service.
svn path=/trunk/; revision=37138
2008-11-01 20:37:04 +00:00
Stefan Ginsberg
ae24c33a4f - Reapply 35812:
- RtlDispatchException: Call vectored exception handlers before doing anything else
- KiUserExceptionDispatcher: Call RtlDispatchException directly as it now takes care of vectored handling
- Rename RtlpExecuteVectoredExceptionHandlers to RtlCallVectoredExceptionHandlers, and fix return type
- References: "New Vectored Exception Handling in Windows XP" by Matt Pietrek
- New in this revision: Only call vectored handlers in user mode, as there is no such thing in kernel mode

svn path=/trunk/; revision=37137
2008-11-01 19:48:52 +00:00
Stefan Ginsberg
ed9780429d - Fix release build -- attempt 2
svn path=/trunk/; revision=37136
2008-11-01 19:35:23 +00:00
Stefan Ginsberg
6b1b673dca - Fix release build
svn path=/trunk/; revision=37135
2008-11-01 19:22:43 +00:00
Stefan Ginsberg
8a6a5c0d14 - Enable building ntkrnlmp
- SMP kernel now compiles. It doesn't boot and it won't run as we lack ACPI, SMT, a (proper) MP HAL, IPI and more.
- Dedicated to Aleksey, Alex and KJK <3 <3 <3

svn path=/trunk/; revision=37134
2008-11-01 18:21:39 +00:00
Stefan Ginsberg
48d2b528d2 - Implement the MP case for KiTimerExpiration and KiTimerListExpire
svn path=/trunk/; revision=37133
2008-11-01 18:16:17 +00:00
Aleksey Bragin
42cd339c49 - Refactor timer code to share more macros (see http://www.dcl.hpi.uni-potsdam.de/research/WRK/?p=32).
- Implement expiring timers when the user changes the system time. Previously these timers would never expire if the time was set past their expiration points.
- Fix a bug in KiInsertTreeTimer where, if a timer expired while we inserted it, we kept its Inserted state to TRUE.
- Fix a bug where, when changing the system time, the modifications were not done in the correct order, possibly resulting in a race condition happening if someone else was checking the time simultaneously.
- Tested with winetest kernel32 timer.
- Thanks to Alex and Stefan.

svn path=/trunk/; revision=37132
2008-11-01 15:33:05 +00:00
Cameron Gutman
53f5e2c282 - Fix a cast
svn path=/trunk/; revision=37131
2008-11-01 14:38:44 +00:00
James Tabor
86691d3afe - Update NtUserInitialize and show where it belongs.
svn path=/trunk/; revision=37130
2008-11-01 14:31:54 +00:00
James Tabor
7c20ea6571 - Update NtGdiGetGlyphOutline and NtGdiGetGlyphIndicesW.
svn path=/trunk/; revision=37128
2008-11-01 12:08:07 +00:00
Stefan Ginsberg
380df53cc2 - Implement most of SMP KeFlushEntireTb (currently unused though)
- Update KiTbFlushTimeStamp on both UP and MP after flushing

svn path=/trunk/; revision=37127
2008-11-01 12:01:58 +00:00
Stefan Ginsberg
39d59e06dd - Disable old and unused IPI code, add new NT compatible stubs
- KiIpiSendRequest should be a fastcall named KiIpiSend, fix this and fix callers
- Implement most of SMP KeIpiGenericCall. Also use KiReverseStallIpiLock instead of an uninitialized "KiIpiLock"
- Fix KiIpiServiceRoutine -- 2nd argument should be PKEXCEPTION_FRAME

svn path=/trunk/; revision=37126
2008-11-01 11:44:04 +00:00
Cameron Gutman
b949b9b7c3 - Make sure ThunkTable is not NULL before attempting to free it
- It gets set to NULL when the thunk is successfully added
 - I have no idea how this ever worked without this fix

svn path=/trunk/; revision=37125
2008-11-01 01:00:08 +00:00
Cameron Gutman
eaba38bfb8 - Release the guarded mutex before we return
svn path=/trunk/; revision=37124
2008-11-01 00:36:24 +00:00
Cameron Gutman
518ef62225 - Fix the check for too many devices
svn path=/trunk/; revision=37121
2008-10-31 23:59:49 +00:00
Cameron Gutman
4ed7116ff9 - We already do this in the SEH block. No need to do it twice.
svn path=/trunk/; revision=37120
2008-10-31 23:34:54 +00:00
Johannes Anderwald
f327269375 - Include zero byte in byte count to NtSetValueKey
svn path=/trunk/; revision=37119
2008-10-31 23:34:34 +00:00
Johannes Anderwald
ff88c3b914 - Include zero byte in byte count to NtSetValueKey
svn path=/trunk/; revision=37118
2008-10-31 23:21:15 +00:00
Eric Kohl
e4bbc4a8bf Pass machine name to RpcStringBindingComposeA/W properly.
svn path=/trunk/; revision=37117
2008-10-31 22:21:34 +00:00
Eric Kohl
5de1f53be7 EVENTLOG:
- Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.
- Add workarounds to eventlogrpc.idl because WIDL is not yet able to handle attributes in typedefs correctly.

svn path=/trunk/; revision=37116
2008-10-31 22:18:12 +00:00
Timo Kreuzer
599b63ad89 merge 35742,35773,35780,35824,35969,36725,36952 from amd64 branch
svn path=/trunk/; revision=37115
2008-10-31 21:28:09 +00:00
Johannes Anderwald
0411efc7fc * Implement disabling network adapter (WIP, not yet supported)
svn path=/trunk/; revision=37114
2008-10-31 20:27:30 +00:00
James Tabor
75afd8303f - Update realization information and copyright notice for freetype.c.
svn path=/trunk/; revision=37113
2008-10-31 18:56:23 +00:00
Johannes Anderwald
f4a0005b90 - Display drive details for CDROMs
- Fix a bug in the free space calculation

svn path=/trunk/; revision=37112
2008-10-31 18:48:15 +00:00
Stefan Ginsberg
705683b520 - Don't dereference inside an SEH block after doing unsafe writes, as this could be missed in case a pointer is bad.
svn path=/trunk/; revision=37111
2008-10-31 13:16:01 +00:00
Johannes Anderwald
c28ade37e5 - Add Documentation for netshell
svn path=/trunk/; revision=37110
2008-10-31 11:26:23 +00:00
Johannes Anderwald
89ecbb1db8 - Make sure its DNS ServerList is NULL terminated
svn path=/trunk/; revision=37108
2008-10-30 20:25:27 +00:00
Johannes Anderwald
f71490ce76 - Fix ...
svn path=/trunk/; revision=37107
2008-10-30 20:12:09 +00:00
Johannes Anderwald
3575fd66a9 - Try fix GetNetworkParams api
svn path=/trunk/; revision=37106
2008-10-30 19:27:58 +00:00
Stefan Ginsberg
f467429483 - NtWrite/ReadFile: Don't hardcode Irp->RequestorMode to KernelMode! Instead, use the PreviousMode we saved earlier. This caused user mode APCs to be called from kernel mode, which is a...very...bad... idea.
- Spotted by bug 3607 and exposed by ntdll Winetests "file"
See issue #3607 for more details.

svn path=/trunk/; revision=37102
2008-10-30 15:59:00 +00:00
James Tabor
7bfa0b86e3 Implement GetFontUnicodeRanges, port from wine. Tested with wine gdi32 font crosstests.
svn path=/trunk/; revision=37099
2008-10-30 13:33:08 +00:00
Christoph von Wittich
a233789dd4 fix Armenian, Chinese, Hebrew, Hindi, Thai do not appear in the Input Language combo box
patch by hto
See issue #3818 for more details.

svn path=/trunk/; revision=37098
2008-10-30 13:27:11 +00:00
Matthias Kupfer
ffdfcde767 replacement for the white power switch (better contrast for small resolutions)
svn path=/trunk/; revision=37097
2008-10-30 13:09:58 +00:00
Johannes Anderwald
aac399c13a - Forgot this one
svn path=/trunk/; revision=37095
2008-10-30 12:44:25 +00:00
Matthias Kupfer
40114270cf - new directory for generic graphics (available in alterable format e.g. svg)
- replacement for shutdown/power off icon
- additional question mark icon (allows to change to tango desktop project icon set for message box icons)

svn path=/trunk/; revision=37094
2008-10-30 12:04:39 +00:00
Dmitry Chapyshev
d0418e7123 - Attempt to fix a bug 3255.
By means of Christoph_vW.
Not tested.

svn path=/trunk/; revision=37093
2008-10-30 11:14:40 +00:00
James Tabor
f5883c94d4 - Update Gdi GetFontLanguageInfo.
svn path=/trunk/; revision=37092
2008-10-30 10:48:49 +00:00
Johannes Anderwald
693488f7ff - Convert recovery option dialog to unicode
- Simply & optimize LoadRecoveryOptions function
- CID 786

svn path=/trunk/; revision=37091
2008-10-30 10:46:55 +00:00
James Tabor
b70d5a56a4 - Implemented: GetFontLanguageInfo based on wine. GetLanguageID, it reads the registry for default language type.
- Move more function in and out of freetype.c. Minor code fixes too.


svn path=/trunk/; revision=37090
2008-10-30 10:46:27 +00:00
Johannes Anderwald
b645f2b87e - Convert LoadSoundFiles to explictely to unicode
- Fix 2 possible buffer overflows (CID 553)

svn path=/trunk/; revision=37087
2008-10-30 09:58:12 +00:00
Christoph von Wittich
bcbb4cf019 fix 'Cast from pointer to integer of different size' in PickIconProc()
patch by hto
See issue #3828 for more details.

svn path=/trunk/; revision=37086
2008-10-30 09:44:36 +00:00
Dmitry Chapyshev
0f6c074a85 - Add getting system font and icon size settings
- Other small changes

svn path=/trunk/; revision=37085
2008-10-30 09:41:37 +00:00
Johannes Anderwald
e23d7c8cb1 - Fix a memory leak (CID 625)
svn path=/trunk/; revision=37084
2008-10-30 08:35:15 +00:00
Johannes Anderwald
4c981d0c59 - Fix memory leak (CID 621)
svn path=/trunk/; revision=37083
2008-10-30 08:28:50 +00:00
Johannes Anderwald
c87ce9e18a - Clean up resources on failure
svn path=/trunk/; revision=37082
2008-10-30 08:23:53 +00:00
Johannes Anderwald
6cf62f2a9f - Fix a potential buffer overflow in SH_ShowDriveProperties (CID 589)
- Fix a possible null dereference (CID 495)
- Fix initializing Recycle Bin Property dialog
- Add LVS_EX_FULLROWSELECT style

svn path=/trunk/; revision=37081
2008-10-30 07:59:55 +00:00
Johannes Anderwald
9332dccc8c - Fix displaying MAC of adapter
svn path=/trunk/; revision=37080
2008-10-30 07:24:37 +00:00
Thomas Bluemel
7ca1dd308b Make the task bar top-most when necessary
svn path=/trunk/; revision=37079
2008-10-30 01:58:24 +00:00
James Tabor
fbcf9dd7e9 - Move code out of freetype.c.
- Implement GetRasterizerCaps.
- From wine: Patch by Bobby Bingham: Add support for the GGO_UNHINTED flag in GetGlyphOutline.

svn path=/trunk/; revision=37078
2008-10-30 01:32:44 +00:00
James Tabor
29ff9f55db - Move FreeType support to freetype.c.
- Add font.c to build system and picked our first victim to populate it.
- Implemented NtGdiSetTextJustification in text.c.

svn path=/trunk/; revision=37076
2008-10-29 21:57:04 +00:00
Stefan Ginsberg
d47975c0db - Fix kernel SMP intrinsics:
- Correct typos and add missing casts
- Use IPI_APC in KiRequestApcInterrupt as we are requesting an APC IPI, not DPC
- Fix KiAcquireDispatcherObject (credit to Alex)
- Add missing SMP versions of KiAcquire/ReleaseDispatcherLockAtDpcLevel and KiAcquire/ReleaseTimerLock
- Stub out KiRundownThread for SMP

svn path=/trunk/; revision=37075
2008-10-29 21:08:20 +00:00
KJK::Hyperion
b4787f49df Merging r37048, r37051, r37052, r37055 from the-real-msvc branch
svn path=/trunk/; revision=37074
2008-10-29 20:06:44 +00:00
Michael Martin
2964e2ab1a - Implement VirtualMemoryInformationClass of MemorySectionName for NtQueryVirtualMemory.
svn path=/trunk/; revision=37073
2008-10-29 19:50:55 +00:00
James Tabor
dfaa1abe89 - Update width info structure.
svn path=/trunk/; revision=37072
2008-10-29 19:44:12 +00:00
Johannes Anderwald
a27d48f272 - Launch Network Connections ShellFolder when clicking Network Places' properties
- Dedicated to gabriel_it

svn path=/trunk/; revision=37071
2008-10-29 17:49:00 +00:00
Colin Finck
291486f5d6 Don't decide whether to preprocess .spec files based on Kernel-Mode vs. User-Mode, but on the file extension.
.pspec files are preprocessed now, while .spec files aren't. A change like this was already done in the amd64 branch before KJK rewrote the .spec stuff in rbuild.

- Renamed currently preprocessed .spec files to .pspec and changed that in the .rbuild files appropriately
- Renamed "IsWineModule" to "IsSpecDefinitionFile",  the new name is more appropriate
- Removed some checks for uppercased file extensions, we neither use them in our tree nor it will totally work as we only support them in a few places

Commit dedicated to Timo ;-)

svn path=/trunk/; revision=37070
2008-10-29 16:42:03 +00:00
Stefan Ginsberg
47144dde75 - KeSetTimerEx: When canceling the insertion of an expired timer, don't forget to exit the dispatcher and return. Fixes crashes exposed by kernel32 Winetest "timer", caused by KiTimerTableListHead suddenly having broken entries.
- Also fix a comment -- KiExitDispatcher doesn't release the dispatcher lock, it is done in KxInsertTimer

svn path=/trunk/; revision=37068
2008-10-29 16:24:36 +00:00
Johannes Anderwald
59b469b1fb - Improve error checking
- Remove extensions which should be hidden (*.lnk)
- CID 82

svn path=/trunk/; revision=37067
2008-10-29 16:19:09 +00:00
Stefan Ginsberg
1e6b6718f3 - MmMapViewOfSection: Don't forget to unlock the address space before returning -- fixes a bugcheck revealed by kernel32 Winetest "virtual"
svn path=/trunk/; revision=37064
2008-10-29 16:10:20 +00:00
Johannes Anderwald
40944938d8 * Try to invoke items by executing the default context menu action
* Fixes executing of items like network connections folder whose items are no file system objects
* Colin's wish list (1/2) :)

svn path=/trunk/; revision=37063
2008-10-29 16:00:28 +00:00
Johannes Anderwald
ad83e0cde9 - Delete Gateway Address from TcpipSettings when the gateway has been removed
- Correctly check if there is Gateway set when initializing
- Delete all old routes when applying changes
- Add new gateway when applying changes

svn path=/trunk/; revision=37059
2008-10-29 14:12:29 +00:00
Johannes Anderwald
8d12e8d2cd - Only display the default gateway when there is actually a gateway set
svn path=/trunk/; revision=37058
2008-10-29 13:49:10 +00:00
Johannes Anderwald
474c4e0362 - Only display a gateway address when there is one
svn path=/trunk/; revision=37056
2008-10-29 13:42:04 +00:00
KJK::Hyperion
72b44f33d3 Make acpi compile with Visual C++
svn path=/branches/the-real-msvc/; revision=37048
2008-10-29 12:56:17 +00:00
Johannes Anderwald
962142cf78 - Fix setting manual ip address
svn path=/trunk/; revision=37042
2008-10-28 15:53:01 +00:00
Johannes Anderwald
0e6210c139 - Store NTEContext for IPAddress
- Call DeleteIPAddress and AddIPAddress for adapters when applying changes

svn path=/trunk/; revision=37041
2008-10-28 15:31:36 +00:00
Christoph von Wittich
a83186227a revert part of rev 31787 as we don't support IROT in rpcss
fixes FoxitReader, GVIM and many other apps
See issue #2361 for more details.

svn path=/trunk/; revision=37039
2008-10-28 14:32:41 +00:00
Johannes Anderwald
c2a7f9fd0f - Fix storing the DhcpIpAddress key
svn path=/trunk/; revision=37038
2008-10-28 10:32:07 +00:00
Johannes Anderwald
a9c9171b38 - Rewrite getResInfo to directly return a linked list of IP_ADDR_STRING structures
- Might fix manual DNS bug

svn path=/trunk/; revision=37037
2008-10-28 10:06:16 +00:00
Johannes Anderwald
d48de02010 - Fix multiple bugs in details status dialog
svn path=/trunk/; revision=37036
2008-10-28 09:14:06 +00:00
Johannes Anderwald
dfbb281b3a - Implement applying / canceling changes on close
- Temporary disable storing the TcpFilter settings

svn path=/trunk/; revision=37035
2008-10-28 09:06:24 +00:00
Cameron Gutman
31e02ce543 - Merge r37029 from aicom-network-fixes
- This fixes the last of all the port allocation bugs that I know of

svn path=/trunk/; revision=37032
2008-10-27 20:43:44 +00:00
Stefan Ginsberg
373296b548 - Remove version defines
svn path=/trunk/; revision=37031
2008-10-27 20:32:17 +00:00
Stefan Ginsberg
0b42f0b683 - Remove version defines
svn path=/trunk/; revision=37030
2008-10-27 20:25:29 +00:00
Eric Kohl
339b380d78 SEH protect all calls to the UM-PNP-Manager.
svn path=/trunk/; revision=37028
2008-10-27 19:26:37 +00:00
Johannes Anderwald
803fca876f - Implement AddMonitorA, AddMonitorW
svn path=/trunk/; revision=37027
2008-10-27 18:04:45 +00:00
James Tabor
220a689732 - Cleanup and fix OffsetViewport/WindowOrgEx.
svn path=/trunk/; revision=37026
2008-10-27 17:56:35 +00:00
Johannes Anderwald
3b5595b0a8 * Implement DeletePrintProvidorA, DeletePrintProvidorW
svn path=/trunk/; revision=37025
2008-10-27 16:47:23 +00:00
Johannes Anderwald
afb5713030 - Implement AddPrintProvidorA, AddPrintProvidorW
svn path=/trunk/; revision=37024
2008-10-27 15:40:21 +00:00
Johannes Anderwald
5e352dfa1d - Add PROVIDER_INFO_1 and PROVIDER_INFO_2 struct
svn path=/trunk/; revision=37023
2008-10-27 15:16:05 +00:00
Michael Martin
2e07ded883 - Add missing goto done in NpfsRead when setting Status as STATUS_PENDING. Fixes bug #3115 and duplicates.
svn path=/trunk/; revision=37020
2008-10-27 13:51:20 +00:00
Christoph von Wittich
f48aacb658 use ExFreePoolWithTag
svn path=/trunk/; revision=37018
2008-10-27 11:16:31 +00:00
Christoph von Wittich
09501bc1c2 sync Shell_NotifyIconW with wine 1.1.7
svn path=/trunk/; revision=37017
2008-10-27 09:49:27 +00:00
Daniel Reimer
7d97d478db Sync winefile and write to wine Head.
svn path=/trunk/; revision=37016
2008-10-27 08:29:08 +00:00
Daniel Reimer
de3d502ca5 Sync wordpad and xcopy with wine HEAD. Font resizeing seems to work
svn path=/trunk/; revision=37015
2008-10-27 08:23:54 +00:00
Christoph von Wittich
bfd33ba526 sync riched20 with wine 1.1.7
svn path=/trunk/; revision=37014
2008-10-27 08:10:25 +00:00
Christoph von Wittich
9e8da0db2a set correct timezone in 2nd stage
patch by hto
See issue #3822 for more details.

svn path=/trunk/; revision=37013
2008-10-27 07:56:33 +00:00
Cameron Gutman
47e8c2cf0b - Merge aicom-network-fixes up to r37010
- Most of the port allocation problems are now fixed

svn path=/trunk/; revision=37011
2008-10-27 05:16:14 +00:00
Timo Kreuzer
cb0c6f03f5 - Add TEB_SELF to asm.h
- fix loading of TEB in fiber code
This commit is dedicated to Alex

svn path=/trunk/; revision=37008
2008-10-27 02:48:54 +00:00
Eric Kohl
e28588b48a ERR -> TRACE
svn path=/trunk/; revision=37007
2008-10-26 22:57:31 +00:00
Eric Kohl
910aee9915 LSA: Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.
svn path=/trunk/; revision=37006
2008-10-26 22:53:30 +00:00
Gregor Schneider
2d24e47d1d DWORD is unsigned, so cast to signed type before checking for < 0. Fixes one gdi32 winetest.
svn path=/trunk/; revision=37002
2008-10-26 21:06:11 +00:00
Eric Kohl
53177f48f4 Initialize _RetVal properly in order to avoid compiler warnings.
svn path=/trunk/; revision=37001
2008-10-26 21:03:11 +00:00
Matthias Kupfer
d0c2deb15d Olaf Siejka (Caemyr) <olaf_siejka AT o2 DOT pl>
- Cleanup reactos installation package list

svn path=/trunk/; revision=36999
2008-10-26 20:54:05 +00:00
Gregor Schneider
f32b7b7615 - Add missing cleanup code
- Rename variables to fit the naming scheme
- Extend error dprints
- Some comment changes
- Fixes CIDs 617, 618, 619, 620

svn path=/trunk/; revision=36998
2008-10-26 18:29:56 +00:00
Gregor Schneider
5a80a9a5c6 StretchBlt:
- Pixel size depends on the type of the destination surface, so don't always write ULONG values
- Use PutPixel and remove now unneeded position code
- Fixes high red zone overwrites, see bug #812 (vlc) and bug #3807 (ccleaner)
- Enable dprints for unhandled sources
- Add a parameter dprint for 24bpp

svn path=/trunk/; revision=36997
2008-10-26 18:07:10 +00:00
Christoph von Wittich
8fb42ca34d fix some advapi32 security winetests
svn path=/trunk/; revision=36996
2008-10-26 18:03:38 +00:00
Colin Finck
4ad62aac38 - Add a "host" attribute to the project's <include> and <define> tags to make it possible to define global includes/defines for host components
- Define TARGET_arm/TARGET_i386 in the ReactOS-arm.rbuild/ReactOS-i386.rbuild files for the host tools to make it possible for them to know about the target to build
- Make use of this define in winebuild to fix the issue of r36927 properly
- Define global includes for host tools to simplify all host tool/library rbuild files
- Remove dead rbuild code

- Remove the include/reactos/config.h file, none of its defines are still used
- Fix components accidentally using that file

svn path=/trunk/; revision=36995
2008-10-26 18:03:06 +00:00
Aleksey Bragin
3ad56b6c40 - Port RegDeleteTreeW from Wine, and remove previous implementation (fixes registry regtests). That previous implementation was better due to the fact it was not recursive, however it's buggy and noone managed to fix it since the commit's date (revision ~17000). It's wrapped into #if0-#endif now so the code doesn't get lost.
svn path=/trunk/; revision=36994
2008-10-26 15:40:44 +00:00
Eric Kohl
725ff32421 Service Manager:
- Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.

The other RPC interfaces will be converted as soon as possible.

svn path=/trunk/; revision=36991
2008-10-26 15:11:28 +00:00
Aleksey Bragin
323b029e49 - Print out event GUID if it's unknown in umpnpmgr.
- Fix a typo in vdmmain.c.

svn path=/trunk/; revision=36989
2008-10-26 14:38:50 +00:00
Christoph von Wittich
41ab62c3a6 import LookupPrivilegeNameA from wine
svn path=/trunk/; revision=36986
2008-10-26 12:35:42 +00:00
Eric Kohl
c22ad7e659 Service Manager:
- Fix declaration of SERVICE_STATUS_HANDLE in the PSDK.
- Add a new custom binding handle to svcctl.idl as an alias of SERVICE_STATUS_HANDLE.
- Enable all custom binding handles in svcctl.idl and fix services.exe and advapi32.dll accordingly.

svn path=/trunk/; revision=36985
2008-10-26 12:33:36 +00:00
Stefan Ginsberg
d1c6a82adb - Switch Win32K export list to .spec
svn path=/trunk/; revision=36984
2008-10-26 12:31:40 +00:00
Stefan Ginsberg
355b8a2859 - Add missing EngMapFile and EngQueryFileTimeStamp
- Swap EngUnmapFile and EngUnmapEvent to maintain alphabetical ordering

svn path=/trunk/; revision=36983
2008-10-26 12:22:45 +00:00
Eric Kohl
1e39b5fb16 WIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.
svn path=/trunk/; revision=36982
2008-10-26 12:17:36 +00:00
Christoph von Wittich
13dcae5f0c -move ConvertSecurityDescriptorToStringSecurityDescriptorA/W from sec.c to sid.c
-import ConvertSecurityDescriptorToStringSecurityDescriptorA from wine

svn path=/trunk/; revision=36981
2008-10-26 12:16:48 +00:00
Aleksey Bragin
b46e8cc18b - Let's get back to one RTL library for now, because:
* 36761 just separated the library, but all hacks remain in the tree.
 * Real solution needs at least 3 RTL libraries (kernelmode, usermode, bootloader), otherwise we'll still have to have RTL-libsupp library.
 * I couldn't reach consensuss with developers about either method.
 * Since the only disadvantages now are the usermode/kernelmode structure differences hack (which was not removed) and additional small support libraries (which were not removed, including RtlpGetMode, which remained), there is no reason to waste time for compiling RTL twice without benefits.

svn path=/trunk/; revision=36980
2008-10-26 12:16:04 +00:00
Aleksey Bragin
a15056faf9 Dmitry Gorbachev
- Fix a modifier flag in interlocked functions' inlined asm. See detailed explanation in bug 3772.
See issue #3772 for more details.

svn path=/trunk/; revision=36979
2008-10-26 10:47:07 +00:00
James Tabor
861ffcb4ce - Update user connect structure.
svn path=/trunk/; revision=36977
2008-10-26 00:50:16 +00:00
Stefan Ginsberg
1937a19400 - Add missing EngPlgBlt export
svn path=/trunk/; revision=36975
2008-10-25 23:46:56 +00:00
Cameron Gutman
6089f9fe0b - Merge aicom-network-fixes up to r36973
svn path=/trunk/; revision=36974
2008-10-25 23:44:41 +00:00
Michael Martin
f4ab2b4a4b - Correct fix for handling WM_MOUSEACTIVATE and Bug #3111. If no parent, use MsgWindow->hSelf as wParam.
svn path=/trunk/; revision=36965
2008-10-25 18:42:42 +00:00
KJK::Hyperion
79e9ba171b Visual C++ backend for rbuild (for now just a hacked mingw backend) and related compilation fixes. Just run vcvars.bat from a RosBE console and "make"!
modified   dll/win32/aclui/guid.c
modified   dll/win32/aclui/precomp.h
modified   drivers/bus/acpi/include/actypes.h
modified   drivers/bus/acpi/include/platform/acenv.h
   Miscellaneous compilation fixes

modified   dll/win32/aclui/sidcache.c
   Damn, forgot to commit this to trunk

deleted    include/psdk/intrin.h
added      include/psdk/intrin.h.bak
   intrin.h is positively not a PSDK header

modified   lib/3rdparty/mingw/wcrt1.c
   Port to Visual C++

modified   ReactOS-generic.rbuild
   Use Visual C++'s built-in CRT headers for now

modified   ReactOS-i386.rbuild
   Translate global compiler flags to Visual C++

modified   tools/rbuild/backend/mingw/mingw.cpp
   No need for -pipe in Visual C++
   Disable precompiled headers for now
   Enable a whole lotta warnings, and disable a few. Should move this to a response file somewhere

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   .a -> .lib
   .o -> .obj
   .coff -> .res.obj, fix windres command line to remove the ambiguity
   ${gcc}/${gpp} -> ${cl}, translate command line options
   ECHO_CC -> ECHO_CL
   Pass *_RCFLAGS to gas instead of *_CFLAGS, for now, so that gas only sees includes and defines (in the future we'll have something like *_ASFLAGS)
   Disabled some gcc-specific code for now

modified   tools/rbuild/module.cpp
   .a -> .lib, .o -> .obj, lib<name>.a -> <name>.lib; and why the hell is this in the front-end?

svn path=/branches/the-real-msvc/; revision=36963
2008-10-25 18:13:25 +00:00
KJK::Hyperion
c0fa485960 The real, definitive, Visual C++ support branch. Accept no substitutes
svn path=/branches/the-real-msvc/; revision=36960
2008-10-25 17:56:00 +00:00
KJK::Hyperion
10c26d1da1 modified dll/win32/kernel32/kernel32.rbuild
Disable exceptions and RTTI in kernel32_base
   Move icustubs.cpp closer to other NLS stuff

This commit dedicated to Stefan100

svn path=/trunk/; revision=36957
2008-10-25 17:41:48 +00:00
KJK::Hyperion
384cece98f I did not, in fact, test my commit
svn path=/trunk/; revision=36956
2008-10-25 17:36:53 +00:00
Gregor Schneider
672d2fbba6 Misc. typo fixes
svn path=/trunk/; revision=36955
2008-10-25 17:35:45 +00:00
KJK::Hyperion
168997c0d1 modified base/applications/screensavers/3dtext/3dtext.rbuild
modified   lib/sdk/crt/crt.rbuild
   Split chkstk away from crt
   Link 3dtext to chkstk for Visual C++ builds (a gcc-built 3dtext would simply crash, I guess?)

modified   dll/cpl/access/display.c
modified   dll/cpl/access/general.c
modified   dll/cpl/access/keyboard.c
modified   dll/cpl/access/mouse.c
   Fixed signedness violations (thank you cl -Wall -W4)

modified   dll/win32/acledit/acledit.rbuild
modified   dll/win32/aclui/aclui.rbuild
   Removed empty stubs (thank you cl -Wall -W4)

modified   dll/win32/aclui/checklist.c
   Fixed signedness violations
   wcsnicmp is not a standard C routine
   BOOL is not a boolean
   Thank you cl -Wall -W4

modified   dll/win32/aclui/sidcache.c
   Marked possible overflow (thank you cl -Wall -W4)

modified   dll/win32/msvcrt/msvcrt.def
   __iob_func and __p_iob are the same thing
   Export non-conforming swprintf as _swprintf, too (will fix for real later)
   Thank you cl -Wall -W4

modified   include/ddk/winddk.h
   Zero-length array field in struct _SCATTER_GATHER_LIST
   Forward-declare structures out of argument lists
   Thank you cl -Wall -W4

modified   include/reactos/msvctarget.h
   No need to emulate Visual C++ flags when compiling with Visual C++

modified   lib/3rdparty/mingw/cpu_features.c
modified   lib/3rdparty/mingw/cpu_features.h
   Useless dependency from stdbool.h removed
   Now compiles with Visual C++ too

modified   lib/3rdparty/mingw/getopt.c
   Silence harmless warning

modified   lib/3rdparty/mingw/isascii.c
modified   lib/3rdparty/mingw/iscsym.c
modified   lib/3rdparty/mingw/iscsymf.c
modified   lib/3rdparty/mingw/toascii.c
   Undefine conflicting macro names before declaring the functions

modified   Makefile
   Visual C++ support is coming, did you bring your coat?

svn path=/trunk/; revision=36954
2008-10-25 17:32:54 +00:00
Michael Martin
b8e2e47d4e - Do not send the WM_MOUSEACTIVATE message for a window that has no parent.
- Fixes visual basic application crashes when clicking on form. See bug #3111 for more details.

svn path=/trunk/; revision=36950
2008-10-25 16:08:59 +00:00
James Tabor
bb641e28cb - Patch by hto: Do not wait until process is closed with process database locked. See Bug 3805.
svn path=/trunk/; revision=36948
2008-10-25 15:33:02 +00:00
Colin Finck
6d2f6893bc Don't export ScreenSaverProc and ScreenSaverConfigureDialog anymore
I don't know any app still needing these exports and even Windows screensavers don't export anything nowadays.

svn path=/trunk/; revision=36947
2008-10-25 15:15:54 +00:00
Colin Finck
8c81c894b0 Return if the screensaver window couldn't be created to avoid a warning about using the uninitialized variable "msg".
Spotted by KJK & CL

svn path=/trunk/; revision=36946
2008-10-25 15:14:09 +00:00
Aleksey Bragin
d0ccc9c5ec - Remove version defines.
svn path=/trunk/; revision=36945
2008-10-25 15:03:02 +00:00
Colin Finck
ce96d49c36 Fix build broken in r36927
The #ifdef's here are defined by the host, not by the target.
Therefore we can't check with #if defined(__x86_64__) whether we build for 64-bit. Probably a _TARGET_PE64 solution like we have for rsym is needed here to fix this properly also for the AMD64 port.

svn path=/trunk/; revision=36944
2008-10-25 14:49:51 +00:00
Christoph von Wittich
d80a56b7f9 fix advpack_winetest build
svn path=/trunk/; revision=36943
2008-10-25 14:16:58 +00:00
Christoph von Wittich
89ae880958 remove all version defines from rostests
svn path=/trunk/; revision=36942
2008-10-25 14:04:03 +00:00
Aleksey Bragin
5b1318aae8 - Remove version defines.
svn path=/trunk/; revision=36941
2008-10-25 14:00:02 +00:00
Aleksey Bragin
d20963f130 - Remove version defines.
svn path=/trunk/; revision=36940
2008-10-25 12:16:25 +00:00
Aleksey Bragin
64bd93d803 - Globalize ReactOS target version (there are a few overrides for our abuse of RegDeleteTree API).
*** .rbuild files MUST NOT contain version definitions now, please pay attention to this when doing Wine-syncs, adding new modules, or applying old patches! ***
Same applies to source code files, header files, and other includables. Thanks to Marc Piulachs for doing the base work, which I continued, and which resulted in this commit.
See issue #2745 for more details.

svn path=/trunk/; revision=36939
2008-10-25 12:15:44 +00:00
Aleksey Bragin
f39710c68c Dmitry Gorbachev
- Change include order to prevent redefinition of _pctype.
See issue #3801 for more details.

svn path=/trunk/; revision=36938
2008-10-25 11:09:33 +00:00
Dmitry Chapyshev
8d30598bdf - Change SetSysColorsTemp declaration
svn path=/trunk/; revision=36934
2008-10-25 07:39:33 +00:00
Dmitry Chapyshev
1e2dcd06e8 DefWindowProcA/W:
- Fix WM_GETTEXTLENGHT message
- Add WM_IME_NOTIFY message
- Implement WM_IME_KEYDOWN, WM_IME_KEYUP, WM_IME_SETCONTEXT, WM_IME_CHAR, WM_IME_STARTCOMPOSITION, WM_IME_COMPOSITION, WM_IME_ENDCOMPOSITION, WM_IME_SELECT, WM_IME_NOTIFY
- Remove CascadeWindows and TileWindows from window.c (it is already declared in mdi.c)
- Implement TileChildWindows, CascadeChildWindows, GetInternalWindowPos, SetSysColorsTemp
- Add checking params for GetProcessDefaultLayout, SetProcessDefaultLayout, GetMouseMovePointsEx, GetRawInputDeviceList
- LockSetForegroundWindow return TRUE
- GetRawInputBuffer, GetRawInputDeviceInfoA/W, DefRawInputProc, GetRawInputData, GetRegisteredRawInputDevices return 0
Based on Wine implementation

svn path=/trunk/; revision=36933
2008-10-25 07:37:48 +00:00
Dmitry Chapyshev
8a90945651 - Sync iads.idl with wine
- Add some defines to winnt.h

svn path=/trunk/; revision=36932
2008-10-25 07:15:16 +00:00
Dmitry Chapyshev
df2aabc6ab - Implement RtlFindCharInUnicodeString
- Implement RtlInitializeSListHead, RtlFirstEntrySList, RtlQueryDepthSList
Based on Wine implementation

svn path=/trunk/; revision=36931
2008-10-25 07:12:41 +00:00
KJK::Hyperion
7661ad3e1c modified tools/rbuild/backend/mingw/modulehandler.cpp
Allow static libraries to "link" to other static libraries
   Removed some dead code

modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
   No need to specify icu4ros explicitely anymore, thanks to the rbuild changes
   Make kernel32_base include normalize, rather than linking it as an external dependency of kernel32

svn path=/trunk/; revision=36929
2008-10-25 02:52:24 +00:00
Timo Kreuzer
f258a9cc26 merge 36224 and 36910 from amd64 branch
svn path=/trunk/; revision=36928
2008-10-24 22:13:45 +00:00
Timo Kreuzer
4ed5661801 merge 36223 from amd64-branch
svn path=/trunk/; revision=36927
2008-10-24 21:32:48 +00:00
Cameron Gutman
497d2b42a7 - Merge aicom-network-fixes up to r36921
svn path=/trunk/; revision=36922
2008-10-24 09:09:00 +00:00
Stefan Ginsberg
2f626cf5fe - Fix EPROFILE/KPROFILE.Segment member -- it is a pointer
svn path=/trunk/; revision=36917
2008-10-23 19:15:44 +00:00
Stefan Ginsberg
be7afb4f81 - Fix Nt/ZwMapViewOfSection parameters (ULONG -> ULONG_PTR and SIZE_T) and the few callers which sent incorrect types
- Also fix MapViewOfFile/Ex parameters

svn path=/trunk/; revision=36915
2008-10-23 18:19:20 +00:00
Timo Kreuzer
688a20a68b Quickfix for bug 3808
Don't set SystemMetrics to -1, when there's no CurInfo. Apparently we initialize the metrics before we have a WindowStation. This code needs to be improved...
See issue #3808 for more details.

svn path=/trunk/; revision=36913
2008-10-23 17:26:50 +00:00
Stefan Ginsberg
922bd47d8d - More 64-bit fixes
svn path=/trunk/; revision=36912
2008-10-23 17:05:40 +00:00
Stefan Ginsberg
63516132ef - 64-bit fixes (ULONG -> SIZE_T)
svn path=/trunk/; revision=36911
2008-10-23 15:56:27 +00:00
Johannes Anderwald
cbfc164757 - Fix bug 3782 take #2
- Apply the fix to right source file and not to code which isnt build anymore

svn path=/trunk/; revision=36904
2008-10-23 06:15:43 +00:00
Johannes Anderwald
6a8e7cb444 - Fix bug 3782
- Thanks to vicmarcel for bugtracking

svn path=/trunk/; revision=36897
2008-10-22 18:40:36 +00:00
Aleksey Bragin
e432b7cb6a - Typo fix.
See issue #3804 for more details.

svn path=/trunk/; revision=36896
2008-10-22 18:10:17 +00:00
Johannes Anderwald
8f68e42bf2 * Implement details status dialog
* Update all languages with en-US resource file

svn path=/trunk/; revision=36895
2008-10-22 17:46:55 +00:00
Stefan Ginsberg
3113d2a3ba - Notify umpnpmgr about logon after the shell has initialized
- This makes it possible to progress if userinit crashes due to heavy debug output (due to timing issues in its communication with umpnpmgr), which would leave you stranded with no shell. Not really a hack, as it doesn't hide or fix the crash -- just limits it to a missing "Pending device installations" prompt in case there are any pending. Also, it appears to be done the same way on Windows.

svn path=/trunk/; revision=36894
2008-10-22 13:59:01 +00:00
Stefan Ginsberg
f9eb539194 - Fix an assertion by casting to internal structures correctly
svn path=/trunk/; revision=36893
2008-10-22 13:24:01 +00:00
Johannes Anderwald
e2192f9e89 - Convert the string using the WideCharToMultiByte function and fix passed parameters
- Always zero-terminate the converted buffer
- Remove querying NameServer / DhcpNameServer under Parameters key because it is not used and was not working
- Initialize PrivateNSEnum CurrentName member 
- Make sure that only successfully converted NameServer get copied

svn path=/trunk/; revision=36892
2008-10-22 11:37:33 +00:00
Stefan Ginsberg
8929e5773c - Fix some debug prints
svn path=/trunk/; revision=36891
2008-10-22 11:16:52 +00:00
Johannes Anderwald
0b9841ccba - delete DhcpNameServer key when storing static Nameserver entries
svn path=/trunk/; revision=36890
2008-10-22 09:21:33 +00:00
Johannes Anderwald
04b274e07b - Query first for DhcpNameServer key value as this key is only present when DHCP is activated
svn path=/trunk/; revision=36889
2008-10-22 09:13:15 +00:00
Johannes Anderwald
627d39b522 - Delete old DhcpNameServer key when no nameservers could be obtained
- Close registry key when done

svn path=/trunk/; revision=36888
2008-10-22 09:00:33 +00:00
Daniel Reimer
ad02070158 Bug 3668: spanish inf files by Javier Remacha
Bug 3678: Greek translation for some media.inf files by Apostolos Alexiadis
Bug 3777: netcfgx and netshell translation update by Maciej Bialas

svn path=/trunk/; revision=36887
2008-10-22 06:07:13 +00:00
Cameron Gutman
e992027f42 - Merge aicom-network-fixes up to r36884
svn path=/trunk/; revision=36885
2008-10-22 01:31:00 +00:00
Stefan Ginsberg
154df420fc - Correct an assertion after ARM system call changes in 34366
svn path=/trunk/; revision=36880
2008-10-21 21:02:16 +00:00
James Tabor
d380bdc8d5 - Implement RtlQueryInformationActiveActivationContext and add new define. Wow, this one need some love from wine!
svn path=/trunk/; revision=36879
2008-10-21 19:49:17 +00:00
James Tabor
c33db42905 - Correct wrong ID'ed type, it is an activation context basic information buffer.
svn path=/trunk/; revision=36878
2008-10-21 19:29:37 +00:00
Aleksey Bragin
ca19f82e42 - If data is going to be modified, CcPinRead should be used instead of CcMapData. Fix this.
svn path=/trunk/; revision=36877
2008-10-21 18:48:08 +00:00
Stefan Ginsberg
42d35acde0 - Fix various compilation errors in SMP assembly (typos, missing jump labels and specifiers)
- Implement the SMP case in KiDispatchInterrupt -- on SMP we must raise IRQL to SYNCH_LEVEL, set the thread context swap busy flag and acquire the PRCB lock before calling KiQueueReadyThread and KiSwapContextInternal

svn path=/trunk/; revision=36876
2008-10-21 18:34:06 +00:00
KJK::Hyperion
a9f8e09aa6 Bring rosapps up to date with the rbuild changes of r36870
svn path=/trunk/; revision=36875
2008-10-21 17:42:04 +00:00
Stefan Ginsberg
1afb6785e5 - SMP SYNCH_LEVEL for x86 is IPI_LEVEL - 2 since 2K3
svn path=/trunk/; revision=36874
2008-10-21 16:23:06 +00:00
Stefan Ginsberg
08f6983072 - Add missing KPCR_PRCB_IDLE_SCHEDULE offset
svn path=/trunk/; revision=36873
2008-10-21 15:32:49 +00:00
James Tabor
d74d478c1f - Fix NtUserCreateWindowEx.
svn path=/trunk/; revision=36872
2008-10-21 14:51:14 +00:00
Stefan Ginsberg
c29b2234e3 - Add missing Cm (de)reference trace
svn path=/trunk/; revision=36871
2008-10-21 14:47:20 +00:00
KJK::Hyperion
9ac0fa4e4d modified tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
   Split rules for .spec files as input files vs import libraries. .spec files can now be specified independently as <file>s (to generate and compile a .stubs.c file) and <importlibrary> (to generate and compile a .spec.def file)
   .spec files are now specified in <importlibrary>s directly (instead of pointing to the non-existing, generated .spec.def file. Whose idea was that? sounds like the doing of Arch Blackmann)
   Allow multiple modules to share a single .spec file without using <importlibrary base="...">
   Allow static libraries to use .spec files in <importlibrary>
   Emit comments in makefile.auto so rules can be traced back to the code that generated them

deleted    lib/debugsup/debugsup-ntos.def
added      lib/debugsup/debugsup-ntos.spec
modified   lib/debugsup/debugsup.rbuild
   .def -> .spec

<<hundreds of rbuild files>>
   Remove <file> entry for spec file if there are no stubs to compile
   .spec.def -> .spec in <importlibrary> entries

Soon: making all keyboard layouts use a single .spec file
Dedicated to: Samuel Serapión, Stefan Ginsberg, and all the fellow team members who'll have an aneurysm at this commit

See issue #3746 for more details.

svn path=/trunk/; revision=36870
2008-10-21 13:51:49 +00:00
James Tabor
2f09acbb04 - Plug in GetDeviceCaps for gdi.
svn path=/trunk/; revision=36869
2008-10-21 02:56:36 +00:00
James Tabor
a37f382661 - Finish shared info based on XP and update user connect.
svn path=/trunk/; revision=36868
2008-10-21 00:23:49 +00:00
James Tabor
899b4742f2 - Quick setup for NtUserProcessConnect.
svn path=/trunk/; revision=36867
2008-10-20 23:43:11 +00:00
James Tabor
8023ef974f - Quick setup for NtUserProcessConnect.
svn path=/trunk/; revision=36866
2008-10-20 23:42:53 +00:00
Cameron Gutman
459b97691b - Merge aicom-network-fixes up to r36861
svn path=/trunk/; revision=36864
2008-10-20 21:57:06 +00:00
James Tabor
3e5dc81771 - Add missing PUMDHPDEV.
svn path=/trunk/; revision=36856
2008-10-20 19:37:03 +00:00
James Tabor
328f8323ab - Add driver info for psdk, update local DC and fixed eng functions so that it can support user mode print drivers.
svn path=/trunk/; revision=36855
2008-10-20 19:33:20 +00:00
Kamil Hornicek
a38d530792 don't deref. null pointer in case NameServer key doesn't exist
svn path=/trunk/; revision=36849
2008-10-20 17:06:13 +00:00
Ged Murphy
b686c53533 Prepare for a change of architecture.
Instead of building all Wine tests as dlls, we'll revert back to separate processes, but redirect the client processes stdin, stdout and stderr to named pipes set by the parent.

svn path=/trunk/; revision=36844
2008-10-20 14:49:59 +00:00
Aleksey Bragin
f3d835f4a1 - Move kernel32's baseaddress lower. Should fix problem with relocated kernel32 after linking in the ICU library.
svn path=/trunk/; revision=36839
2008-10-20 08:17:04 +00:00
James Tabor
b307fac06c - Update local DC structure and defines.
svn path=/trunk/; revision=36838
2008-10-20 07:36:21 +00:00
James Tabor
17e03f6041 - Cleanup IntGdiGetDeviceCaps, add more defines.
svn path=/trunk/; revision=36837
2008-10-20 05:07:46 +00:00
James Tabor
4f32b668d4 - Set GetBkColor for callers.
svn path=/trunk/; revision=36836
2008-10-20 04:07:42 +00:00
Stefan Ginsberg
8be0d9711a - SVN maintenance
svn path=/trunk/; revision=36833
2008-10-19 19:17:01 +00:00
Stefan Ginsberg
ee68bb094f - SVN maintenance
svn path=/trunk/; revision=36832
2008-10-19 19:11:18 +00:00
Timo Kreuzer
86f07d739d Win32 structure cleanup (WIP):
- remove DesktopHeapBase and DesktopHeapLimit from W32THREADINFO, use DESKTOPINFO members instead

svn path=/trunk/; revision=36831
2008-10-19 17:35:22 +00:00
Aleksey Bragin
fc64051142 - VFAT fixes: Actually perform a mandatory call to CcPurgeCacheSection during file deletion (fixes real NT5 cache manager attempts to write section of a deleted file).
- VFAT fixes: When querying FileStandardInformation, NT's fastfat driver sets NumberOfLinks to 1, ours sets it to 0 somewhy. Change to 1 for compatibility.
- A couple of debug prints improvements in VFAT.
- Comment out UNIMPLEMENTED in CcPurgeCacheSection to prevent debug messages flood.

svn path=/trunk/; revision=36830
2008-10-19 13:23:00 +00:00
Eric Kohl
0690324f95 Sync to wine-0.9.60:
- Rob Shearman <rob@codeweavers.com> Wed, 26 Mar 2008
widl: Support using context handles as the binding handle in client functions.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Use is_string_type for detecting strings in write_typeformatstring_var to make it consistent with write_remoting_arg.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Add support for generic binding handles.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Fix detection of non-pointer context handles.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Make sure that string types are always written out by write_string_tfs and not write_simple_pointer.

- Rob Shearman <rob@codeweavers.com> Mon, 31 Mar 2008
widl: Parse typedefs of function pointers.

- Rob Shearman <rob@codeweavers.com> Tue, 1 Apr 2008
widl: Be more strict about where semicolons can appear in IDL files.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Add a function to get the return type of a parsed function.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Store function and function pointer types completely within type_t type.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Support parsing calling conventions for function identifiers.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Support __fastcall and __pascal calling conventions.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Add a newline between function prototypes for non-object interfaces.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Fix the writing out of function pointers with more than one level of indirection.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Turn on verbose errors, which gives a little more information in the case of a syntax error.

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 3 Apr 2008
widl: Fix a mistake in an ordered list (keywords).


svn path=/trunk/; revision=36829
2008-10-19 12:30:41 +00:00
Stefan Ginsberg
c2a9e1f979 - Revert 36827
svn path=/trunk/; revision=36828
2008-10-19 11:47:27 +00:00
Stefan Ginsberg
b90c9f3490 - Temporarily (for one revision) disable Winetest's advapi32 security test to see how far build server survives -- will be reverted in next commit
svn path=/trunk/; revision=36827
2008-10-19 11:40:48 +00:00
James Tabor
efd40fb07e - Thanks Tommy! Cleanup millimeter conversion.
svn path=/trunk/; revision=36826
2008-10-19 04:52:48 +00:00
James Tabor
7d22914162 - Add missing CAPS to psdk.
- Implemented NtGdiGetDeviceCapsAll.
- Now support primary display device capabilities in shared gdi handle table.

svn path=/trunk/; revision=36825
2008-10-19 04:47:04 +00:00
Timo Kreuzer
e77f768a09 Win32 structure cleanup (WIP):
- replace hKernelHeap and HeapLimit from DESKTOPINFO with pvDesktopBase and pvDesktopLimit- replace hDesktopHeap with pheapDesktop in DESKTOP
- use PWIN32HEAP for the heap handle and use this and only this as the handle.
- Use the real base address for pvDesktopBase, instead of a copy of the heap handle

svn path=/trunk/; revision=36824
2008-10-19 02:05:41 +00:00
Timo Kreuzer
2f79d7bdbc Win32 structure cleanup (WIP):
- use rpdeskParent instead of Desktop in WINDOWCLASS
- use PDESKTOP instead of DESKTOPINFO in several places

svn path=/trunk/; revision=36820
2008-10-19 01:06:30 +00:00
Timo Kreuzer
e287c51858 Win32 structure cleanup (WIP):
- make use of pdesktop member in WINDOW structure
- replace usage of Wnd->ti->Desktop with Wnd->pdesktop->DesktopInfo

svn path=/trunk/; revision=36819
2008-10-19 00:43:54 +00:00
Timo Kreuzer
891379c597 Win32 structure cleanup (WIP):
Add some members to usermode shared structures to be used soon.

svn path=/trunk/; revision=36818
2008-10-19 00:39:40 +00:00
Timo Kreuzer
6d76cb42e5 Win32 structure cleanup (WIP):
Initialite THREADINFOs pClientInfo member

svn path=/trunk/; revision=36817
2008-10-18 23:01:57 +00:00
Colin Finck
c9a04929cc Allocate enough memory for Value (problem was spotted by Pigglesworth)
This problem was revealed by r36797 (thanks to aicom, elhoir, Lone_Rifle and vicmarcal for the help with regression testing)

Fixes ipconfig, ping and other network apps crashing with a buffer overflow.

svn path=/trunk/; revision=36816
2008-10-18 22:22:09 +00:00
Gregor Schneider
eb2c5f864c Initialize variables and close keys only if they were opened, based on wine code. Fixes CIDs 787, 788.
svn path=/trunk/; revision=36815
2008-10-18 21:38:25 +00:00
Kamil Hornicek
edb9e011a3 fix the fix, sorry
svn path=/trunk/; revision=36814
2008-10-18 21:29:44 +00:00
Kamil Hornicek
aa7f022cbc fix resource leak, CID 611
svn path=/trunk/; revision=36813
2008-10-18 21:07:45 +00:00
Colin Finck
290a31c692 Marcelo Slomp (mslomp@linuxmail.org):
- Prevent a redefinition of _pctype in newer GCC versions (like 4.3.2)

See issue #3598 for more details.

svn path=/trunk/; revision=36812
2008-10-18 20:49:00 +00:00
Timo Kreuzer
35fe207a58 Change return type of PsGetCurrentProcessWin32Process to PVOID.
svn path=/trunk/; revision=36811
2008-10-18 20:34:36 +00:00
Timo Kreuzer
a0cd996949 Win32 structure cleanup (WIP):
- Add ppi to THREADINFO and initialize it
- Initialize THREADINFO.PtiLink and DESKTOP.PtiList and link the thread to it's desktop

svn path=/trunk/; revision=36810
2008-10-18 19:54:59 +00:00
Gregor Schneider
ab0284e40d Close file after processing it. Fixes CIDs 626, 627.
svn path=/trunk/; revision=36809
2008-10-18 19:42:31 +00:00
Stefan Ginsberg
cd8f013010 - Fix ObIsKernelHandle routine to return what it should rather than always returning FALSE (Note: the macro version we use internally is correct)
svn path=/trunk/; revision=36808
2008-10-18 15:04:26 +00:00
Michael Martin
13005080b5 - Fixed typo in SetMenuAndButtonStates. See bug 3792 for more info.
- Pass correct size for ServiceStatusProcess to QueryServiceStatusEx which prevents trashing the next services information in Info buffer.
- Added missing CloseServiceHandle calls.

svn path=/trunk/; revision=36807
2008-10-18 11:49:25 +00:00
Cameron Gutman
36f0316d51 - Merge aicom-network-fixes up to r36803
svn path=/trunk/; revision=36804
2008-10-18 04:32:30 +00:00
Matthias Kupfer
fc86d60e95 draw disk usage bar from "used" to "free" (left to right)
svn path=/trunk/; revision=36801
2008-10-17 21:54:03 +00:00
Timo Kreuzer
9353696890 Win32 structure cleanup (WIP):
- Use CLIENTINFO.ulClientDelta instead of W32THREADINFO.DesktopHeapDelta
- Remove DesktopHeapDelta from W32THREADINFO- Add PtiList to DESKTOP
- Add pClientInfo to THREADINFO

svn path=/trunk/; revision=36800
2008-10-17 21:07:24 +00:00
Johannes Anderwald
eed100a55c * Store more settings in registry
svn path=/trunk/; revision=36799
2008-10-17 20:01:58 +00:00
Johannes Anderwald
b12ad06d48 * Fix retrieval of automatic DNS settings 2/2
svn path=/trunk/; revision=36797
2008-10-17 19:04:00 +00:00
Johannes Anderwald
71d93bc857 * Fix retrieval of automatic DNS settings 1/2
svn path=/trunk/; revision=36796
2008-10-17 19:03:11 +00:00
Timo Kreuzer
8d9c365f88 Win32 structure cleanup (WIP):
- Add pDeskInfo and PtiLink to THREADINFO

svn path=/trunk/; revision=36795
2008-10-17 18:22:06 +00:00
Johannes Anderwald
905c093675 * Set AutoconfigEnabled if DNS is acquired by DHCP
* Fix a handle leak

svn path=/trunk/; revision=36794
2008-10-17 18:20:00 +00:00
Johannes Anderwald
521eec8b76 * If there is no static nameserver entry, look up dynamically assigned one
svn path=/trunk/; revision=36793
2008-10-17 18:00:06 +00:00
Timo Kreuzer
e81d786ce9 Win32 structure cleanup (WIP):
- remove AppCompatFlags from W32THREADINFO

svn path=/trunk/; revision=36792
2008-10-17 17:19:04 +00:00
Gregor Schneider
87fd2c6cad Typo: check for success of newest allocations.
svn path=/trunk/; revision=36791
2008-10-17 15:13:27 +00:00
Johannes Anderwald
2edf0dbef8 * Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
* Delete obsolete code

svn path=/trunk/; revision=36790
2008-10-17 13:19:04 +00:00
Timo Kreuzer
65e82782c9 Win32 structure cleanup part 3 / x:
- rename DESKTOP_OBJECT to DESKTOP

svn path=/trunk/; revision=36789
2008-10-17 13:09:56 +00:00
Timo Kreuzer
2e9e3c99e6 Fix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which should be a kernel pointer.
svn path=/trunk/; revision=36788
2008-10-17 11:18:57 +00:00
Cameron Gutman
187ed1777f - Merge aicom-network-fixes up to r36785
svn path=/trunk/; revision=36787
2008-10-17 10:42:44 +00:00
Timo Kreuzer
9c8b2fd447 Win32 structure cleanup part 2 / x:
- rename DESKTOP to DESKTOPINFO

svn path=/trunk/; revision=36786
2008-10-17 10:40:04 +00:00
Johannes Anderwald
e18ac2ee40 - Hide ncpa.cpl from control panel
svn path=/trunk/; revision=36783
2008-10-17 10:21:15 +00:00
Stefan Ginsberg
0bdd03839a - Add comments to GetTextFaceW
- Apology to GreatLord, his code was correct and I fail -- hint: don't code and commit at late night ;0)

svn path=/trunk/; revision=36782
2008-10-17 07:20:23 +00:00
James Tabor
e2447c3d0f Checked code format, compiler has issues.
svn path=/trunk/; revision=36781
2008-10-17 04:56:47 +00:00
James Tabor
bc4ca08f94 Move GetTextFaceAliasW to text.c.
svn path=/trunk/; revision=36780
2008-10-17 04:34:21 +00:00
KJK::Hyperion
8c7bebfed8 - test GetTextFaceW instead of GetTextFaceA
- test that:
    - the last error is never set
    - the buffer size is ignored if the buffer is NULL
    - the buffer size is returned if the buffer is non-NULL and too small
    - the function fails if a non-NULL buffer has a size <= 0
 - allocate the DC for a GDI test with a GDI routine (CreateCompatibleDC) instead of an USER routine (GetDC)

svn path=/trunk/; revision=36779
2008-10-17 00:28:47 +00:00
Cameron Gutman
97d55c7685 - Fix livecd font substitution
svn path=/trunk/; revision=36778
2008-10-17 00:04:53 +00:00
KJK::Hyperion
0e8851de86 You can't make this shit up.
svn path=/trunk/; revision=36777
2008-10-17 00:00:55 +00:00
KJK::Hyperion
f60c12e03a The original GetTextFaceW implementation (r28730) was right all along, except GDI APIs don't usually set the last error (GetTextFaceW doesn't). The conditional was non-intuitive but nevertheless correct (tested under Windows Vista SP1). This commit negates the conditional (the AND form is more readable) and switches the "if" branches, and removes the call to SetLastError. If Coverity really flagged this, it could mean the bug is actually in NtGdiGetTextFaceW
svn path=/trunk/; revision=36776
2008-10-16 23:49:31 +00:00
Stefan Ginsberg
a8052c7bb2 - More correct check for GetTextFaceW
svn path=/trunk/; revision=36775
2008-10-16 20:21:00 +00:00
Timo Kreuzer
2f5ea4625b Tests for GetTextFace
svn path=/trunk/; revision=36774
2008-10-16 20:16:38 +00:00
Stefan Ginsberg
6e6e3d15c7 - Unbreak GetTextFaceA/W, broken since 28730 by GreatLord
svn path=/trunk/; revision=36773
2008-10-16 20:02:22 +00:00
Timo Kreuzer
1d3e8f7e54 CmDeleteKey: Copy LastWriteTime from cell to KCB, instead of querying again.
svn path=/trunk/; revision=36772
2008-10-16 19:07:28 +00:00
Timo Kreuzer
d13301ae65 Win32 structure cleanup part 1 / x:
- replace W32THREAD with THREADINFO, define W32THREAD like it's on Windows and make it part of THREADINFO.

svn path=/trunk/; revision=36769
2008-10-16 17:52:38 +00:00
Timo Kreuzer
837002ff59 Change return type of PsGetCurrentThreadWin32Thread to PVOID. Kernel don't know 'bout W32THREAD!
svn path=/trunk/; revision=36768
2008-10-16 17:21:08 +00:00
Gregor Schneider
5c169cc017 No need to unlock, if locking failed. Fixes CID 186.
svn path=/trunk/; revision=36767
2008-10-16 17:12:25 +00:00
KJK::Hyperion
55c21fd29a modified rbuild/backend/codeblocks/codeblocks.cpp
modified   rbuild/backend/mingw/modulehandler.cpp
modified   rbuild/backend/msbuild/msbuild.cpp
modified   rbuild/backend/msvc/vcprojmaker.cpp
modified   rbuild/project.cpp
modified   rbuild/rbuild.h
   Index properties and modules by name.
   Should make for faster lookups and slightly faster overall execution, no idea exactly by how much but there you have it.

modified   rbuild/automaticdependency.cpp
modified   rbuild/backend/dependencymap/dependencymap.cpp
modified   rbuild/backend/devcpp/devcpp.cpp
modified   rbuild/backend/mingw/mingw.cpp
modified   rbuild/backend/mingw/proxymakefile.cpp
modified   rbuild/backend/msvc/msvc.cpp
modified   rbuild/backend/msvc/msvcmaker.cpp
modified   rbuild/backend/versionreport/versionreport.cpp
modified   rbuild/compilationunitsupportcode.cpp
modified   rbuild/module.cpp
modified   rbuild/pch.h
modified   rbuild/syssetupgenerator.cpp
modified   rbuild/testsupportcode.cpp
   Fix compilation, no functional changes

This dedication committed to Casper and Hervé

svn path=/trunk/; revision=36766
2008-10-16 13:40:39 +00:00
Kamil Hornicek
241074220b - remove dead code, fixes CID 60, CID 61
svn path=/trunk/; revision=36765
2008-10-16 08:50:56 +00:00
Kamil Hornicek
4e58a2eaca don't loop (UINT)-1 times if the section is not present, CID 445
svn path=/trunk/; revision=36764
2008-10-15 18:59:47 +00:00
Kamil Hornicek
149add092a remove unneeded check, it's ok to create new context in this case
svn path=/trunk/; revision=36763
2008-10-15 18:39:04 +00:00
Johannes Anderwald
fa0cd2cd47 - Implement Advanced Status IP Information Dialog
- Import language strings from netcfgx
- Add icon group (32x32)
- ncpa is now a candidate for deletion

svn path=/trunk/; revision=36762
2008-10-15 17:20:55 +00:00
KJK::Hyperion
427c90af34 added lib/rtl/rtl-common.rbuild
modified   lib/rtl/rtl.rbuild
   Compile rtl twice, as rtl_umode and rtl_kmode. Allows conditional compilation of RTL (finally!), instead of necessitating hacks like RtlpGetMode()
   "rtl" module now a dummy static library for things like <include base="rtl">

modified   boot/freeldr/freeldr/freeldr.rbuild
modified   boot/freeldr/freeldr/setupldr.rbuild
modified   ntoskrnl/ntoskrnl-generic.rbuild
   rtl -> rtl_kmode

modified   dll/ntdll/ntdll.rbuild
   rtl -> rtl_umode

This commit dedicated to Fireball and Stefan100 (now get to work! >:3)

svn path=/trunk/; revision=36761
2008-10-15 15:45:11 +00:00
KJK::Hyperion
7b75f95f4b Give .gch files an unique path based on module name: allows multiple modules to (safely!) share a single precompiled header.
Enjoy rebuilding the whole tree <3

This commit dedicated to hpoussin
See issue #3263 for more details.

svn path=/trunk/; revision=36760
2008-10-15 13:46:23 +00:00
Daniel Reimer
b86c8c5ee2 Bug 3791: Translate norwegian update by Lars Martin Hambro
svn path=/trunk/; revision=36759
2008-10-15 08:37:47 +00:00
Kamil Hornicek
9ece00b4f8 update to Mesa3D 7.2
svn path=/trunk/; revision=36758
2008-10-15 08:31:54 +00:00
Cameron Gutman
2278115192 - Merge aicom-network-fixes up to r36755
svn path=/trunk/; revision=36756
2008-10-15 00:32:36 +00:00
Timo Kreuzer
a075ba41c2 - Update CLIENTTHREADINFO structure
- Rename W32CLIENTINFO to CLIENTINFO and update members
- C_ASERT that CLIENTINFO fits into the TEB

svn path=/trunk/; revision=36753
2008-10-14 21:03:20 +00:00
Aleksey Bragin
c064c14ced - Mbcb field of SHARED_CACHE_MAP structure has MBCB type, not MCB.
svn path=/trunk/; revision=36752
2008-10-14 18:27:15 +00:00
Michael Martin
da1d359b70 - REnumServicesStatusA/REnumServicesStatusExA: Call REnumServicesStatusW/REnumServicesStatusExW to do the work eliminating duplicate code.
- lpResumeIndex and lpResumeHandle are set to 0 on success.

svn path=/trunk/; revision=36751
2008-10-14 17:55:44 +00:00
Michael Martin
d9a416da9f - REnumServicesStatusExW: Correct check for returning ERROR_SERVICE_DOES_NOT_EXIST.
- fixes bug #3787

svn path=/trunk/; revision=36750
2008-10-14 15:59:09 +00:00
Aleksey Bragin
ed58e3df34 - Don't pass CMP_LOCK_HASHES_FOR_KCB flag because no locking is perform in CmpBuildHashStackAndLookupCache, fixes an assert when trying to unlock not locked object.
- Add a hack (one and only one) for the MaxNameLen being different in KCB and actual KeyNode to allow regression testing framework go further.

svn path=/trunk/; revision=36747
2008-10-14 13:56:58 +00:00
Daniel Reimer
685d1fe7e7 Bug 3750: spanish update for netcfgx by Javier Remacha
Bug 3774: Greek update for usetup by Apostulos Alexandris
Sync wordpad and Winhlp32 to Wine HEAD.

svn path=/trunk/; revision=36746
2008-10-14 13:47:07 +00:00
Daniel Reimer
f4bb1d0429 Sync winfile and write to wine HEAD.
svn path=/trunk/; revision=36745
2008-10-14 13:44:12 +00:00
KJK::Hyperion
4182d4759d Add ICU <URL: http://www.icu-project.org/> to credits
svn path=/trunk/; revision=36744
2008-10-13 21:35:25 +00:00
Cameron Gutman
b17ea7dab0 - Fix build
svn path=/trunk/; revision=36743
2008-10-13 01:18:04 +00:00
Cameron Gutman
7beefc5606 - Merge aicom-network-fixes up to r36740
svn path=/trunk/; revision=36741
2008-10-13 01:07:37 +00:00
Cameron Gutman
6532da2ccb - Implement ProtocolResetComplete
- Store the status that gets passed to the completion routine

svn path=/branches/aicom-network-fixes/; revision=36740
2008-10-13 00:55:33 +00:00
Cameron Gutman
b01ceaabdc - Make sure NBAddNeighbor completed successfully
- Return the actual status instead of STATUS_SUCCESS always

svn path=/branches/aicom-network-fixes/; revision=36739
2008-10-13 00:52:25 +00:00
Cameron Gutman
23d01c2592 - Queue the work item directly from MiniQueueWorkItem
- Handle an invalid SelectedMediumIndex separately
 - Cancel the hang timer before calling MiniportHalt
 - Handle a BindAdapter failure

svn path=/branches/aicom-network-fixes/; revision=36738
2008-10-13 00:41:48 +00:00
Michael Martin
8f6cb6dbf6 - Implement REnumServicesStatusExA
- REnumServicesStatusA/W: Fixed returned param values to match Windows 
- REnumServicesStatusExW: Dont try to access lpResumeIndex if it is NULL. Fixed returned param values to match windows.

svn path=/trunk/; revision=36732
2008-10-12 13:10:05 +00:00
Aleksey Bragin
65bfc45d55 - Implement locking for Cc flush (the one used in NT5.2 results in a hang, might be because of a misused PagingIoResource).
- If an acquire/release operation is not implemented, FSD must return STATUS_INVALID_DEVICE_REQUEST, not some other error code.
- Fix a typo in the debug message.

svn path=/trunk/; revision=36731
2008-10-12 09:34:29 +00:00
Michael Martin
43dc41bad7 - Implement REnumServicesStatusA
- REnumServicesStatusW: Dont try to access lpResumeHandle if it is NULL

svn path=/trunk/; revision=36724
2008-10-12 00:02:17 +00:00
Johannes Anderwald
2b468f41a1 - Fix another bug...
svn path=/trunk/; revision=36723
2008-10-11 19:40:56 +00:00
Johannes Anderwald
6da373e9fd - Fix MultiByteToWideChar api parameters (thanks Christoph)
- Fix bugs in EnumNameServers

svn path=/trunk/; revision=36722
2008-10-11 19:30:45 +00:00
Johannes Anderwald
639ed2255f - Fix 2 bugs in the CopyIpAddrString leading to duplicate displayment of the same ip /dns /gw address
svn path=/trunk/; revision=36721
2008-10-11 19:28:39 +00:00
Johannes Anderwald
722bbf4ef3 - Implement GetPerAdapterInfo
- Fix multiple bugs in EnumNameServers implementation

svn path=/trunk/; revision=36720
2008-10-11 19:12:14 +00:00
Aleksey Bragin
33e3938bb1 - Fix a memory leak in IopUnloadDriver.
- Driver object temporary was not marked temporary, thus it wasn't really deleted after reference counter reached 0. Fix this (inspired by bug #3501).
See issue #3501 for more details.

svn path=/trunk/; revision=36719
2008-10-11 17:39:12 +00:00
Aleksey Bragin
96101fb28c Daniel Zimmerman <netzimme@aim.com>
- Implement MmGetFileNameForAddress (with the good description written previously). Testcased with OllyDbg and Syser (with the patch from bug 3454) when try to attach to a process.
See issue #3690 for more details.

svn path=/trunk/; revision=36718
2008-10-11 15:16:28 +00:00
Johannes Anderwald
3da5587cec - Replace IDOK with IDC_OK as this creates problems
- Add NULL pointer checks
- Misc bugfixes

svn path=/trunk/; revision=36715
2008-10-11 12:38:03 +00:00
Stefan Ginsberg
c74e4990a1 - ProbeForRead/Write Length argument is a SIZE_T, not a ULONG
svn path=/trunk/; revision=36713
2008-10-11 09:42:44 +00:00
Stefan Ginsberg
1e1d996268 - Fix portable Ex/ExfInterlockedCompareExchange64 to compare Destination with the Comparand instead of...itself?
svn path=/trunk/; revision=36712
2008-10-11 09:39:08 +00:00
Stefan Ginsberg
f01ffb27dc - ARM build fix -- add a non-atomic (but otherwise correct) _InterlockedCompareExchange64 intrinsic required since the RTL changes in 36166
svn path=/trunk/; revision=36711
2008-10-11 09:32:57 +00:00
Colin Finck
a9ef74a387 Fix the units
svn path=/trunk/; revision=36707
2008-10-10 16:42:09 +00:00
Johannes Anderwald
e156f23a14 - Implement IContextMenu3, IObjectWithSite, IExtractIconW interface
svn path=/trunk/; revision=36706
2008-10-10 15:18:18 +00:00
Stefan Ginsberg
6d04b16d6d - SVN maintenance
svn path=/trunk/; revision=36705
2008-10-10 13:34:27 +00:00
Johannes Anderwald
a080d60e4c - Don't use uninitialized INetConnection item
- should fix bug 3754

svn path=/trunk/; revision=36704
2008-10-10 09:36:39 +00:00
Thomas Bluemel
f8283ec523 Fix warning: Variable may be used uninitialized
svn path=/trunk/; revision=36703
2008-10-10 01:24:44 +00:00
Johannes Anderwald
36d4bf7f6e - Implement Advanced TCP/IP Configuration GUI Dialogs
svn path=/trunk/; revision=36702
2008-10-09 17:48:53 +00:00
Ged Murphy
c47e063f16 Call Query/SetSecurityAccessMask to get the mask
svn path=/trunk/; revision=36701
2008-10-09 15:06:57 +00:00
Cameron Gutman
3d33a2e976 - More work on NDIS 6.0
- Part 2 of X

svn path=/branches/aicom-network-fixes/; revision=36700
2008-10-08 22:25:01 +00:00
Cameron Gutman
1e22a89acc - Some of my work on NDIS 6.0
- Doesn't compile yet
 - Part 1 of X

svn path=/branches/aicom-network-fixes/; revision=36699
2008-10-08 21:17:10 +00:00
Dmitry Chapyshev
b1c39670f7 - Fix formatting (no code changed)
svn path=/trunk/; revision=36698
2008-10-08 16:26:50 +00:00
Dmitry Chapyshev
c196de6a7f - Add getting icon metrics
- Change icons sizes at change of system settings

svn path=/trunk/; revision=36697
2008-10-08 16:01:41 +00:00
Timo Kreuzer
5a9f88c144 remove a RETURN() macro
svn path=/trunk/; revision=36696
2008-10-08 15:41:52 +00:00
Dmitry Chapyshev
d70f2da816 - Update Russian translation
svn path=/trunk/; revision=36695
2008-10-08 14:48:30 +00:00
Timo Kreuzer
499b067bc4 Also raise hard error when dll was not found.
svn path=/trunk/; revision=36694
2008-10-08 14:37:10 +00:00
Timo Kreuzer
a8bc8a5bcf Raise hard error (show message box) when imports cannot be resolved. Windows only shows the short dll name, but I think it's worth showing the full path.
See issue #1228 for more details.

svn path=/trunk/; revision=36693
2008-10-08 14:09:30 +00:00
Dmitry Chapyshev
d63ea3d381 - Add getuname.dll (stub). charmap.exe from winxp work now
svn path=/trunk/; revision=36692
2008-10-08 11:51:03 +00:00
Timo Kreuzer
f5cbabe20c Add basic tests for BeginPath andd SetMapMode
svn path=/trunk/; revision=36691
2008-10-08 10:58:41 +00:00
Johannes Anderwald
049bf94d41 - Add 2 more error constants
svn path=/trunk/; revision=36690
2008-10-08 08:27:00 +00:00
Daniel Reimer
7322f606d4 Bug 3751: Polish translation update for netcfgx by Maciej Bialas
svn path=/trunk/; revision=36689
2008-10-08 00:49:51 +00:00
Daniel Reimer
baf8755097 Forgot one file. Sorry.
svn path=/trunk/; revision=36688
2008-10-08 00:39:50 +00:00
Johannes Anderwald
43a1f04fb8 - Add missing dialogs of TCP/IP Notify Object
svn path=/trunk/; revision=36687
2008-10-08 00:27:35 +00:00
Timo Kreuzer
419b09b96a - rewrite NtGdiPolyPolyDraw, optimizing it and making it more windows compatible
- Make PolyCounts ULONGs, not DWORDS or INTs.
- Remove GdiCreatePolyPolygonRgn and use IntCreatePolyPolygonRgn instead to get rid of code-duplication.
- IntGdiPolygon: rename UnsafePoints to Points

svn path=/trunk/; revision=36686
2008-10-07 23:02:41 +00:00
Timo Kreuzer
8a8e0aaae0 Fix FLOATOBJ_IsLong. Fix MapMode MM_ISOTROPIC.
This fixes the clock in timedate.cpl.

svn path=/trunk/; revision=36685
2008-10-07 22:57:50 +00:00
Timo Kreuzer
4ad9ae2b66 fix a typo
svn path=/trunk/; revision=36684
2008-10-07 22:24:17 +00:00
Daniel Reimer
85fcc4255f ooops. my fault...
svn path=/trunk/; revision=36683
2008-10-07 21:58:38 +00:00
Daniel Reimer
1876668958 Bug 3752: Translate files by Lars Martin Hambro
svn path=/trunk/; revision=36682
2008-10-07 21:12:45 +00:00
Daniel Reimer
ecc5f56883 Bug 3752: Translate files by Lars Martin Hambro
Bug 3768: Bulgarian translation update for ReactOS by CCTAHEB

svn path=/trunk/; revision=36681
2008-10-07 20:56:48 +00:00
Stefan Ginsberg
fce1822384 - HalRequestIpi takes a KAFFINITY as input, not a ULONG -- fix this and add a note about MP HAL's brokenness
svn path=/trunk/; revision=36680
2008-10-07 20:56:48 +00:00
Stefan Ginsberg
9ad1faa02e - Fix PKIPI_WORKER definition
- Add missing KeQueryActiveProcessors prototype

svn path=/trunk/; revision=36679
2008-10-07 18:07:31 +00:00
Stefan Ginsberg
c8fbbdcd1c - Add missing KiIdleSchedule and KiProcessDeferredReadyList
svn path=/trunk/; revision=36678
2008-10-07 17:55:32 +00:00
Stefan Ginsberg
e8837da84f - Add missing jump label to ExpInterlockedCompareExchange64
svn path=/trunk/; revision=36677
2008-10-07 17:42:54 +00:00
Aleksey Bragin
cab14c3ecc Daniel Zimmerman <netzimme@aim.com>
- Sync the sfc_os.dll with Wine and implement SfcIsFileProtected and
SfcIsKeyProtected. The installer will work better with this two function.

See issue #3719 for more details.

svn path=/trunk/; revision=36676
2008-10-07 11:23:36 +00:00
Dmitry Chapyshev
41e05c41dd - Add stubs for CredReadDomainCredentialsA/W, CredWriteDomainCredentialsA/W, CredUnmarshalCredentialA/W
- Add prototypes to header

svn path=/trunk/; revision=36675
2008-10-07 10:55:57 +00:00
Dmitry Chapyshev
77e8f8ad3f - Import credui from wine
svn path=/trunk/; revision=36674
2008-10-07 10:51:36 +00:00
Cameron Gutman
cc68183962 - Partially implement ProtocolStatus in tcpip
svn path=/branches/aicom-network-fixes/; revision=36670
2008-10-06 23:19:22 +00:00
Cameron Gutman
a033d44691 - Implement a MiniportShutdown routine for both NIC drivers
svn path=/branches/aicom-network-fixes/; revision=36669
2008-10-06 21:39:39 +00:00
Ged Murphy
5951657051 It looked like we could get away with removing this hack, but it seems it still causes painting problems when increasing the width. No time to investigate at the moment. (anyone else wanna take a look?)
svn path=/trunk/; revision=36668
2008-10-06 19:15:09 +00:00
Cameron Gutman
b3443bcbb9 - Call the MiniportShutdown handler at the right time
- Now we call it upon system shutdown and if a bug check occurred

svn path=/branches/aicom-network-fixes/; revision=36667
2008-10-06 18:56:44 +00:00
Ged Murphy
0f3e8477e1 - Add an address bar to serve as the web browser and folder history list (not yet functional)
- Hide the drivebar by default. It's cleaner this way
- Remove the old rebar hack. This should get rid of those annoying blue marks at the end of the toolbars

svn path=/trunk/; revision=36666
2008-10-06 18:42:17 +00:00
Gregor Schneider
22ed768c30 - Calculate the image size before the height is reported negative, remove redundant if
- Set image size for coreheader in first pass and for both header types in second pass
Fixes seven gdi32 bitmap winetests.

svn path=/trunk/; revision=36665
2008-10-06 12:39:27 +00:00
Gregor Schneider
f20c6fa6a4 -rgbReserved must be 0
-don't just fill a coreheader and dismiss it
-probe the full bitmap size, not only the first ulong
-CreateDIBSection should fail for compressed bitmaps
-set biClrUsed and copy the bitmapInfoHeader after it's filled
Fixes eight gdi32 bitmap winetests.

svn path=/trunk/; revision=36664
2008-10-06 11:25:38 +00:00
Aleksey Bragin
a7e1400f0c Cecill Etheredge <ijsf@gmx.net>
- The RtlEnumerateGenericTableWithoutSplaying function in RTL (generictable.c) effectively performs an endless enumeration, never advancing to the next successor element in the tree because of a bug in the code. Fix this. (Bug #3756).
- The RtlDelete code misses a line of code checking whether the node is a root,
and instead always returns NULL (assuming it is the root). Fix this. (Bug #3760).
See issue #3760 for more details.

svn path=/trunk/; revision=36663
2008-10-06 10:50:22 +00:00
Aleksey Bragin
ef393802e4 Dmitry Gorbachev
- Specify a no-entrypoint for modules without one (otherwise ld sets entry point to a random function).
See issue #3758 for more details.

svn path=/trunk/; revision=36662
2008-10-06 10:36:33 +00:00
Aleksey Bragin
feb1e5232e Dmitry Gorbachev
- lfn_get() reads past the end of name[]. Though harmless, it produces 'array subscript is above array bounds' compiler warning (treated as error).
See issue #3762 for more details.

svn path=/trunk/; revision=36661
2008-10-06 10:19:55 +00:00
Aleksey Bragin
cbda8b5401 Dmitry Gorbachev
- Fix 'overflow in implicit constant conversion' warnings (treated as errors).
See issue #3759 for more details.

svn path=/trunk/; revision=36660
2008-10-06 10:12:26 +00:00
Cameron Gutman
31b506837b - Add NDIS_OBJECT_HEADER and NDIS_GENERIC_OBJECT (NDIS 6.0)
svn path=/branches/aicom-network-fixes/; revision=36659
2008-10-06 01:40:07 +00:00
Ged Murphy
f0c460be21 Remove the address and command windows from the bottom of the file browser. They're buggy and they're not too pretty
svn path=/trunk/; revision=36658
2008-10-05 21:21:04 +00:00
Ged Murphy
beb0a4d899 Set the start button as the owner of the root start menu.
Fix the position of the root start menu

svn path=/trunk/; revision=36657
2008-10-05 13:33:41 +00:00
James Tabor
008e7f19c1 - Move DC_UpdateXforms out of the switch in SetMapMode. It does not effect anything.
svn path=/trunk/; revision=36655
2008-10-05 12:23:46 +00:00
James Tabor
47e5a8aad7 - Fix a Kernel Assert in EngAllocMem called from brush and add a tag.
svn path=/trunk/; revision=36653
2008-10-05 11:38:01 +00:00
James Tabor
18edd07564 - Force a recompute when setting map modes.
svn path=/trunk/; revision=36652
2008-10-05 11:26:09 +00:00
Gregor Brunmar
23bb9ae68f D3D9:
* Implemented DdGetAvailDriverMemory callback

svn path=/trunk/; revision=36651
2008-10-05 07:33:05 +00:00
James Tabor
dc649db4d4 - Fix order of calls in IntGdiPolygon. Check for PATH first.
svn path=/trunk/; revision=36650
2008-10-04 23:34:04 +00:00
Cameron Gutman
30f8dc548c - Only call the ProtocolReceivePacket handler if the protocol registered one
- Remove some unneeded code
 - Immediately send the loopback packet if possible

svn path=/branches/aicom-network-fixes/; revision=36649
2008-10-04 21:55:01 +00:00
Cameron Gutman
38d2e13461 - Properly implement MiniIndicateReceivePacket
svn path=/branches/aicom-network-fixes/; revision=36648
2008-10-04 21:31:36 +00:00
Cameron Gutman
1007f26da6 - Add SDL Mixer to downloader (Needed for LGeneral)
svn path=/trunk/; revision=36647
2008-10-04 17:26:11 +00:00
Ged Murphy
4b6830859b change quicklaunch rebar hardcoded size. This puts the gripper for the taskbar in the correct position
svn path=/trunk/; revision=36646
2008-10-04 16:47:41 +00:00
Cameron Gutman
d50f5d2833 - Fix the uTorrent link
svn path=/trunk/; revision=36645
2008-10-04 16:47:08 +00:00
Ged Murphy
ffa9230be9 - Use TBSTATE_PRESSED, our checked graphic isn't too pretty
- reduce desktops to 2 to save some taskbar space
- switch the icon back to the original one. It suits the tango set much better.

svn path=/trunk/; revision=36644
2008-10-04 13:19:23 +00:00
Colin Finck
0c0a645911 Update some links properly and update the description of Opera (sounds stupid to use the same for Firefox and Opera)
svn path=/trunk/; revision=36643
2008-10-04 13:00:33 +00:00
Ged Murphy
c06aacaa70 use latest firefox link, from caemyr
svn path=/trunk/; revision=36642
2008-10-04 12:09:30 +00:00
James Tabor
422abc788a - Update DEVCAPS to W2k/XP.
svn path=/trunk/; revision=36641
2008-10-04 11:18:30 +00:00
Cameron Gutman
b0e7e05ba2 - Send NDIS_STATUS_RESET_START to all bound protocols before we reset
- Send NDIS_STATUS_RESET_END to all bound protocols after we reset
 - Set MiniportBusy to TRUE if the MiniportReset handler returned NDIS_STATUS_PENDING

svn path=/branches/aicom-network-fixes/; revision=36635
2008-10-03 21:44:12 +00:00
Cameron Gutman
cd9b7fd8a1 - Merge aicom-network-fixes up to r36633
- tcpip's ProtocolStatus routine now gets called if a media status change occurs
 - This would fix a problem in which tcpip doesn't recognize the disconnect of an adapter but the ProtocolStatus handler in tcpip isn't implemented yet so the bug remains

svn path=/trunk/; revision=36634
2008-10-03 18:51:33 +00:00
Cameron Gutman
e92e21d4cf - Move the implementation of NdisMIndicateStatus to MiniStatus and call it from NdisMIndicateStatus
- Move the implementation of NdisMIndicateStatusComplete to MiniStatusComplete and call it from NdisMIndicateStatusComplete

svn path=/branches/aicom-network-fixes/; revision=36633
2008-10-03 18:38:40 +00:00
Cameron Gutman
aed6591143 - Implement NdisMIndicateStatusComplete
svn path=/branches/aicom-network-fixes/; revision=36632
2008-10-03 18:16:43 +00:00
Cameron Gutman
c3bf439096 - Implement NdisMIndicateStatus
svn path=/branches/aicom-network-fixes/; revision=36631
2008-10-03 09:49:37 +00:00
Colin Finck
bfbc5ffd7d - Add the other CPU_* codes (got them from a PDB)
- Restructure the CPU vendor check in KiGetFeatureBits with a switch statement
- Enable experimental support for Cyrix, Transmeta, Centaur and Rise CPUs (experimental = mostly untested)
- Just add CMPXCHG8B support to the feature bits for Centaur CPUs like it's already done for Rise CPUs without touching any MSRs.
  The instruction already works properly by default according to two official Centaur datasheets. Also Geoz on IRC already reported that his C3 Nehemiah works with ReactOS after this patch.
- Enable the 3DNow detection code through extended CPUID also for Centaur CPUs (all CPUs from IDT WinChip C6 to VIA C3 Ezra-T supported it)
- Report the presence of AMD K6 MTRRs also for mobile AMD K6-2+/K6-III+ CPUs (model D)

svn path=/trunk/; revision=36630
2008-10-02 21:57:36 +00:00
Johannes Anderwald
44d59eb606 - Fix a bug in _ILCreateNetConnect
- Add IQueryInfo interface

svn path=/trunk/; revision=36627
2008-10-02 17:32:51 +00:00
Aleksey Bragin
629de52bc2 - Sync RegGetValueA/W implementation (no functional changes though, mostly comments).
- Port RegQueryValueExW from Wine (but leaving RegQueryValueExA as a wrapper, with a fix).
- Implement RegSetValueA/W based on Wine's implementation, and removing old, different (A and W) versions of RegSetValue.

svn path=/trunk/; revision=36623
2008-10-02 11:30:44 +00:00
Cameron Gutman
fa71aedefe - Merge aicom-network-fixes up to r36621
svn path=/trunk/; revision=36622
2008-10-02 09:42:08 +00:00
Cameron Gutman
177f7f87d8 - Adapter is PLOGICAL_ADAPTER not PNDIS_MINIPORT_BLOCK
svn path=/branches/aicom-network-fixes/; revision=36621
2008-10-02 02:13:19 +00:00
Cameron Gutman
2e295e7d36 - Only call MiniportISR if the miniport driver called NdisMRegisterInterrupt with RequestIsr TRUE
- If RequestIsr is FALSE call the MiniportDisableInterrupt handler

svn path=/branches/aicom-network-fixes/; revision=36620
2008-10-02 02:04:57 +00:00
Cameron Gutman
769eadf101 - Adapter not NdisMiniportBlock is passed to ServiceRoutine
svn path=/branches/aicom-network-fixes/; revision=36619
2008-10-01 23:10:00 +00:00
Gregor Schneider
0a6956246f Initialize iCodePage to 0, because if might be used uninitialized.
svn path=/trunk/; revision=36618
2008-10-01 20:08:50 +00:00
Gregor Schneider
b95a85f898 After entering a case on iEncoding for ANSI/UTF, iEncoding can only have those two values. Fixes Coverity CIDS 19, 20.
svn path=/trunk/; revision=36617
2008-10-01 19:56:51 +00:00
Christoph von Wittich
0d10840784 fix formatting
svn path=/trunk/; revision=36616
2008-10-01 18:19:42 +00:00
Daniel Reimer
577deb3bf0 sync winhlp32 and wordpad with wine
svn path=/trunk/; revision=36613
2008-10-01 14:17:09 +00:00
Daniel Reimer
0ad74e6033 Sync winfile and write with wine
svn path=/trunk/; revision=36612
2008-10-01 14:14:39 +00:00
KJK::Hyperion
58fef1577f modified ke/i386/cpu.c
Added CMPXCHG8B enabling/detection code for TransMeta, Centaur and Rise (source: <URL: http://www.geoffchappell.com/notes/windows/kernel/cpu/cx8.htm>). Code dead until each vendor will be officially supported
   Alex and others: please review

svn path=/trunk/; revision=36610
2008-10-01 11:54:29 +00:00
Gregor Schneider
ac197ef4f3 Check DC for NULL before accessing it, fixes Coverity CID 661.
svn path=/trunk/; revision=36609
2008-10-01 11:48:12 +00:00
Gregor Schneider
dc3e3e8ef0 GetDIBits: destination height may be smaller than the source height, so the image size should always be calculated. Removed the hack in the bit copy phase that addressed the wrong bits buffer size.
This allows CopyImage to work, this can be seen in taskbar icons 1-4 for example.
Fixes two gdi32 winetests. Bugs #2225 and #3082 for more info.
Tested: QEMU VGA/8/16/24bpp, VMWare Server VMWare Driver 8/16/32bpp, VMWare Server ReactOS VBE Driver 8/16/32bpp

svn path=/trunk/; revision=36608
2008-10-01 10:49:10 +00:00
Gregor Schneider
163d36ceea [FORMATTING], spelling, misc cleanup. No functional changes.
svn path=/trunk/; revision=36607
2008-10-01 10:05:02 +00:00
Gregor Schneider
bd0da13d89 hColor is not needed in IntSetCursor, fixes Coverity CID 40.
svn path=/trunk/; revision=36606
2008-10-01 09:57:51 +00:00
Johannes Anderwald
591ca1c7de - Add resources for advanced tcp/ip configuration dialog
svn path=/trunk/; revision=36604
2008-09-30 20:16:00 +00:00
Johannes Anderwald
b1019f7eee - Ttttypo
svn path=/trunk/; revision=36603
2008-09-30 19:09:31 +00:00
Aleksey Bragin
f45ca4adda - Don't leak registry lock in failure branches of CmpParseKey. Spotted by Timo.
svn path=/trunk/; revision=36602
2008-09-30 18:44:22 +00:00
Johannes Anderwald
509b66cef5 - Add resources for TCP/IP alternate configuration dialog
svn path=/trunk/; revision=36601
2008-09-30 15:33:01 +00:00
Daniel Reimer
dbd0569bd7 Sync Wined3d to Wine 1.1.5 (great work done by: Kamil Hornicek)
svn path=/trunk/; revision=36600
2008-09-30 12:03:48 +00:00
James Tabor
f5fefad953 - Move undocumented WM_x messages to internal header. Find one, just move it in there.
svn path=/trunk/; revision=36597
2008-09-30 02:11:08 +00:00
James Tabor
e0aeda5ed2 - Patch by Vincent Povirk, Handle undocumented WM_POPUPSYSTENNEBU message.
svn path=/trunk/; revision=36596
2008-09-30 00:27:00 +00:00
Cameron Gutman
22ee49ac12 - Merge aicom-network-fixes up to r36594
svn path=/trunk/; revision=36595
2008-09-30 00:17:48 +00:00
Cameron Gutman
2197413b36 - Send the packet immediately if the miniport is not busy
- Change KeAcquireSpinLockAtDpcLevel/KeReleaseSpinLockFromDpcLevel to KeAcquireSpinLock/KeReleaseSpinLock since we aren't at DISPATCH_LEVEL
 - Fix some comments

svn path=/branches/aicom-network-fixes/; revision=36594
2008-09-30 00:09:23 +00:00
Cameron Gutman
48af47e451 - Code cleanup
svn path=/branches/aicom-network-fixes/; revision=36593
2008-09-30 00:04:52 +00:00
Cameron Gutman
9536865b31 - Fix a memory leak
svn path=/branches/aicom-network-fixes/; revision=36592
2008-09-30 00:02:53 +00:00
Cameron Gutman
576e6e7961 - Use the proper flags so NDIS knows that our NIC doesn't have hardware loopback support
- Fixes the loopback adapter

svn path=/branches/aicom-network-fixes/; revision=36591
2008-09-29 23:57:32 +00:00
Aleksey Bragin
c3ed3870b5 - Commit the whole mapped BIOS/device registers block, not only the first 2 pages (why so, David?).
- Use Zw instead of Nt.

svn path=/trunk/; revision=36587
2008-09-29 09:11:55 +00:00
KJK::Hyperion
2973483318 modified dll/win32/kernel32/kernel32.def
modified   dll/win32/kernel32/kernel32.rbuild
added      dll/win32/kernel32/misc/icustubs.cpp
   Export NormalizeString and IsStringNormalized from kernel32.dll. This (finally) makes normaliz.dll (50%) functional.
   Link kernel32.dll to ICU. Finally. Binary size increased by about 300 KB on a debug build (this is only the beginning).
   Umpteenth copy of C++ and Win32 stubs required to get ICU to link properly added to kernel32.dll.
   This commit dedicated to Timo Kreuzer. <3.

svn path=/trunk/; revision=36586
2008-09-28 22:39:45 +00:00
Timo Kreuzer
76bf74c7f7 Improve memcpy. It was working correctly, but it wasted a cycle. ;-)
svn path=/trunk/; revision=36585
2008-09-28 21:50:05 +00:00
Timo Kreuzer
36a547b4a7 Extend ObjTypeInfo array to 32 entries.
Fixes Coverity CID 538

svn path=/trunk/; revision=36584
2008-09-28 21:25:24 +00:00
Stefan Ginsberg
b9f6e4a356 - Fix comments (no code change)
svn path=/trunk/; revision=36583
2008-09-28 20:53:51 +00:00
Cameron Gutman
472eb91e2f - Merge aicom-network-fixes up to r36581
svn path=/trunk/; revision=36582
2008-09-28 20:19:27 +00:00
Cameron Gutman
f37a431c9a - Call the ProtocolReceive handler at DISPATCH_LEVEL
svn path=/branches/aicom-network-fixes/; revision=36581
2008-09-28 20:05:38 +00:00
Cameron Gutman
1a255263e6 - Raise IRQL to DISPATCH_LEVEL before using KeAcquireSpinLockAtDpcLevel/KeReleaseSpinLockFromDpcLevel
svn path=/branches/aicom-network-fixes/; revision=36580
2008-09-28 19:58:09 +00:00
Gregor Schneider
ec00886a23 Check for NULL before using the DC.
Fixes Coverity CID 680.

svn path=/trunk/; revision=36579
2008-09-28 19:44:58 +00:00
Gregor Schneider
f1f31fe9f2 Handle PALETTE_LockPalette returning NULL.
Fixes Coverity CIDs 486 and 487.

svn path=/trunk/; revision=36578
2008-09-28 19:42:03 +00:00
Gregor Schneider
b3b0519142 A msvcrt test shouldn't test ntdll functions for correctness. Now people don't need to fix nonexistant "hidden" msvcrt bugs anymore.
svn path=/trunk/; revision=36577
2008-09-28 18:40:38 +00:00
Hervé Poussineau
aac6354d3b Remove a hack, and link with C++ libraries only when required
Patch by Cecill Etheredge ( ijsf at gmx dot net )

svn path=/trunk/; revision=36576
2008-09-28 14:17:45 +00:00
Eric Kohl
f8998c9c84 Ooops, forgot to disable these [handle] attributes.
svn path=/trunk/; revision=36575
2008-09-28 13:49:47 +00:00
Eric Kohl
527202ad87 Cast returned handle values correctly.
svn path=/trunk/; revision=36574
2008-09-28 13:48:31 +00:00
Aleksey Bragin
5ee91c9c36 - Fix uninitialized variable usage. Fixes Coverity CID: 1293.
svn path=/trunk/; revision=36573
2008-09-28 11:16:41 +00:00
Aleksey Bragin
24430aea89 - Ports are counted starting from 1, with 0 being an invalid port index. Remove memory corruption by actually allocating MAX_ROOT_PORTS + 1 sized array. Fixes Coverity CID: 601.
svn path=/trunk/; revision=36572
2008-09-28 11:05:18 +00:00
Aleksey Bragin
faf94f044e - It's meaningless to try to complete the IRP if irp == NULL. Fixes Coverity CID: 398
svn path=/trunk/; revision=36571
2008-09-28 10:57:59 +00:00
Aleksey Bragin
6eb2f69158 - Remove redundant NULL-check. Fixes Coverity CID: 761.
svn path=/trunk/; revision=36569
2008-09-28 10:54:22 +00:00
Johannes Anderwald
862b1b1c46 - Query Name, Icon Attributes for each call of INetConnection_GetProperties
- Update Taskbar Notifications Icons on a network adapter change
- Sync remaining resources

svn path=/trunk/; revision=36568
2008-09-28 10:50:10 +00:00
Hervé Poussineau
0970d7b76e Replace .def file by a .spec file
svn path=/trunk/; revision=36563
2008-09-28 09:09:57 +00:00
Dmitry Chapyshev
f610f642b1 - Sync ddstream.idl with wine head
- Add qedit.idl from wine

svn path=/trunk/; revision=36560
2008-09-28 06:04:47 +00:00
Cameron Gutman
12604c6f99 - Merge aicom-network-fixes up to r36558
svn path=/trunk/; revision=36559
2008-09-27 21:25:27 +00:00
Cameron Gutman
1d8b2f1556 - Set MiniportBusy to TRUE if a request is pending
- Hold spin lock when setting MiniportBusy (forgot one from last time)

svn path=/branches/aicom-network-fixes/; revision=36558
2008-09-27 19:54:58 +00:00
Cameron Gutman
63ed3d8b4f - Don't add the protocol to the protocol list if binding failed
svn path=/branches/aicom-network-fixes/; revision=36557
2008-09-27 19:26:17 +00:00
Cameron Gutman
72f9da2665 - Protect MiniportBusy with a spin lock
- Adapter is PLOGICAL_ADAPTER not PNDIS_MINIPORT_BLOCK
 - Make sure memory allocation was successful
 - Cleanup code in ProRequest

svn path=/branches/aicom-network-fixes/; revision=36556
2008-09-27 19:00:47 +00:00
Stefan Ginsberg
b4d8244133 - Fix 2 typos
svn path=/trunk/; revision=36554
2008-09-27 18:45:23 +00:00
Cameron Gutman
a4c5f0d79c - Call ResetHandler directly
svn path=/branches/aicom-network-fixes/; revision=36552
2008-09-27 18:30:11 +00:00
Cameron Gutman
9826b2ad04 - Queue a work item in MiniReset if the adapter is currently busy
- Handle NdisWorkItemResetRequested in MiniportWorker
 - Remove a fixme

svn path=/branches/aicom-network-fixes/; revision=36551
2008-09-27 18:00:08 +00:00
Eric Kohl
1b0251574d - Disable [handle] and [context_handle] attributes in order not to break ReactOS when WIDL is updated to Wine-0.9.59.
- Fix typos in svcctl.idl.

svn path=/trunk/; revision=36550
2008-09-27 17:37:34 +00:00
Gregor Schneider
a26186ece3 Don't read and copy 32 Bit blocks, but only 24 Bit according to
24BPP_Put_/Get_Pixel.
Fixes NtGdiAlphaBlend in 24 Bit mode, see bug #3708.

svn path=/trunk/; revision=36548
2008-09-27 16:56:14 +00:00
Stefan Ginsberg
d9a95f3658 - Add PsGetThreadTeb prototype
svn path=/trunk/; revision=36542
2008-09-27 16:24:50 +00:00
Stefan Ginsberg
2e75e632d0 - Fix a couple of bugcodes with incorrect MessageId
- Add SYSTEM_THREAD_EXCEPTION_NOT_HANDLED make use of it

svn path=/trunk/; revision=36541
2008-09-26 22:11:10 +00:00
Eric Kohl
e7b8601c22 Fix lock handle typecasts.
svn path=/trunk/; revision=36540
2008-09-26 20:25:47 +00:00
Cameron Gutman
337a43d553 - Remove dead code
- Fixes coverity error 85

svn path=/branches/aicom-network-fixes/; revision=36538
2008-09-26 18:10:50 +00:00
Aleksey Bragin
a3767e4fc3 - Remove an excessive ASSERT (there is a real one below in the function).
svn path=/trunk/; revision=36534
2008-09-26 11:48:54 +00:00
Aleksey Bragin
c31a4dabe1 - Apply Art's bitmap patch from the branch, and change the other 2 functions similarly (bit set & clear).
svn path=/trunk/; revision=36533
2008-09-26 09:42:15 +00:00
Christoph von Wittich
5da1fe223d set eol-style:native
svn path=/trunk/; revision=36532
2008-09-26 05:05:59 +00:00
Christoph von Wittich
463ea79dae set eol-style:native
svn path=/trunk/; revision=36531
2008-09-26 05:03:14 +00:00
Christoph von Wittich
5367db78ec set eol-style:native
svn path=/trunk/; revision=36530
2008-09-26 04:55:25 +00:00
Christoph von Wittich
5e060cca56 set eol-style:native
svn path=/trunk/; revision=36529
2008-09-26 04:51:32 +00:00
Cameron Gutman
82e25f4548 - Fix a typo
- Fixes coverity error 388

svn path=/branches/aicom-network-fixes/; revision=36528
2008-09-26 03:43:07 +00:00
Cameron Gutman
0820ee7a4e - Return early if there aren't any packets to be sent
- Fixes coverity error 458

svn path=/branches/aicom-network-fixes/; revision=36527
2008-09-26 03:35:56 +00:00
Cameron Gutman
d9db39f82d - Return early if NBAddNeighbor or RouterAddRoute fails
- Fixes coverity error 389

svn path=/branches/aicom-network-fixes/; revision=36526
2008-09-26 03:23:56 +00:00
Cameron Gutman
9023e12475 - Return early if ProtocolNumber is too large
- Fixes coverity error 600

svn path=/branches/aicom-network-fixes/; revision=36525
2008-09-26 03:12:18 +00:00
Cameron Gutman
d8398cc719 - Fail if From is NULL
- Fixes Coverity error 652

svn path=/branches/aicom-network-fixes/; revision=36524
2008-09-26 03:03:55 +00:00
Timo Kreuzer
7f11e7e296 Simplify and fix InitMetrics. Fixes Coverity error 33.
svn path=/trunk/; revision=36523
2008-09-25 22:44:36 +00:00
Timo Kreuzer
7a71237648 Some cleanup
svn path=/trunk/; revision=36522
2008-09-25 22:17:51 +00:00
Timo Kreuzer
5148823f59 Update SM_XXX constants
svn path=/trunk/; revision=36521
2008-09-25 22:04:20 +00:00
KJK::Hyperion
445a482d8d Only apply C++ compiler flags to the C++ compiler. Fixes useless build warnings.
svn path=/trunk/; revision=36520
2008-09-25 19:44:38 +00:00
Timo Kreuzer
01dd1a7431 Allocate size of structure, not size of pointer to the structure. Fixes Coverity errors 767, 768, 769, 770
svn path=/trunk/; revision=36519
2008-09-25 19:26:09 +00:00
Stefan Ginsberg
b1a8e2b3fd - CmpOpenHiveFiles: If "Extension" is false then we won't have allocated any buffer, so there will never be a buffer to free
- Fix for Coverity Error CID: 29

svn path=/trunk/; revision=36518
2008-09-25 18:49:27 +00:00
Christoph von Wittich
ac376c0adb formatting fix
svn path=/trunk/; revision=36514
2008-09-25 18:10:23 +00:00
Christoph von Wittich
7d57e70f0d set eol-style:native
svn path=/trunk/; revision=36513
2008-09-25 17:53:05 +00:00
James Tabor
44b6f107bd - Add Defer Window Position Handle type for multiple-window ? position structure.
svn path=/trunk/; revision=36510
2008-09-25 15:39:33 +00:00
Stefan Ginsberg
ccd25605a6 - Implement and export PsIsSystemProcess and add it to the NDK
svn path=/trunk/; revision=36509
2008-09-25 14:39:38 +00:00
Stefan Ginsberg
d2abe18c98 - Implement IoGetPagingIoPriority and fix its export
svn path=/trunk/; revision=36508
2008-09-25 14:29:11 +00:00
Stefan Ginsberg
cb267e1fdf - Add WmiQueryTraceInformation, WmiTraceMessage and WmiTraceMessageVa stubs and exports
svn path=/trunk/; revision=36507
2008-09-25 14:25:22 +00:00
Aleksey Bragin
94b893abac - Fix one more totally "out of ideas how to create sections" MmCreateSection usage. Not only the MaximumSize is mandatory for file-backed sections, but an allocation type must be specified (SEC_COMMIT, and it's not the same as some humble "0" passed there as a value).
- Fix ReactOS's MmCreateDataFileSection to ignore 0 value in the MaximumSize (it has an additional check for MaximumSize being non-NULL, but this should be removed in future).

svn path=/trunk/; revision=36506
2008-09-25 11:24:51 +00:00
Cameron Gutman
975e8109a2 - Don't call NdisMSendComplete in MiniportSend
svn path=/branches/aicom-network-fixes/; revision=36501
2008-09-25 03:23:15 +00:00
Cameron Gutman
2f05ba10c9 - Created a dummy nic driver for testing purposes
- Still a work in progress

svn path=/branches/aicom-network-fixes/; revision=36500
2008-09-25 01:02:08 +00:00
Cameron Gutman
99d8e4f1b4 - Try again to fix build
svn path=/trunk/; revision=36499
2008-09-25 00:01:39 +00:00
Cameron Gutman
8ffee924f5 - Fix build
svn path=/trunk/; revision=36498
2008-09-24 23:48:28 +00:00
Cameron Gutman
564e5b5a2c Merge aicom-network-fixes up to r36496
- We now call the MiniportCheckForHang handler every two seconds
 - We reset the miniport if it has detected a hang
 - Added some IRQL checks

svn path=/trunk/; revision=36497
2008-09-24 23:39:17 +00:00
Cameron Gutman
df2275e5e3 - Add a debug print
svn path=/branches/aicom-network-fixes/; revision=36496
2008-09-24 22:00:02 +00:00
Cameron Gutman
b4f76ec0bb - MiniportAdapterHandle is PLOGICAL_ADAPTER not PNDIS_MINIPORT_BLOCK
svn path=/branches/aicom-network-fixes/; revision=36495
2008-09-24 21:56:07 +00:00
Stefan Ginsberg
ef2bb65235 - MiQueryVirtualMemory shouldn't be called for kernel memory, so remove the special case code for a kernel address space. Also fixes a case where we would dereference an uninitialized pointer.
- Fix for Coverity Error CID: 773

svn path=/trunk/; revision=36494
2008-09-24 19:13:08 +00:00
Stefan Ginsberg
a9d6e4341e - Remove deprecated macro
svn path=/trunk/; revision=36493
2008-09-24 18:47:24 +00:00
Stefan Ginsberg
c1a36080a7 - Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9

svn path=/trunk/; revision=36491
2008-09-24 17:32:14 +00:00
Stefan Ginsberg
c2ca8fb596 - HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 464

svn path=/trunk/; revision=36490
2008-09-24 17:16:25 +00:00
Stefan Ginsberg
ba22ca771d - IoFlushAdapterBuffers: "AdapterObject" is not an optional parameter, it is vital to identify the DMA adapter. Remove the check which confused Coverity and ASSERTify this instead.
- Fix for Coverity error CID: 155

svn path=/trunk/; revision=36489
2008-09-24 17:11:35 +00:00
Christoph von Wittich
e724baacde more correct fix
svn path=/trunk/; revision=36488
2008-09-24 16:57:29 +00:00
Stefan Ginsberg
d91564734d - IopGetDiskInformation: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 469
- Also fix a (potential) memory leak

svn path=/trunk/; revision=36487
2008-09-24 16:37:35 +00:00
Stefan Ginsberg
e57cfa2826 - Only dereference the KCB if we know it exists
- Fix for Coverity error CID: 279

svn path=/trunk/; revision=36486
2008-09-24 16:19:52 +00:00
Christoph von Wittich
d82ca9895d check for value > 0 before using it as array index
Fix for Coverity error CID: 438

svn path=/trunk/; revision=36485
2008-09-24 15:42:33 +00:00
Stefan Ginsberg
649b40cd13 - 64 bit fixes for Mm routines: Use SIZE_T and ULONG_PTR where appropriate
- Note: MSDN is wrong about Nt/ZwAllocateVirtualMemory's ZeroBits. It really is a ULONG_PTR.

svn path=/trunk/; revision=36484
2008-09-24 15:27:54 +00:00
Stefan Ginsberg
9bbb8ab1a3 - FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 465

svn path=/trunk/; revision=36483
2008-09-24 15:04:59 +00:00
Stefan Ginsberg
85033039ab - RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
svn path=/trunk/; revision=36482
2008-09-24 14:53:28 +00:00
Stefan Ginsberg
74897bfee4 - Fix some non-x86 FLOATOBJ_*
svn path=/trunk/; revision=36481
2008-09-24 14:01:43 +00:00
Art Yerkes
c261b9dbe8 Fix leaks reported by coverity 612-615. In each case, it'd be safe to free
NULL, and failure to allocate isn't the only dropthrough case, leading to
conversion buffer leaks.

svn path=/trunk/; revision=36480
2008-09-24 13:35:37 +00:00
Art Yerkes
4046f15afe Fix my copypasta spotted by (coverity 1294)
svn path=/trunk/; revision=36479
2008-09-24 12:56:30 +00:00
Daniel Reimer
c96b189f38 Bug 3726: Translate file: netshell by Lars Martin Hambro
Bug 3729: Italian translation update by Paolo Devoti
Bug 3738: slovak translations and fixes by Mario Kacmar
Bug 3741: Korean translation of Taskmgr by Sengyu Kim

svn path=/trunk/; revision=36472
2008-09-24 11:22:08 +00:00
Timo Kreuzer
c00f4a266c - remove old test code
svn path=/trunk/; revision=36471
2008-09-24 11:17:33 +00:00
Aleksey Bragin
f05e50b409 - Create a VdmpInitialize function for NtVdmControl's initialize command.
- Remove NtEarlyVdmInitialize hack and csrss IVT/BDA copying hack, instead, copy the first page of physical memory to the beginning of process's virtual address space like NT does.

svn path=/trunk/; revision=36459
2008-09-24 10:06:08 +00:00
Aleksey Bragin
200665fb89 Juriy Sidorov <jura@cp-lab.com>
- Fix existing font substitutions.
- Add FreeMono as substitution for Courier and Courier New.
- Optimize font substitution tables and make them easy to maintain.
See issue #3483 for more details.

svn path=/trunk/; revision=36451
2008-09-24 08:17:15 +00:00
Aleksey Bragin
b20633a1f0 - Make SmCreateUserProcess accept two flags: the old "wait for" one, and a new "reserve 1Mb" one. NT reserves lower 1MB of address space when starting a subsystem process. ReactOS should too, however right now this change is disabled (leads to boot problems).
svn path=/trunk/; revision=36450
2008-09-24 08:12:41 +00:00
Andrew Munger
68b1f10bef Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.
Addresses bug 3715.

svn path=/trunk/; revision=36449
2008-09-24 07:52:19 +00:00
Cameron Gutman
23c2ae170f - Use timers so the code is much more simple and works better
svn path=/branches/aicom-network-fixes/; revision=36442
2008-09-23 23:59:43 +00:00
Cameron Gutman
0cabe4ffdb - Check for miniport hangs at the appropriate time
- Call MiniReset if required

svn path=/branches/aicom-network-fixes/; revision=36441
2008-09-23 20:54:02 +00:00
Cameron Gutman
be3ff9cec9 - Uncomment the stubbed CheckForHang handler
svn path=/branches/aicom-network-fixes/; revision=36440
2008-09-23 20:48:43 +00:00
Aleksey Bragin
9185bead4e - Fix ~4.4 million handle limit bug due to memory corruption. ReactOS can now create 16 million handles as expected (thanks Alex).
svn path=/trunk/; revision=36439
2008-09-23 20:44:31 +00:00
Cameron Gutman
63c5133b1c - Set CheckForHangSeconds to a default value of 2 if it wasn't set in MiniportInitialize
svn path=/branches/aicom-network-fixes/; revision=36438
2008-09-23 20:17:59 +00:00
Cameron Gutman
2d8a1d38bb - Set CheckForHangSeconds
svn path=/branches/aicom-network-fixes/; revision=36437
2008-09-23 20:10:35 +00:00
Stefan Ginsberg
c3320e0a31 - Attempt satisfy Alex
svn path=/trunk/; revision=36436
2008-09-23 19:54:13 +00:00
Ged Murphy
504c3f3278 Don't risk a negative array subscript. Fixes our one and only REVERSE_NEGATIVE error
Fix for Coverity error CID: 766

svn path=/trunk/; revision=36435
2008-09-23 19:02:32 +00:00
Christoph von Wittich
b13cfee486 return correct value in SETUPAPI_GetCurrentHwProfile
Fix for Coverity error CID: 782

svn path=/trunk/; revision=36434
2008-09-23 18:44:58 +00:00
Cameron Gutman
8f1a94b39b - Call the CheckForHang handler at DISPATCH_LEVEL
- Implement MiniReset

svn path=/branches/aicom-network-fixes/; revision=36433
2008-09-23 18:44:17 +00:00
Cameron Gutman
faa10907ca - Implement MiniCheckForHang
svn path=/branches/aicom-network-fixes/; revision=36432
2008-09-23 18:24:19 +00:00
Cameron Gutman
274d2f50e8 - We must check that NdisWrapperHandle is non-NULL to see if NdisMInitializeWrapper succeeded
svn path=/branches/aicom-network-fixes/; revision=36430
2008-09-23 18:07:26 +00:00
Gregor Brunmar
931c14a8ea D3D9:
* More init values when creating a texture

svn path=/trunk/; revision=36429
2008-09-23 17:01:40 +00:00
Stefan Ginsberg
ad277c0c6b - Add basic tracing to CmpReferenceKeyControlBlock, CmpDereferenceKeyControlBlock and CmpDereferenceKeyControlBlockWithLock
svn path=/trunk/; revision=36428
2008-09-23 14:15:56 +00:00
Aleksey Bragin
22c7de15e6 - In success cases of NtAllocateVirtualMemory, return the real (page rounded!) base address and region size, not the possibly unaligned pointer and length which were passed to the function. These cases were hit when a region of memory was previously reserved, then a commit request came with unaligned base address and length, which match that previously reserved region after aligning.
svn path=/trunk/; revision=36427
2008-09-23 12:41:02 +00:00
Aleksey Bragin
55ea8c5583 [FORMATTING]
- Reformat to the kernel coding style.

svn path=/trunk/; revision=36426
2008-09-23 11:45:40 +00:00
Aleksey Bragin
7a0cd51dea [FORMATTING]
- Apply standard header.

svn path=/trunk/; revision=36425
2008-09-23 10:47:10 +00:00
Art Yerkes
1c65b2ed57 Didn't notice that bufferSize is used by RegQueryValueEx. Now we count in
bytes with bufferSize and count in chars just in the subscript.

Noticed by Christoph_Vw

svn path=/trunk/; revision=36424
2008-09-23 10:17:27 +00:00
Art Yerkes
99f3a239d7 Initialize DbgLoadOptions from the start. It would be unitialized if a bootcd
was made without having the right section in txtsetup.sif.

svn path=/trunk/; revision=36423
2008-09-23 09:36:23 +00:00
Art Yerkes
5a637c03db Count the end of the szApplicationName in the right units. (coverity 551).
svn path=/trunk/; revision=36422
2008-09-23 09:28:44 +00:00
Art Yerkes
a6b7e20ad4 Fix a legitimate overrun in _widths (coverity 575), and try not to be as
clever.

svn path=/trunk/; revision=36421
2008-09-23 09:09:16 +00:00
Art Yerkes
91ae271e19 This bug could've caused mayhem in the icon cache. (coverity 790).
svn path=/trunk/; revision=36420
2008-09-23 08:58:19 +00:00
Art Yerkes
6276f8ea51 Fix possible overrun of the last byte of dbuf (coverity 552).
svn path=/trunk/; revision=36419
2008-09-23 08:43:49 +00:00
Christoph von Wittich
87b74aaeed overrun of static array
Fix for Coverity error CID: 529

svn path=/trunk/; revision=36418
2008-09-23 08:04:57 +00:00
Aleksey Bragin
77b6062570 - The check for SystemHive being non-NULL is meaningless, because CmpInitializeHive is already checked for failure earlier, and in success case it returns a valid Hive.
- Fix for Coverity error CID: 280

svn path=/trunk/; revision=36417
2008-09-23 08:04:23 +00:00
Christoph von Wittich
112e87a86c overrun of static array
Fix for Coverity error CID: 532

svn path=/trunk/; revision=36416
2008-09-23 07:50:59 +00:00
Christoph von Wittich
1285642dcd overrun of static array
Fix for Coverity error CID: 552

svn path=/trunk/; revision=36415
2008-09-23 07:44:15 +00:00
Aleksey Bragin
118679eda4 - Preinitialize ValueData with NULL.
- Fix for Coverity error CID: 772.

svn path=/trunk/; revision=36414
2008-09-23 07:40:40 +00:00
Christoph von Wittich
db712aaf9b overrun of static array
Fix for Coverity error CID: 546 + 547.

svn path=/trunk/; revision=36413
2008-09-23 07:38:00 +00:00
Christoph von Wittich
eb68ba4328 overrun of static array
Fix for Coverity error CID: 548.

svn path=/trunk/; revision=36412
2008-09-23 07:33:44 +00:00
Christoph von Wittich
cb7fa454fa don't free memory which is not allocated yet
Fix for Coverity error CID: 789.

svn path=/trunk/; revision=36411
2008-09-23 07:05:18 +00:00
Christoph von Wittich
2aabf8b66d fix heap corruption when lpStringToFind is NULL
Fix for Coverity error CID: 775.

svn path=/trunk/; revision=36410
2008-09-23 06:55:05 +00:00
Art Yerkes
9b1a7c47bd some detritus exposed by coverity.
svn path=/trunk/; revision=36409
2008-09-23 05:58:51 +00:00
Cameron Gutman
521d849d25 - Add some IRQL checks for ne2000 like those in r36406
svn path=/branches/aicom-network-fixes/; revision=36408
2008-09-23 04:53:59 +00:00
Cameron Gutman
751bd9fb71 - Change NdisAcquireSpinLock to NdisDprAcquireSpinLock because we are running at DISPATCH_LEVEL
svn path=/branches/aicom-network-fixes/; revision=36407
2008-09-23 04:39:31 +00:00
Cameron Gutman
be9e073137 - Add some IRQL checks
- Fix some comments

svn path=/branches/aicom-network-fixes/; revision=36406
2008-09-23 04:29:30 +00:00
James Tabor
9c5dbd4ca2 Add UpdateLayeredWindowIndirect to def and cleanup and add a new type in dce.h.
svn path=/trunk/; revision=36405
2008-09-22 15:49:38 +00:00
Christoph von Wittich
86186976c5 sync riched20 with wine 1.1.5
svn path=/trunk/; revision=36404
2008-09-22 14:29:28 +00:00
Christoph von Wittich
a03d696d68 sync oleaut32 with wine 1.1.5
svn path=/trunk/; revision=36403
2008-09-22 14:20:27 +00:00
Christoph von Wittich
31607505af fix some memory leaks (patch by Ged)
svn path=/trunk/; revision=36402
2008-09-22 12:18:12 +00:00
Stefan Ginsberg
9c5e46aede - Remove deprecated output
svn path=/trunk/; revision=36401
2008-09-22 11:46:51 +00:00
Christoph von Wittich
f6e7185c74 the time has COM
import stdole32.tlb from wine

svn path=/trunk/; revision=36400
2008-09-22 11:38:51 +00:00
James Tabor
1a7da253a8 - Add UPDATELAYEREDWINDOWINFO structure and UpdateLayeredWindowIndirect and types to psdk.
- Move UpdateLayeredWindow to def and change it to UpdateLayeredWindowIndirect.

svn path=/trunk/; revision=36398
2008-09-22 00:52:24 +00:00
Eric Kohl
4a8d830f83 Sync to Wine-0.9.58
- Rob Shearman <rob@codeweavers.com> Thu, 14 Feb 2008
widl: Remove unused headers.

- Rob Shearman <rob@codeweavers.com> Thu, 14 Feb 2008
widl: Guard the inclusion of unistd.h.

- Rob Shearman <rob@codeweavers.com> Tue, 19 Feb 2008
Add the nounistd option to all lex source files.

- Alexandre Julliard <julliard@winehq.org> Tue, 19 Feb 2008
Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H... 

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 21 Feb 2008
widl: Allow is_string_type to work for typedef'd types.

- Gerald Pfeifer <gerald@pfeifer.com> Fri, 22 Feb 2008
widl: Include <unistd.h> for prototype of unlink().

- Dan Hipschman <dsh@linux.ucla.edu> Wed, 19 Mar 2008
widl: Ignore libraries in imported IDL files.

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 20 Mar 2008
widl: Make structures with FC_ENUM16 fields complex.

svn path=/trunk/; revision=36394
2008-09-21 21:18:42 +00:00
Eric Kohl
1c1bfdafe2 Define TRUE only if it hasn't been defined before
svn path=/trunk/; revision=36390
2008-09-21 19:57:05 +00:00
Colin Finck
033cea3fa6 Forgot these files, sorry...
svn path=/trunk/; revision=36385
2008-09-21 17:01:55 +00:00
Colin Finck
6b981d5bb1 Sync msi with Wine 1.1.5
svn path=/trunk/; revision=36384
2008-09-21 15:24:30 +00:00
Eric Kohl
2cbfa7cb91 EnumDependentServicesA/W and EnumServicesStatusA/W don't fix up pointers if the service manager returns an error.
This fixes bug #3737.
Patch by Michael Martin aka bugboy <martinmnet@hotmail.com>.


svn path=/trunk/; revision=36383
2008-09-21 15:19:52 +00:00
Cameron Gutman
39a0bb1742 - Merge aicom-network-fixes up to r36381
svn path=/trunk/; revision=36382
2008-09-21 14:43:43 +00:00
Cameron Gutman
e6330c4049 - Set the InFlightRequest to NULL when we complete
svn path=/branches/aicom-network-fixes/; revision=36381
2008-09-21 14:40:28 +00:00
Christoph von Wittich
70f9181595 fix another typo...
svn path=/trunk/; revision=36378
2008-09-21 14:12:52 +00:00
Eric Kohl
b48aef5119 [FORMATTING] No code changes!
svn path=/trunk/; revision=36377
2008-09-21 13:55:53 +00:00
Christoph von Wittich
fff44b9cb5 sync jscript with wine 1.1.5
svn path=/trunk/; revision=36376
2008-09-21 13:24:00 +00:00
Christoph von Wittich
3415a605e5 this hack wasn't supposed to be committed
svn path=/trunk/; revision=36375
2008-09-21 13:05:48 +00:00
Christoph von Wittich
8ff60114b6 sync msxml3 with wine 1.1.5
svn path=/trunk/; revision=36374
2008-09-21 13:03:20 +00:00
Colin Finck
0fa81bc0da Wow, WriteConfigurationFile() in rbuild never worked since it was added in r13496 over 3 years ago! :-)
Thus, the generated "roscfg.h" was always empty, but for whatever reason modules started to include it.
I removed all dependencies on this file and the function itself from rbuild.

svn path=/trunk/; revision=36373
2008-09-21 13:00:40 +00:00
Cameron Gutman
0f1167cbc0 - Merge aicom-network-fixes up to r36371
svn path=/trunk/; revision=36372
2008-09-21 12:41:26 +00:00
Cameron Gutman
86e1d71934 - There are 4 in flight requests not 3
svn path=/branches/aicom-network-fixes/; revision=36371
2008-09-21 12:31:14 +00:00
Gregor Brunmar
82d36803fa D3D9:
* Added stubs for IDirect3DTexture9 methods
* Implemented IDirect3DTexture9::GetDevice()
* Moved device locking to the D3D9BaseObject instead of in each child object

svn path=/trunk/; revision=36370
2008-09-21 12:25:38 +00:00
Christoph von Wittich
a63c53bdac fix two nice typo's
(array subscript was above array bounds)

svn path=/trunk/; revision=36369
2008-09-21 12:12:37 +00:00
Christoph von Wittich
ec73256471 sync msiexec with wine 1.1.5
svn path=/trunk/; revision=36368
2008-09-21 12:00:07 +00:00
Aleksey Bragin
0230d25b11 - FileOffset is 32bit long, not 64bit, so no reason in additional casting.
- Fix a ULONG -> BOOLEAN conversion warning.

svn path=/trunk/; revision=36367
2008-09-21 11:34:04 +00:00
Christoph von Wittich
463ffc2132 fix wrong casts
svn path=/trunk/; revision=36366
2008-09-21 06:52:54 +00:00
Christoph von Wittich
295baae2f3 fix brackets
svn path=/trunk/; revision=36365
2008-09-21 06:42:21 +00:00
Cameron Gutman
24402d079c - Remove more useless code
svn path=/branches/aicom-network-fixes/; revision=36364
2008-09-21 03:21:34 +00:00
Cameron Gutman
252f7c71da - Set MiniportBusy to TRUE in MiniDequeueWorkItem instead of MiniQueueWorkItem
- Fail if another miniport request is still in progress

svn path=/branches/aicom-network-fixes/; revision=36363
2008-09-21 02:35:23 +00:00
Cameron Gutman
e6386dff73 - Remove some unneeded code
- Set MiniportBusy to TRUE if MiniDoRequest returns NDIS_STATUS_PENDING

svn path=/branches/aicom-network-fixes/; revision=36362
2008-09-21 01:55:16 +00:00
Cameron Gutman
36a831e55c - Only call MiniSendComplete if ProIndicatePacket didn't return NDIS_STATUS_PENDING
svn path=/branches/aicom-network-fixes/; revision=36359
2008-09-20 23:08:56 +00:00
Cameron Gutman
08288ba535 - Revert r36337 because the callers don't depend on the memory being zeroed
svn path=/branches/aicom-network-fixes/; revision=36358
2008-09-20 21:29:31 +00:00
Eric Kohl
aa46f44e50 [FORMATTING] No code changes!
svn path=/trunk/; revision=36357
2008-09-20 20:28:23 +00:00
Cameron Gutman
b7872654ed - The handle passed to MiniRequestComplete, NdisMQueryInformationComplete, and NdisMSetInformationComplete is the Adapter not the MiniportBlock
- Set MiniportBusy to FALSE in all the completion routines
 - Set MiniportBusy to TRUE in MiniQueueWorkItem
 - Only requeue the packet if it's a serialized miniport that returned NDIS_STATUS_RESOURCES
 - Hold the spin lock when requeuing the packet

svn path=/branches/aicom-network-fixes/; revision=36356
2008-09-20 17:10:30 +00:00
Christoph von Wittich
8c33fab48b replace \" with "" in rc files
fix non standard C code

svn path=/trunk/; revision=36353
2008-09-20 14:55:49 +00:00
Christoph von Wittich
64048965fe -fix resource leaks
-don't free memory allocated by LocalAlloc with HeapFree

svn path=/trunk/; revision=36352
2008-09-20 14:13:10 +00:00
Stefan Ginsberg
9c3ba3b526 - Fix CMTRACE macro
svn path=/trunk/; revision=36351
2008-09-20 14:11:25 +00:00
Dmitry Chapyshev
608c551fa0 - Implement RealChildWindowFromPoint (based on wine)
- Add checking params for BeginDeferWindowPos

svn path=/trunk/; revision=36350
2008-09-20 13:47:33 +00:00
Christoph von Wittich
27149c2a0c fix formatting
svn path=/trunk/; revision=36349
2008-09-20 13:45:33 +00:00
Dmitry Chapyshev
47b0133272 - Fix formatting. No code change
svn path=/trunk/; revision=36348
2008-09-20 13:45:10 +00:00
Christoph von Wittich
de2b706b27 fix resource leaks
svn path=/trunk/; revision=36347
2008-09-20 13:44:56 +00:00
Christoph von Wittich
b20ceda590 fix some non standard conformant code
svn path=/trunk/; revision=36346
2008-09-20 13:36:26 +00:00
Christoph von Wittich
c2060ef1ff convert this mess into actual C code
svn path=/trunk/; revision=36345
2008-09-20 12:58:28 +00:00
Christoph von Wittich
056bcda4d1 fix broken rc files
svn path=/trunk/; revision=36344
2008-09-20 09:38:20 +00:00
Christoph von Wittich
2aa6b99347 fix some resource leaks
svn path=/trunk/; revision=36342
2008-09-20 09:28:55 +00:00
Christoph von Wittich
1e89fe22e0 fix some resource leaks
svn path=/trunk/; revision=36341
2008-09-20 09:05:24 +00:00
Christoph von Wittich
29dc95eb08 don't use \" in rc files, use double quotation marks instead
svn path=/trunk/; revision=36340
2008-09-20 08:36:06 +00:00
Dmitry Chapyshev
95569ba91c - Fix formatting. No code change
svn path=/trunk/; revision=36339
2008-09-20 08:11:32 +00:00
Cameron Gutman
42c8a616ec - Merge aicom-network-fixes up to r36337
svn path=/trunk/; revision=36338
2008-09-20 00:39:55 +00:00
Cameron Gutman
5faf248d96 - Zero the memory after we allocate it
svn path=/branches/aicom-network-fixes/; revision=36337
2008-09-20 00:31:02 +00:00
Cameron Gutman
d8dfacc28d - Queue the packet again if we currently don't have enough resources to process it
svn path=/branches/aicom-network-fixes/; revision=36336
2008-09-19 23:51:26 +00:00
Cameron Gutman
5620a8ecff - Initialize the callback record before calling KeRegisterBugCheckCallback so NdisMRegisterAdapterShutdownHandler should work now
svn path=/branches/aicom-network-fixes/; revision=36335
2008-09-19 23:41:28 +00:00
Cameron Gutman
face815dd6 - Code cleanup
- Set Status to NDIS_STATUS_NOT_SUPPORTED if we don't support the parameter type

svn path=/branches/aicom-network-fixes/; revision=36334
2008-09-19 23:18:12 +00:00
Cameron Gutman
f0e952b4b6 - Store the current thread
svn path=/branches/aicom-network-fixes/; revision=36333
2008-09-19 23:16:29 +00:00
Thomas Bluemel
324b9250cc Only free allocated bands
svn path=/trunk/; revision=36330
2008-09-19 19:26:00 +00:00
Colin Finck
773113715b Revert the aesthetic hack of r27608
We used Bitstream/DejaVu fonts for everything at that time, but the current Tahoma font doesn't need this hack.
This way, all window controls with mnemonic keys have the underscore placed as under Windows :-)

svn path=/trunk/; revision=36329
2008-09-19 15:11:09 +00:00
Christoph von Wittich
b4c9d9e321 fix a psapi winetest
svn path=/trunk/; revision=36328
2008-09-19 14:15:05 +00:00
Christoph von Wittich
eb778285cf fix dll parameters
svn path=/trunk/; revision=36327
2008-09-19 14:02:24 +00:00
Johannes Anderwald
f05f1fbaba - Add resource idds
svn path=/trunk/; revision=36326
2008-09-19 12:40:29 +00:00
Johannes Anderwald
ebc7599c6d - Import TCP/IP dialog from ncpa
svn path=/trunk/; revision=36325
2008-09-19 12:40:04 +00:00
Christoph von Wittich
72d5f166e9 fix formatting
svn path=/trunk/; revision=36324
2008-09-19 10:53:10 +00:00
Aleksey Bragin
f1c91f140d - Get rid of sprintf usage in default_dbg_vprintf.
- This make tracing macro usage safe in crt sprintf implementation and simplify overall codepath (no need for intermediate buffer).
- Solution inspired by hackbunny's suggestion, fixes bug 3632.
- Add vDbgPrintExWithPrefix to debugsup libraries.
See issue #3632 for more details.

svn path=/trunk/; revision=36323
2008-09-19 10:35:30 +00:00
Christoph von Wittich
b4572ba562 DShow.h -> dshow.h
svn path=/trunk/; revision=36322
2008-09-19 09:02:03 +00:00
Christoph von Wittich
2342d9a8ab add missing dvdmedia.h
svn path=/trunk/; revision=36321
2008-09-19 09:01:44 +00:00
Christoph von Wittich
d062feb6c6 -> filename to lowercase
svn path=/trunk/; revision=36320
2008-09-19 08:57:12 +00:00
Christoph von Wittich
18f1286085 rename to lower case
svn path=/trunk/; revision=36319
2008-09-19 08:52:53 +00:00
Christoph von Wittich
376d45bf30 add CLSIDWaveParser
svn path=/trunk/; revision=36318
2008-09-19 08:52:07 +00:00
Christoph von Wittich
c8486cd5b2 rename to lower case
svn path=/trunk/; revision=36317
2008-09-19 08:46:37 +00:00
Christoph von Wittich
d75275c3dc rename to lower case
svn path=/trunk/; revision=36316
2008-09-19 08:46:17 +00:00
Christoph von Wittich
318e4faba3 rename to lower case
svn path=/trunk/; revision=36315
2008-09-19 08:45:52 +00:00
Christoph von Wittich
492db19dd6 rename to lower case
svn path=/trunk/; revision=36314
2008-09-19 08:45:12 +00:00
Christoph von Wittich
9f481ee4dd rename to lower case
svn path=/trunk/; revision=36313
2008-09-19 08:44:50 +00:00
Christoph von Wittich
f902a52200 -import quartz from wine 1.1.4
-autoregister devenum

svn path=/trunk/; revision=36312
2008-09-19 08:35:33 +00:00
Cameron Gutman
0b7d92c4b3 - Fail if TCPSocket doesn't complete successfully
svn path=/branches/aicom-network-fixes/; revision=36311
2008-09-19 04:38:25 +00:00
Cameron Gutman
249fa88dd2 - Add the adapter to the adapter list only after it is bound to the IP layer
svn path=/branches/aicom-network-fixes/; revision=36310
2008-09-19 04:18:59 +00:00
Cameron Gutman
56d37e6da3 - Exit the loop when we find the matching Bucket
- Make sure we allocated Bucket
 - Remove a useless if
 - Return OSK_ENOBUFS if we can't allocate SleepingThread

svn path=/branches/aicom-network-fixes/; revision=36309
2008-09-19 02:12:55 +00:00
Cameron Gutman
15d003fb13 - Only continue sending fragments if the last one succeeded
svn path=/branches/aicom-network-fixes/; revision=36308
2008-09-19 00:40:13 +00:00
Christoph von Wittich
1399ad5d93 forgot to fix this as well
svn path=/trunk/; revision=36306
2008-09-18 16:49:53 +00:00
Christoph von Wittich
e5131cbe38 fix some of the mess Lentin created here
-don't use TCHAR in ANSI functions
-add a DllMain otherwise a random memory address is called when loading the dll
-add DPRINT1 to all stubs

svn path=/trunk/; revision=36305
2008-09-18 16:48:38 +00:00
Aleksey Bragin
d65eb0ae05 - Implement MmCallDllInitialize (partially based on a patch from bug 3730).
See issue #3730 for more details.

svn path=/trunk/; revision=36304
2008-09-18 15:45:16 +00:00
Aleksey Bragin
c6afd96ea2 - Select ANSI_VAR_FONT in explorer when drawing start button text and desktop switching buttons text. Based on Juriy Sidorov's patch from bug 3484.
See issue #3484 for more details.

svn path=/trunk/; revision=36303
2008-09-18 12:56:52 +00:00
Christoph von Wittich
a0d50db01e only touch the type on success or STATUS_BUFFER_OVERFLOW
svn path=/trunk/; revision=36302
2008-09-18 12:54:45 +00:00
Aleksey Bragin
425fdf353f - Create a stock font object ANSI_VAR_FONT, this fixes explorer's clock using the wrong font (and any other app using that stock font object).
See issue #3484 for more details.

svn path=/trunk/; revision=36301
2008-09-18 12:43:21 +00:00
Aleksey Bragin
0395b8a56a - Save SizeOfImage field from the image header during PE loading.
svn path=/trunk/; revision=36300
2008-09-18 11:19:29 +00:00
Johannes Anderwald
15ae0a215b - Refresh adapter statistics when INetConnection_GetProperties is called
- Perform icon change when the adapter receives operational / disconnected state

svn path=/trunk/; revision=36298
2008-09-18 09:01:52 +00:00
Johannes Anderwald
88a671baa1 - Use LoadImage over deprecated LoadIcon (thanks Ged)
- Restore focus to status dialog when network properties dialog is closed

svn path=/trunk/; revision=36297
2008-09-18 07:18:18 +00:00
Johannes Anderwald
245ddb9f52 - Fix several bugs in icon changing code
svn path=/trunk/; revision=36296
2008-09-17 22:21:04 +00:00
Johannes Anderwald
48dac13bd4 - Update Status Icon when there is activity
- Also update the Taskbar Notification Icon

svn path=/trunk/; revision=36295
2008-09-17 21:58:34 +00:00
Johannes Anderwald
58d5c68b74 - Use Ged's time updating code from ncpa module
- Periodically refresh timer for status dialog
- Make property sheet modal

svn path=/trunk/; revision=36292
2008-09-17 19:44:05 +00:00
Aleksey Bragin
9a4bf1ea9c - ObQueryNameString can return STATUS_INFO_LENGTH_MISMATCH, so make sure SeInitializeProcessAuditName supports that along with BUFFER_OVERFLOW and BUFFER_TOO_SMALL, which an Ob query name procedure could return.
- ObQueryNameString can return STATUS_INFO_LENGTH_MISMATCH, take this into account and report a proper buffer length to the caller in IopQueryNameFile.

svn path=/trunk/; revision=36291
2008-09-17 18:38:14 +00:00
Johannes Anderwald
6a59f3c2f8 - Use updated icons
- Only load Taskbar Notifications once

svn path=/trunk/; revision=36290
2008-09-17 16:53:05 +00:00
Christoph von Wittich
73e8217f04 add icons for netshell (from tango project)
svn path=/trunk/; revision=36289
2008-09-17 16:35:56 +00:00
Johannes Anderwald
c4f9fedf2d - Initialize members
svn path=/trunk/; revision=36288
2008-09-17 16:19:35 +00:00
Johannes Anderwald
fa64fcba76 - Preload NetworkConnection Taskbar Notification
- Use Notification as a singleton
- Execute the status dialog by using the NetCfgInstanceId of the connection

svn path=/trunk/; revision=36287
2008-09-17 15:20:04 +00:00
Christoph von Wittich
15e6477932 fix a kernel32 environ winetest
svn path=/trunk/; revision=36285
2008-09-17 14:03:05 +00:00
Johannes Anderwald
3ed4acffca - Check for null in IConnection_Constructor
- Implement INetConnectionConnectUi interface
- Add a dialog which serves a proxy dialog
- Add tray icons for connection which want to displayed in the tray
- Start implement network connection status dialog

svn path=/trunk/; revision=36284
2008-09-17 13:58:48 +00:00
Johannes Anderwald
84df91a549 - Add INetConnectionConnectUi interface
svn path=/trunk/; revision=36283
2008-09-17 13:53:00 +00:00
Eric Kohl
7fc5d5420a RSetServiceStatus:
- Don't fail if the system is shutting down because services must report successful shutdown to the service manager while the system is shutting down.
- Add some more parameter checks.

svn path=/trunk/; revision=36272
2008-09-16 19:47:16 +00:00
Gregor Brunmar
b0530233d9 D3D9: Implemented part of IDirect3DDevice9::CreateTexture()
svn path=/trunk/; revision=36271
2008-09-16 19:21:02 +00:00
Johannes Anderwald
ec92454abf - add IID_INetConnectionConnectUi
svn path=/trunk/; revision=36268
2008-09-16 14:44:42 +00:00
Colin Finck
0cb9efc0ff Fix some mistakes detected by a true XML parser
svn path=/trunk/; revision=36267
2008-09-16 14:29:21 +00:00
Cameron Gutman
340fdfa3ff - Add the spin locks back that I removed
svn path=/branches/aicom-network-fixes/; revision=36256
2008-09-15 12:54:53 +00:00
Cameron Gutman
cfcc5a1f53 - Queue a work item for all packets
- Now I can add the spin locks back that I removed

svn path=/branches/aicom-network-fixes/; revision=36255
2008-09-15 12:44:16 +00:00
Cameron Gutman
72d8191116 - Use NDIS_GET_PACKET_STATUS to get the real status for the packet
- Set MiniportBusy to FALSE if Send/SendPacket didn't return NDIS_STATUS_PENDING

svn path=/branches/aicom-network-fixes/; revision=36250
2008-09-14 21:17:44 +00:00
Cameron Gutman
e43328b916 - Pass the status we were given to the completion routine
svn path=/branches/aicom-network-fixes/; revision=36249
2008-09-14 20:47:22 +00:00
Cameron Gutman
20165883fc - Merge r35555, r35575, r35576, and r36243 into my branch
svn path=/branches/aicom-network-fixes/; revision=36248
2008-09-14 20:01:36 +00:00
Cameron Gutman
479f0c8d37 - Release the spin lock before calling NCETimeout
- Should fix the crash Wax had when using the kvmnet driver

svn path=/branches/aicom-network-fixes/; revision=36215
2008-09-14 06:05:47 +00:00
Cameron Gutman
3c6651a64e - Call a serialized miniport's Send/SendPackets handler at DISPATCH_LEVEL
svn path=/branches/aicom-network-fixes/; revision=36212
2008-09-14 05:30:06 +00:00
Cameron Gutman
91ac8bce6e - Change our method of queuing work items so we don't leak anymore
svn path=/branches/aicom-network-fixes/; revision=36211
2008-09-14 05:16:32 +00:00
Cameron Gutman
ac40a36ce9 - Queue a work item to do our work that was previously done in MiniportDpc so SendHandler gets called at the correct IRQL
svn path=/branches/aicom-network-fixes/; revision=36206
2008-09-14 04:02:04 +00:00
Cameron Gutman
86ca4446aa - Call KeAcquireSpinLockAtDpcLevel instead of KeAcquireSpinLock when possible
- Don't hold the spin lock as long in MiniportDpc

svn path=/branches/aicom-network-fixes/; revision=36198
2008-09-13 19:00:32 +00:00
Cameron Gutman
bd9013b5ae - Read the maximum packets that the driver allows to be sent at one time
- We don't use it yet

svn path=/branches/aicom-network-fixes/; revision=36195
2008-09-13 18:33:16 +00:00
Cameron Gutman
e1800f7c53 - unimplemented -> implemented
svn path=/branches/aicom-network-fixes/; revision=36193
2008-09-13 17:07:30 +00:00
Cameron Gutman
70f9713881 - Implement NdisDprFreePacket
- Implement NdisDprFreePacketNonInterlocked

svn path=/branches/aicom-network-fixes/; revision=36192
2008-09-13 16:40:45 +00:00
Cameron Gutman
8bea43b223 - Implement NdisDprAllocatePacketNonInterlocked
svn path=/branches/aicom-network-fixes/; revision=36191
2008-09-13 16:36:43 +00:00
Cameron Gutman
08c2fa4ccb - Implement NdisDprAllocatePacket
svn path=/branches/aicom-network-fixes/; revision=36190
2008-09-13 16:33:23 +00:00
Cameron Gutman
c875c6ffac - Hints from MSDN show that we should use MmGetSystemAddressForMdl instead of MmGetMdlVirtualAddress
svn path=/branches/aicom-network-fixes/; revision=36186
2008-09-13 12:45:26 +00:00
Cameron Gutman
e96b8c3c83 - Fix a possible crash
svn path=/branches/aicom-network-fixes/; revision=36185
2008-09-13 12:22:45 +00:00
Cameron Gutman
cba47cf99e - Call MiniportTransferData at DISPATCH_LEVEL
svn path=/branches/aicom-network-fixes/; revision=36169
2008-09-12 17:59:45 +00:00
Cameron Gutman
526d298a08 - Revert r36141 and r36102
- They cause a strange mIRC crash

svn path=/branches/aicom-network-fixes/; revision=36151
2008-09-12 03:53:09 +00:00
Cameron Gutman
d4fe4b7aa4 - We must call MiniDequeueWorkItem while holding a spin lock
svn path=/branches/aicom-network-fixes/; revision=36150
2008-09-12 03:06:31 +00:00
Cameron Gutman
b26b70ddba - Call ProtocolRequestComplete at the correct IRQL
- Call ProtocolSendComplete at the correct IRQL

svn path=/branches/aicom-network-fixes/; revision=36149
2008-09-12 02:58:08 +00:00
Cameron Gutman
151277c30a - Set Status to STATUS_SUCCESS
svn path=/branches/aicom-network-fixes/; revision=36148
2008-09-12 02:43:05 +00:00
Cameron Gutman
dc4e15ac9b - Call MiniportQueryInformation at the correct IRQL
- Call MiniportSetInformation at the correct IRQL
 - Call QueryInformationComplete at the correct IRQL
 - Call SetInformationComplete at the correct IRQL
 - All IRQLs verified by MSDN

svn path=/branches/aicom-network-fixes/; revision=36147
2008-09-11 20:57:51 +00:00
Cameron Gutman
f56eb2a402 - Make sure we successfully allocated memory
svn path=/branches/aicom-network-fixes/; revision=36144
2008-09-11 19:43:19 +00:00
Cameron Gutman
03e6d425e5 - Fix 2 typos
svn path=/branches/aicom-network-fixes/; revision=36143
2008-09-11 19:15:35 +00:00
Cameron Gutman
8e9ec3d648 - Nicer solution for the problem fixed in r36102
svn path=/branches/aicom-network-fixes/; revision=36141
2008-09-11 18:17:11 +00:00
Cameron Gutman
4b72cb5e0f - We must call MiniQueueWorkItem while holding a spin lock
svn path=/branches/aicom-network-fixes/; revision=36134
2008-09-11 09:37:54 +00:00
Cameron Gutman
acb347a4eb - Fix 3 handle leaks
- Fix 2 memory leaks

svn path=/branches/aicom-network-fixes/; revision=36115
2008-09-10 09:34:28 +00:00
Cameron Gutman
48c47e07e6 - Return the correct status
svn path=/branches/aicom-network-fixes/; revision=36107
2008-09-10 07:43:05 +00:00
Cameron Gutman
8cf22aef05 - Don't call IoCompleteRequest while holding a spin lock because it can cause deadlocks
svn path=/branches/aicom-network-fixes/; revision=36102
2008-09-10 04:59:12 +00:00
Cameron Gutman
e39210e30a - Remove the spin locks around NdisSend because it causes a crash in kvmnet
svn path=/branches/aicom-network-fixes/; revision=36101
2008-09-10 03:54:46 +00:00
Cameron Gutman
55a1919cbf - Set ContextSize when we allocate it
- Remove the context size check so we always create a new one now
 - Now we succeed regardless of the current context size

svn path=/branches/aicom-network-fixes/; revision=36100
2008-09-10 02:52:22 +00:00
Cameron Gutman
16fabd560b - Fix a memory leak
svn path=/branches/aicom-network-fixes/; revision=36094
2008-09-09 19:47:12 +00:00
Cameron Gutman
8b9d9a57c7 - Release the spin lock before returning
svn path=/branches/aicom-network-fixes/; revision=36075
2008-09-09 00:58:44 +00:00
Cameron Gutman
dc08835ad7 - Remove the adapter from the global adapter list if we fail
svn path=/branches/aicom-network-fixes/; revision=36074
2008-09-09 00:17:02 +00:00
Cameron Gutman
128aeae543 - Make sure we set a failure status when we fail so we don't complete with NDIS_STATUS_SUCCESS when we really failed
svn path=/branches/aicom-network-fixes/; revision=36071
2008-09-08 23:42:14 +00:00
Cameron Gutman
8ea40ee79e - Return the actual status not NDIS_STATUS_SUCCESS always
svn path=/branches/aicom-network-fixes/; revision=36070
2008-09-08 23:27:52 +00:00
Cameron Gutman
23787cbeb2 - Make sure we successfully allocated memory
svn path=/branches/aicom-network-fixes/; revision=36042
2008-09-07 19:38:21 +00:00
Cameron Gutman
f410547dd1 - Return NDIS_STATUS_RESOURCES not NDIS_STATUS_NOT_ACCEPTED when we fail to allocate memory
svn path=/branches/aicom-network-fixes/; revision=36009
2008-09-06 21:45:23 +00:00
Cameron Gutman
38a8193915 - Forgot this file from r36006
svn path=/branches/aicom-network-fixes/; revision=36008
2008-09-06 21:42:58 +00:00
Cameron Gutman
0658669a1e - Check status from RawIPStartup, UDPStartup, and TCPStartup
svn path=/branches/aicom-network-fixes/; revision=36007
2008-09-06 21:36:55 +00:00
Cameron Gutman
2044568591 - Make PortsStartup return NTSTATUS so we can make sure memory allocated succeeded
- Change the callers to check the return status

svn path=/branches/aicom-network-fixes/; revision=36006
2008-09-06 21:30:09 +00:00
Cameron Gutman
4c942b62d6 - Fix a code typo
svn path=/branches/aicom-network-fixes/; revision=36004
2008-09-06 20:52:54 +00:00
Cameron Gutman
36b4bed9c8 - Use NewBuf instead of Data so we actually use the buffer we allocate
svn path=/branches/aicom-network-fixes/; revision=36003
2008-09-06 20:42:10 +00:00
Cameron Gutman
b732baa632 - Return NDIS_STATUS_RESOURCES not STATUS_NO_MEMORY
svn path=/branches/aicom-network-fixes/; revision=36002
2008-09-06 20:37:06 +00:00
Cameron Gutman
0d461c29a8 - Return TDI_NO_RESOURCES instead of TDI_INVALID_REQUEST when we can't allocate memory
svn path=/branches/aicom-network-fixes/; revision=36001
2008-09-06 20:27:56 +00:00
Cameron Gutman
6132fa321c - Code cleanup
svn path=/branches/aicom-network-fixes/; revision=36000
2008-09-06 20:18:42 +00:00
Cameron Gutman
85672737e6 - Handle AllocatedResources and AllocatedResourcesTranslated separately
- Fix a memory leak
 - Fix a handle leak

svn path=/branches/aicom-network-fixes/; revision=35964
2008-09-05 19:51:18 +00:00
Cameron Gutman
16427a1482 - Fix cleanup code
- We could possibly end up there with a NULL FileHandleObject and return a garbage FileHandle or crash
 - Now we always return a NULL FileHandle when we fail and free FileHandleObject if it has been allocated

svn path=/branches/aicom-network-fixes/; revision=35946
2008-09-04 19:08:08 +00:00
Cameron Gutman
4ff5fc5caa - Fix 2 memory leaks
- Set ParameterValue to NULL on failure

svn path=/branches/aicom-network-fixes/; revision=35944
2008-09-04 18:42:49 +00:00
Cameron Gutman
14d8dfbd90 - Accept STATUS_SUCCESS also as done in config.c
svn path=/branches/aicom-network-fixes/; revision=35919
2008-09-03 23:37:09 +00:00
Cameron Gutman
8d622c2821 - Fail if PrepareARPPacket returned NULL
- Fixes another possible crash

svn path=/branches/aicom-network-fixes/; revision=35899
2008-09-02 23:47:05 +00:00
Cameron Gutman
f398b8d6eb - Move the NULL check immediately after the memory is allocated
svn path=/branches/aicom-network-fixes/; revision=35898
2008-09-02 23:36:46 +00:00
Cameron Gutman
fe270e9c66 - Fail if we didn't successfully add the header
svn path=/branches/aicom-network-fixes/; revision=35897
2008-09-02 23:26:32 +00:00
Cameron Gutman
d75a5f4d04 - Set UDPInitialized to FALSE at the end of UDPShutdown
svn path=/branches/aicom-network-fixes/; revision=35896
2008-09-02 23:15:28 +00:00
Cameron Gutman
26b1ba0f02 - Initially set NdisProtocolHandle to NULL
svn path=/branches/aicom-network-fixes/; revision=35889
2008-09-02 18:38:42 +00:00
Cameron Gutman
87315e4ac4 - STATUS_SUCCESS -> NDIS_STATUS_SUCCESS
svn path=/branches/aicom-network-fixes/; revision=35868
2008-09-01 22:59:04 +00:00
Cameron Gutman
ae2f6e5543 - Set Status
svn path=/branches/aicom-network-fixes/; revision=35867
2008-09-01 22:48:03 +00:00
Cameron Gutman
480dd52090 - Initially set Packet to NULL
svn path=/branches/aicom-network-fixes/; revision=35856
2008-09-01 13:12:34 +00:00
Cameron Gutman
bbf9cb252c - Don't return NDIS_STATUS_SUCCESS when we really failed
svn path=/branches/aicom-network-fixes/; revision=35849
2008-09-01 03:58:34 +00:00
Cameron Gutman
1443f6833b - Initially set PoolHandle, ConfigurationHandle, KeyHandle, and Filter to NULL
- Initially set PortOffset to 0
 - Fix 4 memory leaks
 - Remove a useless if

svn path=/branches/aicom-network-fixes/; revision=35848
2008-09-01 03:13:35 +00:00
Cameron Gutman
954aed91f2 - Change the status to STATUS_SUCCESS if TdiReceive returns STATUS_PENDING
svn path=/branches/aicom-network-fixes/; revision=35787
2008-08-30 03:29:41 +00:00
Cameron Gutman
1cc8981800 - Check if TdiBuildNullConnectionInfo completed successfully
- Add a comment
 - Fail if we can't allocate Qelt

svn path=/branches/aicom-network-fixes/; revision=35786
2008-08-30 02:53:20 +00:00
Cameron Gutman
b8a0800ce6 - FCB->State gets set to SOCKET_STATE_CONNECTED in MakeSocketIntoConnection
svn path=/branches/aicom-network-fixes/; revision=35785
2008-08-30 02:40:26 +00:00
Cameron Gutman
60899277f8 - Check if MakeSocketIntoConnection succeeded
- Check if TaCopyTransportAddress succeeded

svn path=/branches/aicom-network-fixes/; revision=35784
2008-08-30 02:30:27 +00:00
Cameron Gutman
17c1d9b828 - Check that we successfully allocated memory
- Return TDI_NO_RESOURCES instead of STATUS_NO_MEMORY

svn path=/branches/aicom-network-fixes/; revision=35783
2008-08-30 02:04:30 +00:00
Cameron Gutman
ac9f7a78b0 - Returning STATUS_BUFFER_OVERFLOW is ok also since we're only trying to get DriverKeyLength
svn path=/branches/aicom-network-fixes/; revision=35761
2008-08-29 14:33:42 +00:00
Cameron Gutman
b4b79146c7 - Revert my last commit
- Looks like this is meant to fail
 - I added a comment so no one does this again

svn path=/branches/aicom-network-fixes/; revision=35745
2008-08-29 04:23:10 +00:00
Cameron Gutman
cf392f00f6 - Fix a code typo resulting in calls to MiQueryResources to return early
svn path=/branches/aicom-network-fixes/; revision=35744
2008-08-29 03:59:25 +00:00
Cameron Gutman
8fa497277d - Free the address we've previously allocated if needed
svn path=/branches/aicom-network-fixes/; revision=35743
2008-08-29 02:19:16 +00:00
Cameron Gutman
976fe9f031 - Set Handle to NULL so we don't try to close it later
svn path=/branches/aicom-network-fixes/; revision=35741
2008-08-29 01:08:55 +00:00
Cameron Gutman
906dfdd979 - Don't handle OSK_EINPROGRESS since TCPTranslateError already has done the conversion to STATUS_PENDING
svn path=/branches/aicom-network-fixes/; revision=35714
2008-08-27 21:45:45 +00:00
Cameron Gutman
92073dfb72 - Fix many memory leaks
- Complete with the correct status

svn path=/branches/aicom-network-fixes/; revision=35656
2008-08-26 02:57:12 +00:00
Cameron Gutman
d4296ce6a5 - Fix a memory leak
svn path=/branches/aicom-network-fixes/; revision=35653
2008-08-26 00:47:22 +00:00
Cameron Gutman
abd660f2dc - Revert my whole ASSERT mess
- This fixes Qemu

svn path=/branches/aicom-network-fixes/; revision=35611
2008-08-24 19:53:16 +00:00
Cameron Gutman
0a84b51976 - Apply the same change in my branch as I did to trunk in r35602
svn path=/branches/aicom-network-fixes/; revision=35610
2008-08-24 19:28:25 +00:00
Cameron Gutman
7a30e67498 - Add another missing PollReeval
svn path=/branches/aicom-network-fixes/; revision=35609
2008-08-24 19:21:41 +00:00
Cameron Gutman
63ba865297 - Revert r35601
- This should always be set if FCB->CurrentThread is non-NULL

svn path=/branches/aicom-network-fixes/; revision=35607
2008-08-24 18:32:19 +00:00
Cameron Gutman
d70ad469a8 - Set FCB->Locked to TRUE after we increment the lock count
svn path=/branches/aicom-network-fixes/; revision=35601
2008-08-24 16:20:14 +00:00
Cameron Gutman
a66142aff9 - Add some missing calls to PollReeval
- Move an existing PollReeval to always be called

svn path=/branches/aicom-network-fixes/; revision=35597
2008-08-24 13:56:35 +00:00
Cameron Gutman
e4a04351f2 - Fail if DatagramRecv->Address is NULL
svn path=/branches/aicom-network-fixes/; revision=35596
2008-08-24 13:25:19 +00:00
Cameron Gutman
963205e8b8 - Set *ConnectionInfo to NULL if we can't allocate memory for ConnInfo
svn path=/branches/aicom-network-fixes/; revision=35589
2008-08-24 02:55:26 +00:00
Cameron Gutman
4f54a68190 - Skip ObReferenceObjectByHandle if HandleArray[i].Handle is NULL
- Fail if ObReferenceObjectByHandle didn't succeed
 - Remove a bad ASSERT I added in my last commit

svn path=/branches/aicom-network-fixes/; revision=35583
2008-08-24 01:34:17 +00:00
Cameron Gutman
98c2a1ea67 - Fail if MmProbeAndLockPages doesn't succeed
- Fail if IoAllocateMdl returns NULL
 - Add some ASSERTs

svn path=/branches/aicom-network-fixes/; revision=35582
2008-08-24 01:09:48 +00:00
Cameron Gutman
e2c0738526 - Make sure IPAddr is non-NULL
- Change STATUS_UNSUCCESSFUL to STATUS_INVALID_PARAMETER

svn path=/branches/aicom-network-fixes/; revision=35579
2008-08-23 22:06:49 +00:00
Cameron Gutman
055139fc07 - Code cleanup
- Make sure FCB->RemoteAddress is non-NULL

svn path=/branches/aicom-network-fixes/; revision=35578
2008-08-23 21:53:37 +00:00
Cameron Gutman
2d966ffcfb - Make sure FCB->AddressFrom is non-NULL
svn path=/branches/aicom-network-fixes/; revision=35577
2008-08-23 21:41:10 +00:00
Cameron Gutman
fb0a6601f9 - More STATUS_UNSUCCESSFUL to STATUS_INVALID_PARAMETER changes
svn path=/branches/aicom-network-fixes/; revision=35538
2008-08-22 19:35:20 +00:00
Cameron Gutman
f337da0bfb - Handle STATUS_INVALID_PARAMETER
svn path=/branches/aicom-network-fixes/; revision=35537
2008-08-22 19:30:33 +00:00
Cameron Gutman
e233f4f784 - Return a more accurate status (STATUS_INVALID_PARAMETER) than STATUS_UNSUCCESSFUL when a parameter is NULL
svn path=/branches/aicom-network-fixes/; revision=35536
2008-08-22 19:26:30 +00:00
Cameron Gutman
3b1ae0bb37 - Replace MmMapLockedPages with MmGetSystemAddressForMdlSafe
- Add a check to UnlockRequest
 - Enclose MmProbeAndLockPages in SEH
 - Fixes bug 3672

svn path=/branches/aicom-network-fixes/; revision=35507
2008-08-21 14:46:03 +00:00
Cameron Gutman
3b40e9b047 - Reapply r35481
svn path=/branches/aicom-network-fixes/; revision=35486
2008-08-20 19:06:43 +00:00
Cameron Gutman
df19533df7 - Fix IRP cancellation issues
- Ping doesn't hang anymore

svn path=/branches/aicom-network-fixes/; revision=35485
2008-08-20 18:50:26 +00:00
Cameron Gutman
67fae61a27 - Revert 35477-35481
svn path=/branches/aicom-network-fixes/; revision=35484
2008-08-20 18:46:38 +00:00
Cameron Gutman
9b492699af - Fix handling of cancelled IRPs
svn path=/branches/aicom-network-fixes/; revision=35481
2008-08-20 17:29:01 +00:00
Cameron Gutman
6159e6d129 - Don't forget about ConnectIrp (This fix was lost in the merge)
- Don't destroy the same socket twice
 - Don't unlock the same socket twice
 - Don't destroy a socket with pending IRPs

svn path=/branches/aicom-network-fixes/; revision=35480
2008-08-20 14:56:12 +00:00
Cameron Gutman
3def13f731 - Fix build
svn path=/branches/aicom-network-fixes/; revision=35479
2008-08-20 14:48:42 +00:00
Cameron Gutman
a796846871 - The rest of the merge
- This will most likely need fixing later

svn path=/branches/aicom-network-fixes/; revision=35478
2008-08-20 14:43:33 +00:00
Cameron Gutman
8b269440fd - Reapply arty's datagram cancellation work
- Part 1 of 3

svn path=/branches/aicom-network-fixes/; revision=35477
2008-08-20 14:21:08 +00:00
Cameron Gutman
fcdbf0c9d5 - Move LockBuffers
- Remove a duplicate debug print

svn path=/branches/aicom-network-fixes/; revision=35469
2008-08-20 01:42:12 +00:00
Cameron Gutman
95efddbf54 - Use FCB->Connection.Object instead of FCB->AddressFile.Object
- Spotted by Arty

svn path=/branches/aicom-network-fixes/; revision=35468
2008-08-20 01:10:13 +00:00
Cameron Gutman
5c1039783c - Fix a bug that resulted in the status getting changed if TdiQueryInformation failed
svn path=/branches/aicom-network-fixes/; revision=35467
2008-08-19 23:50:41 +00:00
Cameron Gutman
0afe589112 - Use MmGetSystemAddressForMdlSafe instead of MmMapLockedPages
- Noticed by Alex

svn path=/branches/aicom-network-fixes/; revision=35466
2008-08-19 23:44:11 +00:00
Cameron Gutman
717ec21981 - Fix a memory leak
svn path=/branches/aicom-network-fixes/; revision=35463
2008-08-19 21:45:08 +00:00
Cameron Gutman
735fdd1782 - Make sure we have an mdl and a buffer
svn path=/branches/aicom-network-fixes/; revision=35457
2008-08-19 17:45:53 +00:00
Cameron Gutman
2a199d0cb2 - SEHify LockRequest
- Free everything and return if MmMapLockedPages fails

svn path=/branches/aicom-network-fixes/; revision=35454
2008-08-19 16:23:01 +00:00
Cameron Gutman
ea2d464b14 - MmMapLockedPages takes KPROCESSOR_MODE not LOCK_OPERATION as the second parameter
svn path=/branches/aicom-network-fixes/; revision=35453
2008-08-19 16:06:36 +00:00
Cameron Gutman
1c3484cdd1 - Make sure we don't complete with STATUS_SUCCESS if MmMapLockedPages fails
- Move and enable MmUnlockPages and IoFreeMdl

svn path=/branches/aicom-network-fixes/; revision=35446
2008-08-19 04:36:05 +00:00
Cameron Gutman
34a1b59e0a - Release the spin lock
svn path=/branches/aicom-network-fixes/; revision=35441
2008-08-19 00:19:18 +00:00
Cameron Gutman
6b5a88dd52 - Use the correct ioctl
svn path=/branches/aicom-network-fixes/; revision=35439
2008-08-18 23:41:23 +00:00
Cameron Gutman
e57331851c - Don't hardcode the Ioctl
svn path=/branches/aicom-network-fixes/; revision=35438
2008-08-18 23:35:32 +00:00
Cameron Gutman
bd043fd1cf - Call MmProbeAndLockPages for SysMdl
svn path=/branches/aicom-network-fixes/; revision=35431
2008-08-18 14:00:27 +00:00
Cameron Gutman
6634c6a919 - Handle STATUS_FILE_CLOSED
svn path=/branches/aicom-network-fixes/; revision=35420
2008-08-18 00:05:05 +00:00
Cameron Gutman
8b67a0b644 - Change STATUS_UNSUCCESSFUL to STATUS_FILE_CLOSED
- Move the Irp->Cancel check after SocketAcquireStateLock to fix a possible crash
 - Change STATUS_INVALID_PARAMETER to STATUS_FILE_CLOSED
 - Move SocketAcquireStateLock in front of the check for a NULL return from LockRequest to prevent another possible crash

svn path=/branches/aicom-network-fixes/; revision=35419
2008-08-17 22:12:31 +00:00
Cameron Gutman
ec037e4d9d - Call SocketStateUnlock before returning
- Don't complete the IRP again in the completion routine

svn path=/branches/aicom-network-fixes/; revision=35418
2008-08-17 21:48:09 +00:00
Cameron Gutman
e070cbeb39 - Add debug prints for failure statuses
svn path=/branches/aicom-network-fixes/; revision=35404
2008-08-17 08:17:03 +00:00
Cameron Gutman
54a02c3ea8 - Make sure we successfully allocated ConnectionReturnInfo and ConnectionCallInfo
- Make sure ObReferenceObjectByHandle was successful

svn path=/branches/aicom-network-fixes/; revision=35398
2008-08-16 21:16:41 +00:00
Cameron Gutman
05a4dffa6e - Move SocketAcquireStateLock out of SEH
svn path=/branches/aicom-network-fixes/; revision=35393
2008-08-16 15:06:12 +00:00
Cameron Gutman
3f184e689d - Move MmUnlockPages to the proper place (still commented out though)
svn path=/branches/aicom-network-fixes/; revision=35391
2008-08-16 14:23:58 +00:00
Cameron Gutman
0c3f9f9d05 - Fix another memory leak
svn path=/branches/aicom-network-fixes/; revision=35385
2008-08-16 11:59:54 +00:00
Cameron Gutman
19d28c4deb - Raise the maximum IRQL that this routine is callable to APC_LEVEL
svn path=/branches/aicom-network-fixes/; revision=35363
2008-08-16 00:28:33 +00:00
Cameron Gutman
6696dcbc45 - Fix a memory leak that occurs when AfdSetContext is called with a buffer that is too small
- Properly return STATUS_BUFFER_TOO_SMALL when the buffer passed is too small

svn path=/branches/aicom-network-fixes/; revision=35358
2008-08-15 18:26:52 +00:00
Cameron Gutman
3f603adf26 - Fix a typo resulting in any call to AfdGetSockOrPeerName with Local set to FALSE to return STATUS_NO_MEMORY
svn path=/branches/aicom-network-fixes/; revision=35356
2008-08-15 18:14:55 +00:00
Cameron Gutman
76f11722e8 - Fix a possible crash
- Fix 2 memory leaks

svn path=/branches/aicom-network-fixes/; revision=35343
2008-08-14 17:13:11 +00:00
Cameron Gutman
5cf6890ee7 - Always set Irp->IoStatus.Status
- Clear the cancel routine only when completing

svn path=/branches/aicom-network-fixes/; revision=35340
2008-08-14 15:14:32 +00:00
Cameron Gutman
e8c5f099c5 - Handle STATUS_BUFFER_TOO_SMALL
- Handle STATUS_NO_MEMORY

svn path=/branches/aicom-network-fixes/; revision=35320
2008-08-13 22:33:48 +00:00
Cameron Gutman
e5e4035c8d - Set Buf to NULL so we don't try to free it again later
svn path=/branches/aicom-network-fixes/; revision=35306
2008-08-13 14:53:22 +00:00
Cameron Gutman
4afbde3127 - Revert r35279 due to some odd problems with UnlockBuffers when completing
svn path=/branches/aicom-network-fixes/; revision=35298
2008-08-13 04:40:39 +00:00
Cameron Gutman
e07f679c75 - Don't crash if we are already freed
- Some code frees the buffers right after an operation fails which is fine

svn path=/branches/aicom-network-fixes/; revision=35297
2008-08-13 02:55:05 +00:00
Cameron Gutman
90f6b947b8 - Move memory freeing to ListenComplete
svn path=/branches/aicom-network-fixes/; revision=35296
2008-08-13 00:19:34 +00:00
Cameron Gutman
70fd5e3314 - Check for FCB->TdiDeviceName.Buffer before attempting to access it
- Fix 2 more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35292
2008-08-12 20:03:53 +00:00
Cameron Gutman
8f5e892fbf - Free the MDL on failure
- Use _SEH_YIELD

svn path=/branches/aicom-network-fixes/; revision=35291
2008-08-12 18:34:07 +00:00
Cameron Gutman
b50e9e3146 - Make sure both FCB->Recv.Window and FCB->Send.Window were created before returning STATUS_SUCCESS
- Make sure MakeSocketIntoConnection() completed successfully
 - Make sure WarmSocketForConnection() completed successfully
 - Don't continue if TdiBuildNullConnectionInfoInPlace() fails
 - SEHify TdiBuildConnectionInfoInPlace()
 - Make sure we have a non-NULL TargetAddress before calling TdiSendDatagram()

svn path=/branches/aicom-network-fixes/; revision=35290
2008-08-12 18:18:03 +00:00
Cameron Gutman
5d9c71ed13 - Fix another memory leak
svn path=/branches/aicom-network-fixes/; revision=35289
2008-08-12 15:27:15 +00:00
Cameron Gutman
f0d01cf5aa - Don't forget to call UnlockBuffers()
- Use Irp->IoStatus.Information instead of RecvReq->BufferArray[0].len

svn path=/branches/aicom-network-fixes/; revision=35283
2008-08-12 03:20:52 +00:00
Cameron Gutman
bfa1b80f5f - Don't continue if locking failed
svn path=/branches/aicom-network-fixes/; revision=35282
2008-08-11 22:44:24 +00:00
Cameron Gutman
ce24947336 - Only call LockBuffers() if we must
svn path=/branches/aicom-network-fixes/; revision=35279
2008-08-11 15:32:45 +00:00
Cameron Gutman
4873208286 - Set the MDL we just freed to NULL so we don't try to free it again later
svn path=/branches/aicom-network-fixes/; revision=35274
2008-08-11 14:38:17 +00:00
Cameron Gutman
d6823d52cf - Move check for NULL FCB before trying to access it
- Should fix a random crash I got when testing my web server

svn path=/branches/aicom-network-fixes/; revision=35260
2008-08-10 11:23:05 +00:00
Cameron Gutman
55ca1bda96 - Uncomment TdiQueryAddress and get it to compile
svn path=/branches/aicom-network-fixes/; revision=35251
2008-08-09 23:44:44 +00:00
Cameron Gutman
98c4b74c0d - Uncomment TdiQueryInformationEx and make it compile
svn path=/branches/aicom-network-fixes/; revision=35250
2008-08-09 23:25:46 +00:00
Cameron Gutman
1364b76b4d - Fix another memory leak
svn path=/branches/aicom-network-fixes/; revision=35246
2008-08-09 19:03:37 +00:00
Cameron Gutman
9ff6170e6f - Remove ASSERTs and return STATUS_INVALID_PARAMETER
- Should fix Christoph's problem with ROS crashing when closing emule

svn path=/branches/aicom-network-fixes/; revision=35189
2008-08-08 17:50:00 +00:00
Cameron Gutman
6c645ac736 - Add some ASSERTs
svn path=/branches/aicom-network-fixes/; revision=35188
2008-08-08 16:56:51 +00:00
Cameron Gutman
9e8d40a05b - Remove duplicate code
svn path=/branches/aicom-network-fixes/; revision=35186
2008-08-08 16:17:06 +00:00
Cameron Gutman
ede9f79604 - Revert my lib changes until I figure out some problems with them
svn path=/branches/aicom-network-fixes/; revision=35155
2008-08-07 02:40:45 +00:00
Cameron Gutman
5345dbe2ae - Don't check Status so we don't quit looping after the first unsuccessful IRP
svn path=/branches/aicom-network-fixes/; revision=35152
2008-08-06 22:19:53 +00:00
Cameron Gutman
8856c4a5a2 - Use Status instead of IOSB.Status in some cases
svn path=/branches/aicom-network-fixes/; revision=35129
2008-08-05 16:32:56 +00:00
Cameron Gutman
1fccbafaed - Close the handle on failure
svn path=/branches/aicom-network-fixes/; revision=35116
2008-08-05 01:46:59 +00:00
Cameron Gutman
69ef129571 - Fix one more memory leak
- Note: The reason the network stack stops functioning occasionally is because it runs out of resources not because ReactOS crashes which is why I'm tracking down memory leaks

svn path=/branches/aicom-network-fixes/; revision=35114
2008-08-04 21:06:39 +00:00
Cameron Gutman
107921e042 - Forgot to include one fix in my last commit
svn path=/branches/aicom-network-fixes/; revision=35110
2008-08-04 17:11:04 +00:00
Cameron Gutman
c15c351f5d - Fix more memory leaks
svn path=/branches/aicom-network-fixes/; revision=35107
2008-08-04 16:46:53 +00:00
Cameron Gutman
ac4f9f984d - Fix more leaks
svn path=/branches/aicom-network-fixes/; revision=35106
2008-08-04 16:20:08 +00:00
Cameron Gutman
e3383af168 - Revert the rest of r35080
- The memory is freed in AfdAccept

svn path=/branches/aicom-network-fixes/; revision=35102
2008-08-04 15:19:23 +00:00
Cameron Gutman
23c7498a26 - Revert part of r35080
svn path=/branches/aicom-network-fixes/; revision=35101
2008-08-04 15:16:44 +00:00
Cameron Gutman
23cb7f30fa - Fix 2 more memory leaks
svn path=/branches/aicom-network-fixes/; revision=35080
2008-08-03 18:49:30 +00:00
Cameron Gutman
376173f679 - Fail if we can't allocate memory
- Fix a memory leak
 - Also resize the buffer on STATUS_BUFFER_OVERFLOW

svn path=/branches/aicom-network-fixes/; revision=35076
2008-08-03 18:02:10 +00:00
Cameron Gutman
fa8410c89c - Don't continue if OpenRegistryKey fails
svn path=/branches/aicom-network-fixes/; revision=35073
2008-08-03 17:27:16 +00:00
Cameron Gutman
6286fe5bb6 - Handle STATUS_REMOTE_NOT_LISTENING
svn path=/branches/aicom-network-fixes/; revision=35062
2008-08-03 09:52:22 +00:00
Cameron Gutman
221590c8f7 - Handle STATUS_INSUFFICIENT_RESOURCES
svn path=/branches/aicom-network-fixes/; revision=35061
2008-08-03 09:40:13 +00:00
Cameron Gutman
93abe83cd2 - Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue if possible
svn path=/branches/aicom-network-fixes/; revision=35055
2008-08-03 05:10:53 +00:00
Cameron Gutman
31bbc55cec - Add some more debug prints for memory allocation/freeing
svn path=/branches/aicom-network-fixes/; revision=35054
2008-08-03 03:05:39 +00:00
Cameron Gutman
312bb6657e - We must assign values to Irp->IoStatus.Status and Irp->IoStatus.Information because the function that called us might not call UnlockAndMaybeComplete to assign those values
svn path=/branches/aicom-network-fixes/; revision=35053
2008-08-03 01:38:05 +00:00
Cameron Gutman
f470e856b1 - Set Irp->IoStatus.Information to 0
- Set Irp->IoStatus.Status before returning

svn path=/branches/aicom-network-fixes/; revision=35046
2008-08-02 20:53:32 +00:00
Cameron Gutman
ca91433bbc - We must complete the IRP if we fail because the function we were called from expects the IRP to be completed after this call
- Return the correct status

svn path=/branches/aicom-network-fixes/; revision=35038
2008-08-02 14:52:19 +00:00
Cameron Gutman
dfd8d6b0c0 - Fix a bug where Irp->IoStatus wasn't set if Status == STATUS_PENDING
svn path=/branches/aicom-network-fixes/; revision=35024
2008-08-02 03:51:17 +00:00
Cameron Gutman
80709d7858 - Make sure to set Irp->IoStatus.Status to the correct status
svn path=/branches/aicom-network-fixes/; revision=35023
2008-08-02 03:17:53 +00:00
Cameron Gutman
928b81e97f - These should no longer be needed now that TDI doesn't give back invalid IRPs
- I'll look into the canceling issue later

svn path=/branches/aicom-network-fixes/; revision=35014
2008-08-01 17:21:52 +00:00
Cameron Gutman
606652ca08 * Fix many memory leaks by unmapping MDL pages when UnlockAndMaybeComplete and LostSocket are called with Status != STATUS_PENDING
This change should probably be merged to trunk before 0.3.6

svn path=/branches/aicom-network-fixes/; revision=35001
2008-08-01 12:19:18 +00:00
Cameron Gutman
0940a5b301 * Properly handle STATUS_TIMEOUT
* Don't crash if STATUS_END_OF_FILE and a NULL ReturnedBytes are passed
 * Handle STATUS_INVALID_CONNECTION

svn path=/branches/aicom-network-fixes/; revision=34997
2008-08-01 12:06:19 +00:00
Art Yerkes
c501d8112c Create a branch for network fixes.
svn path=/branches/aicom-network-fixes/; revision=34994
2008-08-01 11:32:26 +00:00
3244 changed files with 220566 additions and 93166 deletions

View File

@@ -48,6 +48,7 @@ Mark Tempel <mtempel@visi.com>
Mark Weaver <mark@npsl.co.uk>
Martin Fuchs <martin-fuchs@gmx.net>
Marty Dill <mdill@uvic.ca>
Matthias Kupfer <mkupfer@reactos.org>
Matt Pyne
Mike Nordell <"tamlin">
Nathan Woods <npwoods@mess.org>

View File

@@ -214,7 +214,9 @@ ifeq ($(HALFVERBOSEECHO),yes)
ECHO_BUILDNO =@echo $(QUOTE)[BUILDNO] $@$(QUOTE)
ECHO_INVOKE =@echo $(QUOTE)[INVOKE] $<$(QUOTE)
ECHO_PCH =@echo $(QUOTE)[PCH] $@$(QUOTE)
ECHO_CPP =@echo $(QUOTE)[CPP] $@$(QUOTE)
ECHO_CC =@echo $(QUOTE)[CC] $<$(QUOTE)
ECHO_CL =@echo $(QUOTE)[CL] $<$(QUOTE)
ECHO_GAS =@echo $(QUOTE)[GAS] $<$(QUOTE)
ECHO_NASM =@echo $(QUOTE)[NASM] $<$(QUOTE)
ECHO_AR =@echo $(QUOTE)[AR] $@$(QUOTE)
@@ -224,6 +226,7 @@ ifeq ($(HALFVERBOSEECHO),yes)
ECHO_BIN2RES =@echo $(QUOTE)[BIN2RES] $<$(QUOTE)
ECHO_DLLTOOL =@echo $(QUOTE)[DLLTOOL] $@$(QUOTE)
ECHO_LD =@echo $(QUOTE)[LD] $@$(QUOTE)
ECHO_LINK =@echo $(QUOTE)[LINK] $@$(QUOTE)
ECHO_NM =@echo $(QUOTE)[NM] $@$(QUOTE)
ECHO_OBJDUMP =@echo $(QUOTE)[OBJDUMP] $@$(QUOTE)
ECHO_RBUILD =@echo $(QUOTE)[RBUILD] $@$(QUOTE)
@@ -244,6 +247,7 @@ else
ECHO_BUILDNO =
ECHO_INVOKE =
ECHO_PCH =
ECHO_CPP =
ECHO_CC =
ECHO_GAS =
ECHO_NASM =
@@ -309,6 +313,8 @@ objcopy = $(Q)$(PREFIX_)objcopy
dlltool = $(Q)$(PREFIX_)dlltool
strip = $(Q)$(PREFIX_)strip
windres = $(Q)$(PREFIX_)windres
cl = $(Q)cl -nologo
link = $(Q)link -nologo
# Set utilities
ifeq ($(OSTYPE),msys)

View File

@@ -12,6 +12,7 @@
<define name="__REACTOS__" />
<define name="_ARM_" />
<define name="__arm__" />
<define name="TARGET_arm" host="true" />
<if property="DBG" value="1">
<define name="DBG">1</define>

View File

@@ -4,6 +4,8 @@
<xi:include href="baseaddress.rbuild" />
<define name="__REACTOS__" />
<define name="__REACTOS__" host="true" />
<if property="DBG" value="1">
<define name="DBG">1</define>
<define name="_SEH_ENABLE_TRACE" />
@@ -14,6 +16,49 @@
<property name="DBG_OR_KDBG" value="true" />
</if>
<!-- The version target valid values are: Nt4 , NT5 , NT51 -->
<property name="VERSION_TARGET" value="NT52" />
<if property="VERSION_TARGET" value="NT4">
<define name="WINVER" overridable="true">0x400</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x400</define>
<define name="_WIN32_WINDOWS">0x400</define>
<define name="_SETUPAPI_VER">0x400</define>
</if>
<if property="VERSION_TARGET" value="NT5">
<define name="WINVER" overridable="true">0x500</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x500</define>
<define name="_WIN32_WINDOWS">0x500</define>
<define name="_SETUPAPI_VER">0x500</define>
</if>
<if property="VERSION_TARGET" value="NT51">
<define name="WINVER" overridable="true">0x501</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x501</define>
<define name="_WIN32_WINDOWS">0x501</define>
<define name="_SETUPAPI_VER">0x501</define>
</if>
<if property="VERSION_TARGET" value="NT52">
<define name="WINVER" overridable="true">0x502</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x502</define>
<define name="_WIN32_WINDOWS">0x502</define>
<define name="_SETUPAPI_VER">0x502</define>
</if>
<if property="VERSION_TARGET" value="NT6">
<define name="WINVER" overridable="true">0x600</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x600</define>
<define name="_WIN32_WINDOWS">0x600</define>
<define name="_SETUPAPI_VER">0x600</define>
</if>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
@@ -31,6 +76,11 @@
<include root="intermediate">include/reactos/mc</include>
<include>include/reactos/libs</include>
<include host="true">include</include>
<include host="true" root="intermediate">include</include>
<include host="true">include/reactos</include>
<include host="true">include/reactos/wine</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
@@ -60,7 +110,7 @@
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
<!-- <xi:include href="ntoskrnl/ntkrnlmp.rbuild" /> -->
<xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
@@ -69,4 +119,5 @@
<xi:include href="tools/tools.rbuild" />
</directory>
<compilerflag compiler="cpp">-Wno-non-virtual-dtor</compilerflag>
</group>

View File

@@ -12,6 +12,7 @@
<define name="_M_IX86" />
<define name="_X86_" />
<define name="__i386__" />
<define name="TARGET_i386" host="true" />
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>

View File

@@ -28,7 +28,8 @@ static GENERIC_MAPPING FileGenericMapping =
};
static INT
static
INT
LengthOfStrResource(IN HINSTANCE hInst,
IN UINT uID)
{
@@ -72,7 +73,8 @@ LengthOfStrResource(IN HINSTANCE hInst,
}
static INT
static
INT
AllocAndLoadString(OUT LPTSTR *lpTarget,
IN HINSTANCE hInst,
IN UINT uID)
@@ -106,7 +108,8 @@ AllocAndLoadString(OUT LPTSTR *lpTarget,
}
static VOID
static
VOID
PrintHelp(VOID)
{
LPTSTR szHelp;
@@ -125,7 +128,8 @@ PrintHelp(VOID)
}
static VOID
static
VOID
PrintErrorMessage(IN DWORD dwError)
{
LPTSTR szError;
@@ -148,7 +152,8 @@ PrintErrorMessage(IN DWORD dwError)
}
static DWORD
static
DWORD
LoadAndPrintString(IN HINSTANCE hInst,
IN UINT uID)
{
@@ -170,7 +175,8 @@ LoadAndPrintString(IN HINSTANCE hInst,
}
static BOOL
static
BOOL
PrintFileDacl(IN LPTSTR FilePath,
IN LPTSTR FileName)
{
@@ -507,7 +513,9 @@ PrintSpecialAccess:
}
int __cdecl _tmain(int argc, const TCHAR *argv[])
int
__cdecl
_tmain(int argc, const TCHAR *argv[])
{
if (argc < 2)
{

View File

@@ -2,9 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="cacls" type="win32cui" installbase="system32" installname="cacls.exe" unicode="true">
<include base="cacls">.</include>
<define name="_WIN32_IE">0x0500</define>
<define name="_WIN32_WINNT">0x0600</define>
<define name="WINVER">0x0600</define>
<library>kernel32</library>
<library>advapi32</library>
<library>ntdll</library>

View File

@@ -1,44 +1,44 @@
#ifndef _CACLS_RESOURCE_H
#define _CACLS_RESOURCE_H
#define IDS_HELP 101
#define IDS_ABBR_CI 102
#define IDS_ABBR_OI 103
#define IDS_ABBR_IO 104
#define IDS_ABBR_FULL 105
#define IDS_ABBR_READ 106
#define IDS_ABBR_WRITE 107
#define IDS_ABBR_CHANGE 108
#define IDS_ABBR_NONE 109
#define IDS_ALLOW 110
#define IDS_DENY 111
#define IDS_SPECIAL_ACCESS 112
#define IDS_HELP 101
#define IDS_ABBR_CI 102
#define IDS_ABBR_OI 103
#define IDS_ABBR_IO 104
#define IDS_ABBR_FULL 105
#define IDS_ABBR_READ 106
#define IDS_ABBR_WRITE 107
#define IDS_ABBR_CHANGE 108
#define IDS_ABBR_NONE 109
#define IDS_ALLOW 110
#define IDS_DENY 111
#define IDS_SPECIAL_ACCESS 112
#define IDS_GENERIC_READ 113
#define IDS_GENERIC_WRITE 114
#define IDS_GENERIC_EXECUTE 115
#define IDS_GENERIC_ALL 116
#define IDS_FILE_GENERIC_EXECUTE 118
#define IDS_FILE_GENERIC_READ 119
#define IDS_FILE_GENERIC_WRITE 120
#define IDS_FILE_READ_DATA 121
#define IDS_FILE_WRITE_DATA 122
#define IDS_FILE_APPEND_DATA 123
#define IDS_FILE_READ_EA 124
#define IDS_FILE_WRITE_EA 125
#define IDS_FILE_EXECUTE 126
#define IDS_FILE_DELETE_CHILD 127
#define IDS_FILE_READ_ATTRIBUTES 128
#define IDS_FILE_WRITE_ATTRIBUTES 129
#define IDS_MAXIMUM_ALLOWED 130
#define IDS_ACCESS_SYSTEM_SECURITY 131
#define IDS_SPECIFIC_RIGHTS_ALL 132
#define IDS_GENERIC_READ 113
#define IDS_GENERIC_WRITE 114
#define IDS_GENERIC_EXECUTE 115
#define IDS_GENERIC_ALL 116
#define IDS_FILE_GENERIC_EXECUTE 118
#define IDS_FILE_GENERIC_READ 119
#define IDS_FILE_GENERIC_WRITE 120
#define IDS_FILE_READ_DATA 121
#define IDS_FILE_WRITE_DATA 122
#define IDS_FILE_APPEND_DATA 123
#define IDS_FILE_READ_EA 124
#define IDS_FILE_WRITE_EA 125
#define IDS_FILE_EXECUTE 126
#define IDS_FILE_DELETE_CHILD 127
#define IDS_FILE_READ_ATTRIBUTES 128
#define IDS_FILE_WRITE_ATTRIBUTES 129
#define IDS_MAXIMUM_ALLOWED 130
#define IDS_ACCESS_SYSTEM_SECURITY 131
#define IDS_SPECIFIC_RIGHTS_ALL 132
#define IDS_STANDARD_RIGHTS_REQUIRED 133
#define IDS_SYNCHRONIZE 134
#define IDS_WRITE_OWNER 135
#define IDS_WRITE_DAC 136
#define IDS_READ_CONTROL 137
#define IDS_DELETE 138
#define IDS_STANDARD_RIGHTS_ALL 139
#define IDS_SYNCHRONIZE 134
#define IDS_WRITE_OWNER 135
#define IDS_WRITE_DAC 136
#define IDS_READ_CONTROL 137
#define IDS_DELETE 138
#define IDS_STANDARD_RIGHTS_ALL 139
#endif /* _CACLS_RESOURCE_H */

View File

@@ -3,7 +3,6 @@
<module name="calc" type="win32gui" installbase="system32" installname="calc.exe" allowwarnings="true" unicode="yes">
<include base="calc">.</include>
<define name="DISABLE_HTMLHELP_SUPPORT">1</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>user32</library>
<library>gdi32</library>
<library>kernel32</library>

View File

@@ -231,7 +231,7 @@ END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
CAPTION "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN

View File

@@ -432,7 +432,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS kalkulator er gratis pogramvare utgitt under GNU GPL lisensen.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDu kan ogs<67> f<> en oversettelse av GNU GPL lisensen here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_STRING_LICENSE "ReactOS kalkulator er gratis programvare utgitt under GNU GPL lisensen.\r\n\r\nDu kan f<EFBFBD> en kopi av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDu kan ogs<67> f<> en oversettelse av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Feil"
IDS_QUICKHELP "Rask hjelp"
END

View File

@@ -448,7 +448,7 @@ BEGIN
IDS_CONV_CONSUMPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONV_CURRENCY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_ENERGY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_LENGTH "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_LENGTH "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_POWER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_PRESSURE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_TEMPERATURE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"

View File

@@ -1,6 +1,6 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR.: 30-01-2008
* LAST CHANGE: 30-08-2008
* LAST CHANGE: 30-08-2008
* ---------------------------------------
* TODO:
* 1. treba usporiada<64> jednotky pod<6F>a abecedy

View File

@@ -239,20 +239,20 @@ END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
CAPTION "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convert",IDC_BUTTON_CONVERT,35,105,76,17
PUSHBUTTON "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Category:",IDC_STATIC,4,20,56,8
LTEXT "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Convert from:",IDC_STATIC,4,49,56,8
LTEXT "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (""<22>""):",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convert to:",IDC_STATIC,4,76,56,8
LTEXT "ʳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (""<22>""):",IDC_STATIC,4,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
@@ -452,17 +452,17 @@ END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_AREA "Area"
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"
IDS_CONV_VELOCITY "Velocity"
IDS_CONV_VOLUME "Volume"
IDS_CONV_WEIGHT "Weights"
IDS_CONV_AREA "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_CONSUMPTION "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONV_CURRENCY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_ENERGY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_LENGTH "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_POWER "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_PRESSURE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_TEMPERATURE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_VELOCITY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_VOLUME "<EFBFBD><EFBFBD>'<27><>"
IDS_CONV_WEIGHT "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF AREAS

View File

@@ -11,7 +11,9 @@
#include <precomp.h>
static INT_PTR CALLBACK
static
INT_PTR
CALLBACK
AboutDialogProc(HWND hDlg,
UINT message,
WPARAM wParam,

View File

@@ -14,7 +14,9 @@
HINSTANCE hInstance;
/* Font-enumeration callback */
static int CALLBACK
static
int
CALLBACK
EnumFontNames(ENUMLOGFONTEXW *lpelfe,
NEWTEXTMETRICEXW *lpntme,
DWORD FontType,
@@ -55,7 +57,8 @@ EnumFontNames(ENUMLOGFONTEXW *lpelfe,
/* Initialize the font-list by enumeration all system fonts */
static VOID
static
VOID
FillFontStyleComboList(HWND hwndCombo)
{
HDC hdc;
@@ -90,7 +93,8 @@ FillFontStyleComboList(HWND hwndCombo)
}
static VOID
static
VOID
ChangeMapFont(HWND hDlg)
{
HWND hCombo;
@@ -130,7 +134,8 @@ ChangeMapFont(HWND hDlg)
}
static VOID
static
VOID
AddCharToSelection(HWND hText,
WCHAR ch)
{
@@ -182,7 +187,9 @@ AddCharToSelection(HWND hText,
}
static BOOL CALLBACK
static
BOOL
CALLBACK
DlgProc(HWND hDlg,
UINT Message,
WPARAM wParam,
@@ -331,7 +338,8 @@ DlgProc(HWND hDlg,
}
INT WINAPI
INT
WINAPI
wWinMain(HINSTANCE hInst,
HINSTANCE hPrev,
LPWSTR Cmd,

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="charmap" type="win32gui" installbase="system32" installname="charmap.exe" unicode="yes">
<include base="charmap">.</include>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>gdi32</library>
<library>kernel32</library>
<library>user32</library>

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program 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 General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Dette programmet er gratis programvare; du kan distribuere det og/eller endre det under betingelsene av GNU General Public License som er utgitt av Free Software Foundation; version 2 av lisensen, eller (etter din mening) alle senere versjoner.\r\n\r\nDette programmet er utgitt i h<>p for at det skal kunne brukes, men DET ER INGEN GARANTIER; uten heller forutsatt garantier av SALGBARHET eller SIKKETHET FOR EN ENKELTHET FORM<52>L. Se p<EFBFBD> GNU General Public Lisensen for mere detaljer.\r\n\r\nDu skal ha motatt en kopi av GNU General Public Lisensen sammen med denne programmet; hvis du ikke har motatt det, skriv til Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "O&m..."
END

View File

@@ -10,7 +10,8 @@
#include <precomp.h>
static HFONT
static
HFONT
SetLrgFont(PMAP infoPtr)
{
LOGFONTW lf;

View File

@@ -12,7 +12,8 @@
static const WCHAR szMapWndClass[] = L"FontMapWnd";
static const WCHAR szLrgCellWndClass[] = L"LrgCellWnd";
static VOID
static
VOID
TagFontToCell(PCELL pCell,
WCHAR ch)
{
@@ -20,7 +21,8 @@ TagFontToCell(PCELL pCell,
}
static VOID
static
VOID
SetGrid(PMAP infoPtr)
{
INT x, y;
@@ -42,7 +44,8 @@ SetGrid(PMAP infoPtr)
}
}
static VOID
static
VOID
DrawActiveCell(PMAP infoPtr,
HDC hdc)
{
@@ -55,7 +58,8 @@ DrawActiveCell(PMAP infoPtr,
}
static VOID
static
VOID
DrawGrid(PMAP infoPtr,
HDC hdc)
{
@@ -77,7 +81,8 @@ DrawGrid(PMAP infoPtr,
}
static VOID
static
VOID
FillGrid(PMAP infoPtr,
HDC hdc)
{
@@ -107,7 +112,8 @@ FillGrid(PMAP infoPtr,
}
static BOOL
static
BOOL
CreateLargeCell(PMAP infoPtr)
{
RECT rLarge;
@@ -143,7 +149,8 @@ CreateLargeCell(PMAP infoPtr)
}
static VOID
static
VOID
MoveLargeCell(PMAP infoPtr)
{
RECT rLarge;
@@ -173,7 +180,8 @@ MoveLargeCell(PMAP infoPtr)
}
static VOID
static
VOID
SetFont(PMAP infoPtr,
LPWSTR lpFontName)
{
@@ -202,7 +210,8 @@ SetFont(PMAP infoPtr,
}
static LRESULT
static
LRESULT
NotifyParentOfSelection(PMAP infoPtr,
UINT code,
WCHAR ch)
@@ -227,7 +236,8 @@ NotifyParentOfSelection(PMAP infoPtr,
}
static VOID
static
VOID
OnClick(PMAP infoPtr,
WORD ptx,
WORD pty)
@@ -294,7 +304,8 @@ OnClick(PMAP infoPtr,
}
static BOOL
static
BOOL
OnCreate(PMAP infoPtr,
HWND hwnd,
HWND hParent)
@@ -340,7 +351,8 @@ OnCreate(PMAP infoPtr,
}
static VOID
static
VOID
OnVScroll(PMAP infoPtr,
INT Value,
INT Pos)
@@ -409,7 +421,8 @@ OnVScroll(PMAP infoPtr,
}
static VOID
static
VOID
OnPaint(PMAP infoPtr,
WPARAM wParam)
{
@@ -451,7 +464,8 @@ OnPaint(PMAP infoPtr,
}
LRESULT CALLBACK
LRESULT
CALLBACK
MapWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,

View File

@@ -1,19 +1,19 @@
#define IDC_STATIC -1
#define IDC_STATIC -1
#define IDI_ICON 100
#define IDI_ICON 100
#define IDD_CHARMAP 200
#define IDD_ABOUTBOX 201
#define IDD_CHARMAP 200
#define IDD_ABOUTBOX 201
#define IDC_FONTCOMBO 1001
#define IDC_CMHELP 1002
#define IDC_FONTMAP 1003
#define IDC_TEXTBOX 1004
#define IDC_SELECT 1005
#define IDC_COPY 1006
#define IDC_ADVVIEW 1007
#define IDC_DISPLAY 1008
#define IDC_FONTCOMBO 1001
#define IDC_CMHELP 1002
#define IDC_FONTMAP 1003
#define IDC_TEXTBOX 1004
#define IDC_SELECT 1005
#define IDC_COPY 1006
#define IDC_ADVVIEW 1007
#define IDC_DISPLAY 1008
#define IDC_LICENSE_EDIT 1009
#define IDS_LICENSE 1010
#define IDS_ABOUT 1011
#define IDS_LICENSE 1010
#define IDS_ABOUT 1011

View File

@@ -1,8 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dbgprint" type="win32cui" installbase="system32" installname="dbgprint.exe">
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<file>dbgprint.c</file>
</module>

View File

@@ -1,8 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="doskey" type="win32cui" installbase="system32" installname="doskey.exe" unicode="yes">
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<file>doskey.c</file>
<file>doskey.rc</file>

View File

@@ -1,8 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="find" type="win32cui" installbase="system32" installname="find.exe">
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>user32</library>
<file>find.c</file>

View File

@@ -1,8 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="more" type="win32cui" installbase="system32" installname="more.exe">
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>ntdll</library>
<library>user32</library>

View File

@@ -0,0 +1,79 @@
/*
* XCOPY - Wine-compatible xcopy program
* Portuguese language support
*
* Copyright (C) 2008 Ricardo Filipe
*
* 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
*/
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_INVPARMS, "N<>mero de par<61>metros inv<6E>lido - Use xcopy /? para ajuda\n"
STRING_INVPARM, "Par<61>metro inv<6E>lido '%s' - Use xcopy /? para ajuda\n"
STRING_PAUSE, "Carregue <Enter> para iniciar c<>pia\n"
STRING_SIMCOPY, "%d ficheiro(s) seriam copiados\n"
STRING_COPY, "%d ficheiro(s) copiados\n"
STRING_QISDIR, "'%s' <20> um ficheiro ou direct<63>rio\n" \
"no alvo?\n" \
"(F - Ficheiro, D - Direct<63>rio)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"Reescrever %s? (Yes|No|All)\n"
STRING_COPYFAIL, "C<>pia de '%s' para '%s' falhou com r/c %d\n"
STRING_OPENFAIL, "Falhou ao abrir '%s'\n"
STRING_READFAIL, "Falhou a ler '%s'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copia ficheiros ou direct<63>rios para um destino\n\
\n\
Sintaxe:\n\
XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Onde:\n\
\n\
[/I] Assume direct<63>rio se o destino n<>o existe e est<73> a copiar 2 ou\n\
\tmais ficheiros\n\
[/S] Copiar direct<63>rios e subdirect<63>rios\n\
[/E] Copiar direct<63>rios e subdirect<63>rios, incluindo os vazios\n\
[/Q] N<>o mostrar nomes durante a c<>pia, ie quiet.\n\
[/F] Mostrar por completo os nomes de fonte e destino durante a c<>pia\n\
[/L] Simular a opera<72><61>o, mostrando os nomes que seriam copiados\n\
[/W] Alerta antes de iniciar a opera<72><61>o de c<>pia\n\
[/T] Cria a estrutura de direct<63>rios mas n<>o copia ficheiros\n\
[/Y] Suprimir alertas quando reescreve ficheiros\n\
[/-Y] Alertar quando reescreve ficheiros\n\
[/P] Alertar antes de cada ficheiros ser copiado\n\
[/N] Copiar usando nomes pequenos\n\
[/U] Copiar apenas ficheiros que j<> existem no destino\n\
[/R] Reescrever quaisquer ficheiros apenas de leitura\n\
[/H] Incluir ficheiros ocultos e de sistema na c<>pia\n\
[/C] Continuar mesmo que ocorra um erro durante a c<>pia\n\
[/A] Copiar apenas ficheiros com atributo de arquivo\n\
[/M] Copiar apenas ficheiros com atributo de arquivo, removendo\n\
\to atributo de arquivo\n\
[/D | /D:m-d-y] Copiar novos ficheiros ou os alterados ap<61>s a data fornecida\n\
\t\tSe nenhuma data for fornecida, apenas copiar se o destino for mais antigo\n\
\t\tque a fonte\n\n"
}

View File

@@ -33,5 +33,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
#include "Ru.rc"
#include "Si.rc"

View File

@@ -13,7 +13,8 @@ static const TCHAR szWindowClass[] = _T("DummyControlClass");
HANDLE hProcessHeap;
HINSTANCE hInst;
static INT
static
INT
OpenShellFolder(LPTSTR lpFolderCLSID)
{
TCHAR szParameters[MAX_PATH];
@@ -23,10 +24,16 @@ OpenShellFolder(LPTSTR lpFolderCLSID)
_tcscpy(szParameters, _T("/n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"));
_tcscat(szParameters, lpFolderCLSID);
return (int)ShellExecute(NULL, _T("open"), _T("explorer.exe"), szParameters, NULL, SW_SHOWDEFAULT) > 32;
return (int) ShellExecute(NULL,
_T("open"),
_T("explorer.exe"),
szParameters,
NULL,
SW_SHOWDEFAULT) > 32;
}
static INT
static
INT
RunControlPanel(LPTSTR lpCmd)
{
TCHAR szParameters[MAX_PATH];
@@ -37,8 +44,12 @@ RunControlPanel(LPTSTR lpCmd)
return RUNDLL(szParameters);
}
int WINAPI
_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
int
WINAPI
_tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
HKEY hKey;
@@ -71,7 +82,11 @@ _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nC
else if (!_tcsicmp(lpCmdLine, _T("userpasswords2"))) return RUNDLL(_T("netplwiz.dll,UsersRunDll")); /* Dialog based advanced User Account Manager */
/* It is none of them, so look for a handler in the registry */
if(RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Software\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Cpls"), 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS)
if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,
_T("Software\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Cpls"),
0,
KEY_QUERY_VALUE,
&hKey) == ERROR_SUCCESS)
{
DWORD dwIndex;
@@ -82,7 +97,14 @@ _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nC
TCHAR szValueName[MAX_VALUE_NAME];
/* Get the value name and data size */
if(RegEnumValue(hKey, dwIndex, szValueName, &dwValueSize, 0, NULL, NULL, &dwDataSize) != ERROR_SUCCESS)
if(RegEnumValue(hKey,
dwIndex,
szValueName,
&dwValueSize,
0,
NULL,
NULL,
&dwDataSize) != ERROR_SUCCESS)
break;
/* Check if the parameter is the value name */
@@ -91,11 +113,18 @@ _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nC
LPTSTR pszData;
/* Allocate memory for the data plus two more characters, so we can quote the file name if required */
pszData = (LPTSTR) HeapAlloc(hProcessHeap, 0, dwDataSize + 2 * sizeof(TCHAR));
pszData = (LPTSTR) HeapAlloc(hProcessHeap,
0,
dwDataSize + 2 * sizeof(TCHAR));
++pszData;
/* This value is the one we are looking for, so get the data. It is the path to a .cpl file */
if(RegQueryValueEx(hKey, szValueName, 0, NULL, (LPBYTE)pszData, &dwDataSize) == ERROR_SUCCESS)
if(RegQueryValueEx(hKey,
szValueName,
0,
NULL,
(LPBYTE)pszData,
&dwDataSize) == ERROR_SUCCESS)
{
INT nReturnValue;
@@ -108,13 +137,17 @@ _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nC
}
nReturnValue = RunControlPanel(pszData);
HeapFree(hProcessHeap, 0, pszData);
HeapFree(hProcessHeap,
0,
pszData);
RegCloseKey(hKey);
return nReturnValue;
}
HeapFree(hProcessHeap, 0, pszData);
HeapFree(hProcessHeap,
0,
pszData);
}
}

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="dxdiag" type="win32gui" installbase="system32" installname="dxdiag.exe" unicode="yes">
<include base="dxdiag">.</include>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x600</define>
<library>kernel32</library>
<library>user32</library>
<library>advapi32</library>

View File

@@ -0,0 +1,224 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
IDD_MAIN_DIALOG DIALOGEX DISCARDABLE 0, 0, 478, 280
STYLE DS_SHELLFONT | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP |
WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
WS_THICKFRAME
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Tab1",IDC_TAB_CONTROL,"SysTabControl32",WS_TABSTOP,2,2,474,250
PUSHBUTTON "<22><><EFBFBD><EFBFBD>&<26>", IDC_BUTTON_HELP, 2, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_BUTTON_NEXT, 227, 261, 80, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", IDC_BUTTON_SAVE_INFO, 311, 261, 110, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "<22><>&<26><><EFBFBD>", IDC_BUTTON_EXIT, 425, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
IDD_SYSTEM_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>.", -1, 10, 10, 443, 17
LTEXT "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.", -1, 10, 30, 443, 25
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 55, 443, 130, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 70, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 80, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 90, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD>:", -1, 70, 100, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 40, 110, 110, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 120, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD>:", -1, 70, 130, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 140, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 150, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>:", -1, 70, 160, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 170, 80, 10, SS_RIGHT
LTEXT "", IDC_STATIC_TIME, 155, 70, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_COMPUTER, 155, 80, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_OS, 155, 90, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_LANG, 155, 100, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_MANU, 155, 110, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_MODEL, 155, 120, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_BIOS, 155, 130, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_PROC, 155, 140, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_MEM, 155, 150, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_SWAP, 155, 160, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_VERSION, 155, 170, 195, 10, SS_LEFT
END
IDD_DISPLAY_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 10, 250, 100
RTEXT "<22><><EFBFBD>:", -1, 20, 25, 80, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 35, 80, 10
RTEXT "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>:", -1, 20, 45, 80, 10
RTEXT "<22><><EFBFBD> <20><><EFBFBD>:", -1, 20, 55, 80, 10
RTEXT "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 65, 80, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 75, 80, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 85, 80, 10
LTEXT "", IDC_STATIC_ADAPTER_ID, 105, 25, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_VENDOR, 105, 35, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_CHIP, 105, 45, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_DAC, 105, 55, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_MEM, 105, 65, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_MODE, 105, 75, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_MONITOR, 105, 85, 150, 10
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)", -1, 270, 10, 190, 100
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:", -1, 275, 25, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 275, 35, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD>:", -1, 275, 45, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD> <20><> WHQL:", -1, 275, 55, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD>-VDD:", -1, 275, 65, 55, 10
RTEXT " vvdddVDD:", -1, 275, 75, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DDI:", -1, 275, 85, 55, 10
LTEXT "", IDC_STATIC_ADAPTER_DRIVER, 335, 35, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_VERSION, 335, 35, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_DATE, 335, 45, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_LOGO, 335, 55, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_MINIVDD, 335, 65, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_VDD, 335, 75, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_DDI, 335, 85, 100, 10
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 115, 450, 60
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectDraw:", -1, 15, 130, 110, 12
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> Direct3D:", -1, 15, 145, 110, 12
RTEXT "AGP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 15, 160, 110, 12
LTEXT "", IDC_STATIC_DDSTATE, 130, 130, 40, 10
LTEXT "", IDC_STATIC_D3DSTATE, 130, 145, 40, 10
LTEXT "", IDC_STATIC_AGPSTATE, 130, 160, 40, 10
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_BUTTON_DDRAW, 170, 124, 60, 14, WS_DISABLED
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_BUTTON_D3D, 170, 140, 60, 14, WS_DISABLED
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_BUTTON_AGP, 170, 156, 60, 14, WS_DISABLED
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectDraw", IDC_BUTTON_TESTDD, 250, 124, 85, 14
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> Direct3D", IDC_BUTTON_TEST3D, 250, 140, 85, 14, WS_DISABLED
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 180, 450, 40
EDITTEXT IDC_TEXT_INFO, 20, 192, 432, 20, WS_DISABLED | WS_TABSTOP
END
IDD_SOUND_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 10, 250, 100
RTEXT "<22><><EFBFBD>:", -1, 15, 25, 95, 10
RTEXT "<22><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 15, 35, 95, 10
RTEXT "<22><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 15, 45, 95, 10
RTEXT "<22><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 15, 55, 95, 10
RTEXT "<22><><EFBFBD>:", -1, 15, 65, 95, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 15, 75, 95, 10
LTEXT "", IDC_STATIC_DSOUND_NAME, 115, 25, 140, 10
LTEXT "", IDC_STATIC_DSOUND_DEVICEID, 115, 35, 140, 10
LTEXT "", IDC_STATIC_DSOUND_VENDORID, 115, 45, 140, 10
LTEXT "", IDC_STATIC_DSOUND_PRODUCTID, 115, 55, 140, 10
LTEXT "", IDC_STATIC_DSOUND_TYPE, 115, 65, 140, 10
LTEXT "", IDC_STATIC_DSOUND_STANDARD, 115, 75, 140, 10
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)", -1, 270, 10, 190, 100
RTEXT "<22><><EFBFBD>:", -1, 275, 25, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 275, 35, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD>:", -1, 275, 45, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD> <20><> WHQL:", -1, 275, 55, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 275, 65, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 275, 75, 55, 10
LTEXT "", IDC_STATIC_DSOUND_DRIVER, 335, 25, 100, 10
LTEXT "", IDC_STATIC_DSOUND_VERSION, 335, 35, 100, 10
LTEXT "", IDC_STATIC_DSOUND_DATE, 335, 45, 100, 10
LTEXT "", IDC_STATIC_DSOUND_LOGO, 335, 55, 100, 10
LTEXT "", IDC_STATIC_DSOUND_FILES, 335, 65, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_PROVIDER, 335, 75, 100, 10
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 115, 450, 60
CONTROL "", IDC_SLIDER_DSOUND, "msctls_trackbar32", TBS_BOTTOM | TBS_AUTOTICKS | WS_TABSTOP, 120, 135, 80, 17
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 135, 90, 20
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectSound", IDC_BUTTON_TESTDSOUND, 270, 134, 100, 14
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 180, 450, 40
EDITTEXT IDC_TEXT_DSOUNDINFO, 20, 192, 432, 20, WS_DISABLED | WS_TABSTOP
END
IDD_MUSIC_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
END
IDD_INPUT_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (DirectInput)", -1, 10, 10, 452, 80
CONTROL "", IDC_LIST_DEVICE, "SysListView32", LVS_REPORT | WS_CHILD | WS_BORDER | WS_TABSTOP, 20, 22, 432, 60
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 100, 452, 60
CONTROL "", IDC_TREE_PORT, "SysTreeView32", TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 20, 112, 432, 40, 0x00000200
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 170, 452, 50
EDITTEXT IDC_RICH_INFO, 20, 182, 432, 30, WS_DISABLED | WS_TABSTOP
END
IDD_NETWORK_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirectPlay", -1, 10, 10, 452, 80
CONTROL "", IDC_LIST_PROVIDER, "SysListView32", LVS_REPORT | WS_CHILD | WS_BORDER | WS_TABSTOP, 20, 22, 432, 60
END
IDD_HELP_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_MAIN_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_SYSTEM_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DISPLAY_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_SOUND_DIALOG "<22><><EFBFBD><EFBFBD>"
IDS_MUSIC_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_INPUT_DIALOG "<22><><EFBFBD><EFBFBD>"
IDS_NETWORK_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_HELP_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_FORMAT_MB "%I64u<34><75> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_FORMAT_SWAP "%I64u <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, %I64u <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_FORMAT_UNIPROC "%s (%u <20><><EFBFBD>)"
IDS_FORMAT_MPPROC "%s (%u <20><><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VERSION_UNKNOWN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS_ATTACHED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS_MISSING "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS_UNKNOWN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_NAME "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_CONTROLLER "<22><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_MANUFACTURER "<22><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_PRODUCT "<22><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_FORCEFEEDBACK "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_NOT_APPLICABLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_OPTION_YES "<22><>"
IDS_DIRECTPLAY_COL_NAME1 "<22><><EFBFBD>"
IDS_DIRECTPLAY_COL_NAME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_COL_NAME3 "<22><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_COL_NAME4 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY8_MODEMSP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> DirectPlay8"
IDS_DIRECTPLAY8_SERIALSP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectPlay8"
IDS_DIRECTPLAY8_IPXSP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> IPX <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectPlay8"
IDS_DIRECTPLAY8_TCPSP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirectPlay8-TCP/IP"
IDS_DIRECTPLAY_TCPCONN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> TCP/IP <20><> DirectPlay"
IDS_DIRECTPLAY_IPXCONN "IPX <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectPlay"
IDS_DIRECTPLAY_MODEMCONN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectPlay"
IDS_DIRECTPLAY_SERIALCONN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectPlay"
IDS_REG_SUCCESS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_REG_FAIL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DDTEST_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
IDS_DDTEST_DESCRIPTION "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DirectDraw. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>?"
IDS_DDPRIMARY_DESCRIPTION "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirectDraw <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>?"
IDS_DDPRIMARY_RESULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDOFFSCREEN_DESCRIPTION "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirectDraw <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>?"
IDS_DDOFFSCREEN_RESULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDFULLSCREEN_DESCRIPTION "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirectDraw <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>?"
IDS_DDFULLSCREEN_RESULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_FORMAT_ADAPTER_MEM "%u <20><>"
IDS_FORMAT_ADAPTER_MODE "%04u x %04u (%u <20><><EFBFBD><EFBFBD>)(%u<><75>)"
IDS_OPTION_NO "<22><>"
END

View File

@@ -24,7 +24,7 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Tento n<>stroj poskytuje detailn<6C> informace o komponent<6E>ch ReactX a ovlada<64><61>ch nainstalovan<61>ch na tomto syst<73>mu.", -1, 10, 10, 443, 17
LTEXT "Pokud v<>te, ve kter<65> oblasti se nach<63>z<EFBFBD> probl<62>m, klikn<6B>te na vhodnou z<>lo<6C>ku v<><76>e. V opa<70>n<EFBFBD>m p<><70>pad<61> lze pou<6F><75>t tla<6C><61>tko \"Dal<61><6C> str<74>nka\" n<><6E>e a proch<63>zet str<74>nky postupn<70>.", -1, 10, 30, 443, 25
LTEXT "Pokud v<>te, ve kter<65> oblasti se nach<63>z<EFBFBD> probl<62>m, klikn<6B>te na vhodnou z<>lo<6C>ku v<><76>e. V opa<70>n<EFBFBD>m p<><70>pad<61> lze pou<6F><75>t tla<6C><61>tko ""Dal<61><6C> str<74>nka"" n<><6E>e a proch<63>zet str<74>nky postupn<70>.", -1, 10, 30, 443, 25
GROUPBOX "Syst<73>mov<6F> informace", -1, 10, 55, 443, 130, SS_RIGHT
LTEXT "Sou<6F>asn<73> datum a <20>as:", -1, 70, 70, 80, 10, SS_RIGHT
LTEXT "N<>zev po<70><6F>ta<74>e:", -1, 70, 80, 80, 10, SS_RIGHT

View File

@@ -211,7 +211,7 @@ BEGIN
IDS_REG_SUCCESS "OK"
IDS_REG_FAIL "Error"
IDS_DDTEST_ERROR "Test failed!"
IDS_DDTEST_DESCRIPTION "This will start DirecDraw interface test. Continue?"
IDS_DDTEST_DESCRIPTION "This will start DirectDraw interface test. Continue?"
IDS_DDPRIMARY_DESCRIPTION "This test will use DirectDraw to draw on primary surface. Black and white rectangles should be drawn. Continue?"
IDS_DDPRIMARY_RESULT "Did you see black and white rectangles?"
IDS_DDOFFSCREEN_DESCRIPTION "This test will use DirectDraw to draw in an offscreen buffer. Moving white rectangle should be drawn. Continue?"

View File

@@ -0,0 +1,229 @@
/*
*Korean translation by Seungju Kim(www.seungjukim.com) admin at manateeshome {dot} com
*I like manatees, how about you?
*/
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
IDD_MAIN_DIALOG DIALOGEX DISCARDABLE 0, 0, 478, 280
STYLE DS_SHELLFONT | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP |
WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
WS_THICKFRAME
CAPTION "ReactX <20>м<EFBFBD> <20><><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Tab1",IDC_TAB_CONTROL,"SysTabControl32",WS_TABSTOP,2,2,474,250
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(&H)", IDC_BUTTON_HELP, 2, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "<22><><EFBFBD><EFBFBD> <20><>(&N)", IDC_BUTTON_NEXT, 257, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(&S)...", IDC_BUTTON_SAVE_INFO, 311, 261, 110, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>(&E)", IDC_BUTTON_EXIT, 425, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
IDD_SYSTEM_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "<22><> <20><><EFBFBD>α׷<CEB1><D7B7><EFBFBD> ReactX<74><58> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ, <20><><EFBFBD><EFBFBD><EFBFBD>̹<EFBFBD><CCB9><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ڼ<EFBFBD><DABC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.", -1, 10, 10, 443, 17
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><20>κп<CEBA><D0BF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>߻<EFBFBD><DFBB>ϴ<EFBFBD><CFB4><EFBFBD> <20>ƽŴٸ<C5B4> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> Ŭ<><C5AC><EFBFBD><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>.<2E>׷<EFBFBD><D7B7><EFBFBD> <20>ʴٸ<CAB4> ""<22><><EFBFBD><EFBFBD> <20><>"" <20><>ư<EFBFBD><C6B0> <20>̿<EFBFBD><CCBF><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20>ϳ<EFBFBD><CFB3>ϳ<EFBFBD> <20><><EFBFBD><EFBFBD><ECBAB8><EFBFBD><EFBFBD>.", -1, 10, 30, 443, 25
GROUPBOX "<22>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD><EFBFBD>", -1, 10, 55, 443, 130, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD> <20><>¥/<2F>ð<EFBFBD>:", -1, 70, 70, 80, 10, SS_RIGHT
LTEXT "<22><>ǻ<EFBFBD><C7BB> <20≯<EFBFBD>:", -1, 70, 80, 80, 10, SS_RIGHT
LTEXT "<22> ü<><C3BC>:", -1, 70, 90, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD>:", -1, 70, 100, 80, 10, SS_RIGHT
LTEXT "<22>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 70, 110, 80, 10, SS_RIGHT
LTEXT "<22>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD><EFBFBD>:", -1, 70, 120, 80, 10, SS_RIGHT
LTEXT "BIOS:", -1, 70, 130, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD>μ<EFBFBD><CEBC><EFBFBD>:", -1, 70, 140, 80, 10, SS_RIGHT
LTEXT "<22>޸<EFBFBD><DEB8><EFBFBD>:", -1, 70, 150, 80, 10, SS_RIGHT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>:", -1, 70, 160, 80, 10, SS_RIGHT
LTEXT "ReactX <20><><EFBFBD><EFBFBD>:", -1, 70, 170, 80, 10, SS_RIGHT
LTEXT "", IDC_STATIC_TIME, 155, 70, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_COMPUTER, 155, 80, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_OS, 155, 90, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_LANG, 155, 100, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_MANU, 155, 110, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_MODEL, 155, 120, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_BIOS, 155, 130, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_PROC, 155, 140, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_MEM, 155, 150, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_SWAP, 155, 160, 195, 10, SS_LEFT
LTEXT "", IDC_STATIC_VERSION, 155, 170, 195, 10, SS_LEFT
END
IDD_DISPLAY_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><>ġ", -1, 10, 10, 250, 100
RTEXT "<22≯<EFBFBD>:", -1, 20, 25, 70, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 35, 70, 10
RTEXT "Ĩ Ÿ<><C5B8>:", -1, 20, 45, 70, 10
RTEXT "DAC Ÿ<><C5B8>:", -1, 20, 55, 70, 10
RTEXT "<22><> <20>޸<EFBFBD><DEB8><EFBFBD>:", -1, 20, 65, 70, 10
RTEXT "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>÷<EFBFBD><C3B7><EFBFBD> <20><><EFBFBD><EFBFBD>:", -1, 20, 75, 70, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 20, 85, 70, 10
LTEXT "", IDC_STATIC_ADAPTER_ID, 95, 25, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_VENDOR, 95, 35, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_CHIP, 95, 45, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_DAC, 95, 55, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_MEM, 95, 65, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_MODE, 95, 75, 150, 10
LTEXT "", IDC_STATIC_ADAPTER_MONITOR, 95, 85, 150, 10
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD>̹<EFBFBD>", -1, 270, 10, 190, 100
RTEXT "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̹<EFBFBD>:", -1, 275, 25, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD>:", -1, 275, 35, 55, 10
RTEXT "<22><>¥:", -1, 275, 45, 55, 10
RTEXT "WHQL <20>ΰ<EFBFBD>:", -1, 275, 55, 55, 10
RTEXT "Mini-VDD:", -1, 275, 65, 55, 10
RTEXT " vvdddVDD:", -1, 275, 75, 55, 10
RTEXT "DDI <20><><EFBFBD><EFBFBD>:", -1, 275, 85, 55, 10
LTEXT "", IDC_STATIC_ADAPTER_DRIVER, 335, 35, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_VERSION, 335, 35, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_DATE, 335, 45, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_LOGO, 335, 55, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_MINIVDD, 335, 65, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_VDD, 335, 75, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_DDI, 335, 85, 100, 10
GROUPBOX "ReactX-<2D><><EFBFBD><EFBFBD>", -1, 10, 115, 450, 60
RTEXT "DirectDraw <20><><EFBFBD><EFBFBD>:", -1, 15, 130, 110, 12
RTEXT "Direct3D <20><><EFBFBD><EFBFBD>:", -1, 15, 145, 110, 12
RTEXT "AGP <20>ؽ<EFBFBD><D8BD><EFBFBD> <20><><EFBFBD><EFBFBD>:", -1, 15, 160, 110, 12
LTEXT "", IDC_STATIC_DDSTATE, 130, 130, 40, 10
LTEXT "", IDC_STATIC_D3DSTATE, 130, 145, 40, 10
LTEXT "", IDC_STATIC_AGPSTATE, 130, 160, 40, 10
PUSHBUTTON "Ȱ<><C8B0>ȭ", IDC_BUTTON_DDRAW, 170, 124, 60, 14, WS_DISABLED
PUSHBUTTON "Ȱ<><C8B0>ȭ", IDC_BUTTON_D3D, 170, 140, 60, 14, WS_DISABLED
PUSHBUTTON "Ȱ<><C8B0>ȭ", IDC_BUTTON_AGP, 170, 156, 60, 14, WS_DISABLED
PUSHBUTTON "DirectDraw <20><><EFBFBD><EFBFBD>", IDC_BUTTON_TESTDD, 250, 124, 80, 14
PUSHBUTTON "Direct3D <20><><EFBFBD><EFBFBD>", IDC_BUTTON_TEST3D, 250, 140, 80, 14, WS_DISABLED
GROUPBOX "<22><><EFBFBD><EFBFBD>", -1, 10, 180, 450, 40
EDITTEXT IDC_TEXT_INFO, 20, 192, 432, 20, WS_DISABLED | WS_TABSTOP
END
IDD_SOUND_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><>ġ", -1, 10, 10, 250, 100
RTEXT "<22≯<EFBFBD>:", -1, 20, 25, 70, 10
RTEXT "<22><>ġ ID:", -1, 20, 35, 70, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID:", -1, 20, 45, 70, 10
RTEXT "<22><>ǰ ID:", -1, 20, 55, 70, 10
RTEXT "Ÿ<><C5B8>:", -1, 20, 65, 70, 10
RTEXT "<22><20><>ġ:", -1, 20, 75, 70, 10
LTEXT "", IDC_STATIC_DSOUND_NAME, 95, 25, 150, 10
LTEXT "", IDC_STATIC_DSOUND_DEVICEID, 95, 35, 150, 10
LTEXT "", IDC_STATIC_DSOUND_VENDORID, 95, 45, 150, 10
LTEXT "", IDC_STATIC_DSOUND_PRODUCTID, 95, 55, 150, 10
LTEXT "", IDC_STATIC_DSOUND_TYPE, 95, 65, 150, 10
LTEXT "", IDC_STATIC_DSOUND_STANDARD, 95, 75, 150, 10
GROUPBOX "<22><><EFBFBD><EFBFBD><EFBFBD>̹<EFBFBD>", -1, 270, 10, 190, 100
RTEXT "<22≯<EFBFBD>:", -1, 275, 25, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD>:", -1, 275, 35, 55, 10
RTEXT "<22><>¥:", -1, 275, 45, 55, 10
RTEXT "WHQL <20>ΰ<EFBFBD>:", -1, 275, 55, 55, 10
RTEXT "<22><>Ÿ <20><><EFBFBD><EFBFBD>:", -1, 275, 65, 55, 10
RTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 275, 75, 55, 10
LTEXT "", IDC_STATIC_DSOUND_DRIVER, 335, 25, 100, 10
LTEXT "", IDC_STATIC_DSOUND_VERSION, 335, 35, 100, 10
LTEXT "", IDC_STATIC_DSOUND_DATE, 335, 45, 100, 10
LTEXT "", IDC_STATIC_DSOUND_LOGO, 335, 55, 100, 10
LTEXT "", IDC_STATIC_DSOUND_FILES, 335, 65, 100, 10
LTEXT "", IDC_STATIC_ADAPTER_PROVIDER, 335, 75, 100, 10
GROUPBOX "ReactX <20><><EFBFBD><EFBFBD>", -1, 10, 115, 450, 60
CONTROL "", IDC_SLIDER_DSOUND, "msctls_trackbar32", TBS_BOTTOM | TBS_AUTOTICKS | WS_TABSTOP, 120, 135, 80, 17
RTEXT "<22>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD> <20>Ҹ<EFBFBD>\n<><6E><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>:", -1, 20, 135, 90, 20
PUSHBUTTON "DirectSound <20>׽<EFBFBD>Ʈ", IDC_BUTTON_TESTDSOUND, 270, 134, 80, 14
GROUPBOX "<22><><EFBFBD><EFBFBD>", -1, 10, 180, 450, 40
EDITTEXT IDC_TEXT_DSOUNDINFO, 20, 192, 432, 20, WS_DISABLED | WS_TABSTOP
END
IDD_MUSIC_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
END
IDD_INPUT_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "DirectInput <20><>ġ", -1, 10, 10, 452, 80
CONTROL "", IDC_LIST_DEVICE, "SysListView32", LVS_REPORT | WS_CHILD | WS_BORDER | WS_TABSTOP, 20, 22, 432, 60
GROUPBOX "<22>Է<EFBFBD> <20><>ġ", -1, 10, 100, 452, 60
CONTROL "", IDC_TREE_PORT, "SysTreeView32", TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 20, 112, 432, 40, 0x00000200
GROUPBOX "<22><><EFBFBD><EFBFBD>", -1, 10, 170, 452, 50
EDITTEXT IDC_RICH_INFO, 20, 182, 432, 30, WS_DISABLED | WS_TABSTOP
END
IDD_NETWORK_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "<22><><EFBFBD>ϵ<EFBFBD> DirectPlay <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", -1, 10, 10, 452, 80
CONTROL "", IDC_LIST_PROVIDER, "SysListView32", LVS_REPORT | WS_CHILD | WS_BORDER | WS_TABSTOP, 20, 22, 432, 60
END
IDD_HELP_DIALOG DIALOGEX DISCARDABLE 0, 0, 462, 220
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_MAIN_DIALOG "ReactX <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_SYSTEM_DIALOG "<22>ý<EFBFBD><C3BD><EFBFBD>"
IDS_DISPLAY_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD>÷<EFBFBD><C3B7><EFBFBD>"
IDS_SOUND_DIALOG "<22>Ҹ<EFBFBD>"
IDS_MUSIC_DIALOG "<22><><EFBFBD><EFBFBD>"
IDS_INPUT_DIALOG "<22>Է<EFBFBD>"
IDS_NETWORK_DIALOG "<22><>Ʈ<EFBFBD><C6AE>ũ"
IDS_HELP_DIALOG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_FORMAT_MB "%I64uMB <20><>"
IDS_FORMAT_SWAP "%I64u MB <20><><EFBFBD><EFBFBD>, %I64u MB <20><><EFBFBD><EFBFBD>"
IDS_FORMAT_UNIPROC "%s (%u CPU)"
IDS_FORMAT_MPPROC "%s (%u CPUs)"
IDS_VERSION_UNKNOWN "<22>˷<EFBFBD><CBB7><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS_ATTACHED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS_MISSING "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_DEVICE_STATUS_UNKNOWN "<22>˷<EFBFBD><CBB7><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_DEVICE_NAME "<22><>ġ <20≯<EFBFBD>"
IDS_DEVICE_STATUS "<22><><EFBFBD><EFBFBD>"
IDS_DEVICE_CONTROLLER "<22><>Ʈ<EFBFBD>ѷ<EFBFBD> ID"
IDS_DEVICE_MANUFACTURER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID"
IDS_DEVICE_PRODUCT "<22><>ǰ ID"
IDS_DEVICE_FORCEFEEDBACK "Feedback-Driver <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_NOT_APPLICABLE "<22><><EFBFBD><EFBFBD> <20>ȵ<EFBFBD>"
IDS_OPTION_YES "<22><>"
IDS_DIRECTPLAY_COL_NAME1 "<22≯<EFBFBD>"
IDS_DIRECTPLAY_COL_NAME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE>"
IDS_DIRECTPLAY_COL_NAME3 "<22><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_COL_NAME4 "<22><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY8_MODEMSP "DirectPlay8-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY8_SERIALSP "DirectPlay8 <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY8_IPXSP "DirectPlay8 IPX <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY8_TCPSP "DirectPlay8-TCP/IP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_TCPCONN "DirectPlay<61><79> <20><><EFBFBD><EFBFBD> TCP/IP <20><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_IPXCONN "DirectPlay<61><79> <20><><EFBFBD><EFBFBD> IPX <20><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_MODEMCONN "DirectPlay<61><79> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_SERIALCONN "DirectPlay<61><79> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_REG_SUCCESS "Ȯ<><C8AE>"
IDS_REG_FAIL "<22><><EFBFBD><EFBFBD>"
IDS_DDTEST_ERROR "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>!"
IDS_DDTEST_DESCRIPTION "DirectDraw<61><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̽<EFBFBD> <20>׽<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>ұ<EFBFBD><D2B1><EFBFBD>?"
IDS_DDPRIMARY_DESCRIPTION "<22><> <20>׽<EFBFBD>Ʈ<EFBFBD><C6AE> DirectDraw<61><77> <20>̿<EFBFBD><CCBF>Ͽ<EFBFBD> ǥ<><C7A5> <20><><EFBFBD><EFBFBD><E5BFA1> <20><> ȭ<><C8AD><EFBFBD><EFBFBD> <20>׸<EFBFBD> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><EFBFBD><E7B0A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>׷<EFBFBD><D7B7><EFBFBD> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>ұ<EFBFBD><D2B1><EFBFBD>?"
IDS_DDPRIMARY_RESULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><EFBFBD><E7B0A2><EFBFBD><EFBFBD> <20><><EFBFBD>̳<EFBFBD><CCB3><EFBFBD>?"
IDS_DDOFFSCREEN_DESCRIPTION "<22><> <20>׽<EFBFBD>Ʈ<EFBFBD><C6AE> DirectDraw<61><77> <20>̿<EFBFBD><CCBF>Ͽ<EFBFBD> ǥ<><C7A5> <20><><EFBFBD><EFBFBD><E5BFA1> DirectDraw<61><77> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> ȭ<><C8AD> <20><><EFBFBD><EFBFBD> <20>׸<EFBFBD> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>̴<EFBFBD> <20>Ͼ<EFBFBD> <20><EFBFBD><E7B0A2><EFBFBD><EFBFBD> <20><>Ÿ<EFBFBD><C5B8> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>ұ<EFBFBD><D2B1><EFBFBD>?"
IDS_DDOFFSCREEN_RESULT "<22><><EFBFBD><EFBFBD><EFBFBD>̴<EFBFBD> <20>Ͼ<EFBFBD> <20><EFBFBD><E7B0A2><EFBFBD><EFBFBD> <20><><EFBFBD>̳<EFBFBD><CCB3><EFBFBD>?"
IDS_DDFULLSCREEN_DESCRIPTION "<22><> <20>׽<EFBFBD>Ʈ<EFBFBD><C6AE> DirectDraw<61><77> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> <20><>ü ȭ<><C8AD><EFBFBD><EFBFBD> <20>׸<EFBFBD> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>̴<EFBFBD> <20>Ͼ<EFBFBD> <20><EFBFBD><E7B0A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>׷<EFBFBD><D7B7><EFBFBD> <20><><EFBFBD>Դϴ<D4B4>. <20><><EFBFBD><EFBFBD><EFBFBD>ұ<EFBFBD><D2B1><EFBFBD>?"
IDS_DDFULLSCREEN_RESULT "<22><>ü ȭ<><C8AD> <20><><EFBFBD>¿<EFBFBD><C2BF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̴<EFBFBD> <20>Ͼ<EFBFBD> <20><EFBFBD><E7B0A2><EFBFBD><EFBFBD> <20><><EFBFBD>̳<EFBFBD><CCB3><EFBFBD>?"
IDS_FORMAT_ADAPTER_MEM "%u MB"
IDS_FORMAT_ADAPTER_MODE "%04u x %04u (%u <20><>Ʈ)(%uHz)"
IDS_OPTION_NO "<22>ƴϿ<C6B4>"
END

View File

@@ -200,25 +200,25 @@ BEGIN
IDS_DIRECTPLAY_COL_NAME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_COL_NAME3 "<22><><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY_COL_NAME4 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DIRECTPLAY8_MODEMSP "DirectPlay8-Modem Service Provider"
IDS_DIRECTPLAY8_SERIALSP "DirectPlay8 Serial Service Provider"
IDS_DIRECTPLAY8_IPXSP "DirectPlay8 IPX Service Provider"
IDS_DIRECTPLAY8_TCPSP "DirectPlay8-TCP/IP Service Provider"
IDS_DIRECTPLAY8_MODEMSP "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirectPlay8"
IDS_DIRECTPLAY8_SERIALSP "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> DirectPlay8"
IDS_DIRECTPLAY8_IPXSP "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IPX DirectPlay8"
IDS_DIRECTPLAY8_TCPSP "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TCP/IP DirectPlay8"
IDS_DIRECTPLAY_TCPCONN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TCP/IP <20><><EFBFBD> DirectPlay"
IDS_DIRECTPLAY_IPXCONN "IPX <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> DirectPlay"
IDS_DIRECTPLAY_MODEMCONN "Modem Connection For DirectPlay"
IDS_DIRECTPLAY_SERIALCONN "Serial Connection For DirectPlay"
IDS_DIRECTPLAY_MODEMCONN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> DirectPlay"
IDS_DIRECTPLAY_SERIALCONN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> DirectPlay"
IDS_REG_SUCCESS "OK"
IDS_REG_FAIL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_DDTEST_ERROR "<22><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
IDS_DDTEST_DESCRIPTION "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DirecDraw <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDPRIMARY_DESCRIPTION "This test will use DirectDraw to draw on primary surface. Black and white rectangles should be drawn. Continue?"
IDS_DDPRIMARY_RESULT "Did you see black and white rectangles?"
IDS_DDOFFSCREEN_DESCRIPTION "This test will use DirectDraw to draw in an offscreen buffer. Moving white rectangle should be drawn. Continue?"
IDS_DDOFFSCREEN_RESULT "Did you see white moving reactangle?"
IDS_DDFULLSCREEN_DESCRIPTION "This test will use DirectDraw to draw in a fullscreen mode. Moving white rectangle should be drawn. Continue?"
IDS_DDFULLSCREEN_RESULT "Did you see white moving reactangle in a fullscreen mode?"
IDS_DDPRIMARY_DESCRIPTION "This test will use DirectDraw to draw on primary surface. Black and white rectangles should be drawn. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDPRIMARY_RESULT "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDOFFSCREEN_DESCRIPTION "This test will use DirectDraw to draw in an offscreen buffer. Moving white rectangle should be drawn. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDOFFSCREEN_RESULT "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDFULLSCREEN_DESCRIPTION "This test will use DirectDraw to draw in a fullscreen mode. Moving white rectangle should be drawn. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_DDFULLSCREEN_RESULT "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_FORMAT_ADAPTER_MEM "%u <20><>"
IDS_FORMAT_ADAPTER_MODE "%04u x %04u (%u bit)(%u<><75>)"
IDS_OPTION_NO "No"
IDS_FORMAT_ADAPTER_MODE "%04u x %04u (%u <EFBFBD><EFBFBD><EFBFBD>)(%u<><75>)"
IDS_OPTION_NO "<EFBFBD><EFBFBD><EFBFBD>"
END

View File

@@ -1,6 +1,6 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR.: 24-04-2008
* LAST CHANGE: 30-05-2008
* LAST CHANGE: 30-11-2008
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
@@ -216,7 +216,7 @@ BEGIN
IDS_REG_SUCCESS "OK"
IDS_REG_FAIL "Chyba"
IDS_DDTEST_ERROR "Test zlyhal!"
IDS_DDTEST_DESCRIPTION "This will start DirecDraw interface test. Continue?"
IDS_DDTEST_DESCRIPTION "This will start DirectDraw interface test. Continue?"
IDS_DDPRIMARY_DESCRIPTION "This test will use DirectDraw to draw on primary surface. Black and white rectangles should be drawn. Continue?"
IDS_DDPRIMARY_RESULT "Did you see black and white rectangles?"
IDS_DDOFFSCREEN_DESCRIPTION "This test will use DirectDraw to draw in an offscreen buffer. Moving white rectangle should be drawn. Continue?"

View File

@@ -4,7 +4,6 @@
#define DIRECTINPUT_VERSION 0x0800
#define DIRECTSOUND_VERSION 0x0800
#define D3D_OVERLOADS
#define _SETUPAPI_VER _WIN32_WINNT
#include <stdio.h>
#include <windows.h>

View File

@@ -4,11 +4,13 @@
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "lang/bg-BG.rc"
#include "lang/cs-CZ.rc"
#include "lang/de-DE.rc"
#include "lang/en-US.rc"
#include "lang/es-ES.rc"
#include "lang/fr-FR.rc"
#include "lang/ko-KR.rc"
#include "lang/no-NO.rc"
#include "lang/pl-PL.rc"
#include "lang/ru-RU.rc"

View File

@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_SOL_WIN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Solitari per J Brown\n\nCardLib versio 1.0."
IDS_SOL_QUIT "Voleu sortir del joc actual?"
IDS_SOL_WIN "Felicitats, heu guanyat!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -1,7 +1,7 @@
/* FILE: applications/games/solitaire/lang/cs-CZ.rc
* PURPOSE: Czech Language File
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
* UPDATED: 2008-02-29
* UPDATED: 2008-11-30 by Kario
*/
#include "resource.h"
@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib verze 1.0."
IDS_SOL_QUIT "Ukon<6F>it rozehranou hru?"
IDS_SOL_WIN "Gratulujeme, zv<7A>t<EFBFBD>zili jste!!"
IDS_SOL_DEAL "Rozdat znova?"
END

View File

@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solit<69>r von J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Laufendes Spiel beenden?"
IDS_SOL_WIN "Gl<47>ckwunsch, Sie haben Gewonnen!"
IDS_SOL_DEAL "Neu geben?"
END

View File

@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>;"
IDS_SOL_WIN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -50,7 +50,8 @@ BEGIN
IDS_SOL_NAME "Solitaire"
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Quit the current game?"
IDS_SOL_WIN "Congratulations, you win!!"
IDS_SOL_WIN "Congratulations, you win!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Solitario por J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "<22>Finalizar el juego actual?"
IDS_SOL_WIN "Felicidades, <20><>Has ganado!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solitarioa J Brown\n\nCardLib-k egina 1.0. bertsioa"
IDS_SOL_QUIT "Uneko jokoa amaitu?"
IDS_SOL_WIN "Zorionak, irabazi duzu!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire par J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Quitter le jeu actuel ?"
IDS_SOL_WIN "F<>licitations ! Vous avez gagn<67> !"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Quit the current game?"
IDS_SOL_WIN "Congratulations, you win!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Solitario by J Brown\n\nCardLib versione 1.0."
IDS_SOL_QUIT "Chiudere la partita in corso?"
IDS_SOL_WIN "Congratulazioni, hai vinto!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -0,0 +1,83 @@
/*
*Korean translation of solitaire by Seungju Kim(manatails007) (www.seungjukim.com)
*/
#include "resource.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
/* Dialogs */
IDD_OPTIONS DIALOGEX DISCARDABLE 0, 0, 186, 118
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
CAPTION "<22>ɼ<EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "ī<><C4AB>", -1, 7, 7, 65, 40
AUTORADIOBUTTON "<22><> <20>徿(&O)", IDC_OPT_DRAWONE, 14, 19, 52, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "<22><> <20>徿(&T)", IDC_OPT_DRAWTHREE, 14, 32, 52, 10
AUTOCHECKBOX "<22>ð<EFBFBD> <20><><EFBFBD>̱<EFBFBD>(&S)", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
AUTOCHECKBOX "<22><><EFBFBD><EFBFBD> ǥ<><C7A5><EFBFBD><EFBFBD>(&T)", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
DEFPUSHBUTTON "Ȯ<><C8AE>", IDOK, 35, 97, 50, 14
PUSHBUTTON "<22><><EFBFBD><EFBFBD>", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 221, 96
CAPTION "ī<><C4AB> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 61
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 58, 7, 50, 61
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 112, 7, 50, 61
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 166, 7, 50, 61
DEFPUSHBUTTON "Ȯ<><C8AE>", IDOK, 104, 77, 54, 13
PUSHBUTTON "<22><><EFBFBD><EFBFBD>", IDCANCEL, 162, 77, 54, 13
END
/* Strings */
STRINGTABLE
BEGIN
IDS_SOL_NAME "ī<><C4AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?"
IDS_SOL_WIN "<22><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>!!"
IDS_SOL_DEAL "Deal again?"
END
/* Menus */
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "<22><><EFBFBD><EFBFBD>(&G)"
BEGIN
MENUITEM "<22><> <20><><EFBFBD><EFBFBD>(&D)\tF2", IDM_GAME_NEW
MENUITEM SEPARATOR
/*FIXME : is <20><> correct?*/
MENUITEM "<22><>(&C)...", IDM_GAME_DECK
MENUITEM "<22>ɼ<EFBFBD>(&O)...", IDM_GAME_OPTIONS
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD>(&E)", IDM_GAME_EXIT
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(&H)"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD>(&C)\tF1", IDM_HELP_CONTENTS
MENUITEM "<22><><EFBFBD><EFBFBD>(&A)", IDM_HELP_ABOUT
END
END
/* Accelerator */
IDR_ACCELERATOR1 ACCELERATORS DISCARDABLE
BEGIN
VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
END

View File

@@ -52,6 +52,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire\n\nSukurta J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Baigti <20>aidim<69>?"
IDS_SOL_WIN "Sveikiname, j<>s laim<69>jote!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Kabal av J Brown\n\nCardLib versjon 1.0."
IDS_SOL_QUIT "Slutt n<>v<EFBFBD>rende spill?"
IDS_SOL_WIN "Gratulerer, du vant!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -2,6 +2,7 @@
* translated by TestamenT & xrogers
* testament@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
* updated by Caemyr (olaf_siejka@o2.pl), Nov, 2008
*/
#include "resource.h"
@@ -49,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J. Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Zako<6B>czy<7A> aktualn<6C> gr<67>?"
IDS_SOL_WIN "Gratulacje, wygra<72>e<EFBFBD>!"
IDS_SOL_DEAL "Nowe rozdanie?"
END

View File

@@ -44,6 +44,7 @@ BEGIN
IDS_SOL_ABOUT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> J Brown\n\nCardLib <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1.0."
IDS_SOL_QUIT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>?"
IDS_SOL_WIN "Congratulations, you win!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -52,6 +52,7 @@ BEGIN
IDS_SOL_ABOUT "Solit<69>r od J Brown\n\nCardLib verzia 1.0"
IDS_SOL_QUIT "Naozaj chcete skon<6F>i<EFBFBD> aktu<74>lnu hru?"
IDS_SOL_WIN "Blaho<68>el<65>m, vyhrali ste!"
IDS_SOL_DEAL "Rozda<64> znova?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Quit the current game?"
IDS_SOL_WIN "Congratulations, you win!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -50,6 +50,7 @@ BEGIN
IDS_SOL_ABOUT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> J Brown\n\nCardLib <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1.0."
IDS_SOL_QUIT "<22><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>?"
IDS_SOL_WIN "³<><C2B3><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -51,6 +51,7 @@ BEGIN
IDS_SOL_ABOUT "Solitaire by J Brown\n\nCardLib version 1.0."
IDS_SOL_QUIT "Quit the current game?"
IDS_SOL_WIN "Congratulations, you win!!"
IDS_SOL_DEAL "Deal again?"
END

View File

@@ -31,3 +31,4 @@
#define IDS_SOL_ABOUT 1301
#define IDS_SOL_QUIT 1302
#define IDS_SOL_WIN 1303
#define IDS_SOL_DEAL 1304

View File

@@ -16,6 +16,7 @@ IDI_SOLITAIRE ICON DISCARDABLE "solitaire.ico"
#include "lang/fr-FR.rc"
#include "lang/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/ko-KR.rc"
#include "lang/lt-LT.rc"
#include "lang/no-NO.rc"
#include "lang/pl-PL.rc"

View File

@@ -14,6 +14,7 @@
#endif
extern TCHAR MsgWin[128];
extern TCHAR MsgDeal[128];
CardStack activepile;
bool fGameStarted = false;
@@ -254,8 +255,19 @@ void CARDLIBPROC SuitStackAddProc(CardRegion &stackobj, const CardStack &added)
{
pSuitStack[i]->Flash(11, 100);
}
fGameStarted = false;
if( IDYES == MessageBox(SolWnd, MsgDeal, szAppName, MB_YESNO | MB_ICONQUESTION) )
{
NewGame();
}
else
{
SolWnd.EmptyStacks();
fGameStarted = false;
}
}
TRACE("EXIT SuitStackAddProc()\n");
}

View File

@@ -19,6 +19,7 @@ TCHAR szAppName[128];
TCHAR MsgQuit[128];
TCHAR MsgAbout[128];
TCHAR MsgWin[128];
TCHAR MsgDeal[128];
DWORD dwOptions = 8;
CardWindow SolWnd;
@@ -135,6 +136,7 @@ int WINAPI _tWinMain(HINSTANCE hInst, HINSTANCE hPrev, LPTSTR szCmdLine, int iCm
LoadString(hInst, IDS_SOL_ABOUT, MsgAbout, sizeof(MsgAbout) / sizeof(MsgAbout[0]));
LoadString(hInst, IDS_SOL_QUIT, MsgQuit, sizeof(MsgQuit) / sizeof(MsgQuit[0]));
LoadString(hInst, IDS_SOL_WIN, MsgWin, sizeof(MsgWin) / sizeof(MsgWin[0]));
LoadString(hInst, IDS_SOL_DEAL, MsgDeal, sizeof(MsgDeal) / sizeof(MsgDeal[0]));
//Window class for the main application parent window
wndclass.style = 0;//CS_HREDRAW | CS_VREDRAW;
@@ -579,3 +581,4 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
}

View File

@@ -3,8 +3,6 @@
<module name="sol" type="win32gui" installbase="system32" installname="sol.exe" unicode="no" allowwarnings="true">
<include base="sol">.</include>
<include base="sol">cardlib</include>
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>advapi32</library>
<library>kernel32</library>
<library>user32</library>

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="winemine" type="win32gui" installbase="system32" installname="winemine.exe" unicode="yes">
<include base="winemine">.</include>
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>gdi32</library>
<library>user32</library>

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="hh" type="win32gui" installbase="system32" installname="hh.exe" unicode="no">
<include base="hh">.</include>
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="iexplore" type="win32gui" installbase="system32" installname="iexplore.exe" unicode="no">
<include base="iexplore">.</include>
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>

View File

@@ -1,15 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="kbsdll" type="win32dll" baseaddress="0x74720000" installbase="system32" installname="kbsdll.dll" unicode="yes">
<importlibrary definition="kbsdll.spec.def" />
<importlibrary definition="kbsdll.spec" />
<include base="kbsdll">.</include>
<define name="_WIN32_IE">0x0500</define>
<define name="_WIN32_WINNT">0x0600</define>
<define name="WINVER">0x0600</define>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<file>kbsdll.c</file>
<file>kbsdll.rc</file>
<file>kbsdll.spec</file>
</module>

View File

@@ -24,6 +24,8 @@ HINSTANCE hInst;
HANDLE hProcessHeap;
HMODULE hDllLib;
ULONG ulCurrentLayoutNum = 1;
UINT cxSmIcon, cySmIcon;
static HICON
CreateTrayIcon(LPTSTR szLCID)
@@ -34,7 +36,7 @@ CreateTrayIcon(LPTSTR szLCID)
HBITMAP hBitmap, hBmpNew, hBmpOld;
RECT rect;
DWORD bkColor, bkText;
HFONT hFont = NULL;
HFONT hFontOld, hFont = NULL;
ICONINFO IconInfo;
HICON hIcon = NULL;
@@ -49,18 +51,18 @@ CreateTrayIcon(LPTSTR szLCID)
hdcsrc = GetDC(NULL);
hdc = CreateCompatibleDC(hdcsrc);
hBitmap = CreateCompatibleBitmap(hdcsrc, 16, 16);
hBitmap = CreateCompatibleBitmap(hdcsrc, cxSmIcon, cySmIcon);
ReleaseDC(NULL, hdcsrc);
if (hdc && hBitmap)
{
hBmpNew = CreateBitmap(16, 16, 1, 1, NULL);
hBmpNew = CreateBitmap(cxSmIcon, cySmIcon, 1, 1, NULL);
if (hBmpNew)
{
hBmpOld = SelectObject(hdc, hBitmap);
rect.right = 16;
rect.right = cxSmIcon;
rect.left = 0;
rect.bottom = 16;
rect.bottom = cySmIcon;
rect.top = 0;
bkColor = SetBkColor(hdc, GetSysColor(COLOR_HIGHLIGHT));
@@ -68,30 +70,31 @@ CreateTrayIcon(LPTSTR szLCID)
ExtTextOut(hdc, rect.left, rect.top, ETO_OPAQUE, &rect, _T(""), 0, NULL);
hFont = CreateFont(-11, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY, FF_DONTCARE, _T("Tahoma"));
hFont = (HFONT) GetStockObject(DEFAULT_GUI_FONT);
if (!hFont)
goto End;
SelectObject(hdc, hFont);
hFontOld = SelectObject(hdc, hFont);
DrawText(hdc, _tcsupr(szBuf), 2, &rect, DT_SINGLELINE|DT_CENTER|DT_VCENTER);
SelectObject(hdc, hBmpNew);
PatBlt(hdc, 0, 0, 16, 16, BLACKNESS);
PatBlt(hdc, 0, 0, cxSmIcon, cySmIcon, BLACKNESS);
SelectObject(hdc, hBmpOld);
SelectObject(hdc, hFontOld);
IconInfo.hbmColor = hBitmap;
IconInfo.hbmMask = hBmpNew;
IconInfo.fIcon = TRUE;
hIcon = CreateIconIndirect(&IconInfo);
DeleteObject(hBmpNew);
DeleteObject(hBmpOld);
DeleteObject(hFont);
End:
if (hBmpNew) DeleteObject(hBmpNew);
if (hBmpOld) DeleteObject(hBmpOld);
if (hFont) DeleteObject(hFont);
}
}
DeleteDC(hdc);
DeleteObject(hBitmap);
if (hdc) DeleteDC(hdc);
if (hBitmap) DeleteObject(hBitmap);
return hIcon;
}
@@ -248,6 +251,7 @@ GetLayoutName(LPTSTR szLayoutNum, LPTSTR szName)
{
_tcscpy(szName, szPath);
RegCloseKey(hKey);
FreeLibrary(hLib);
return TRUE;
}
FreeLibrary(hLib);
@@ -285,7 +289,6 @@ ActivateLayout(HWND hwnd, ULONG uLayoutNum)
_ultot(uLayoutNum, szLayoutNum, 10);
GetLayoutID(szLayoutNum, szLCID);
CreateTrayIcon(szLCID);
// Switch to the new keyboard layout
GetLocaleInfo((LANGID)_tcstoul(szLCID, NULL, 16), LOCALE_SLANGUAGE, (LPTSTR)szLangName, sizeof(szLangName) / sizeof(TCHAR));
@@ -383,6 +386,23 @@ GetNextLayout()
return -1;
}
static VOID
SettingsChanging(HWND hwnd)
{
UINT cxSmIconCur = 0, cySmIconCur = 0;
cxSmIconCur = GetSystemMetrics(SM_CXSMICON);
cySmIconCur = GetSystemMetrics(SM_CYSMICON);
if ((cxSmIcon != cxSmIconCur) || (cySmIcon != cySmIconCur))
{
cxSmIcon = cxSmIconCur;
cySmIcon = cySmIconCur;
}
ActivateLayout(hwnd, ulCurrentLayoutNum);
}
LRESULT CALLBACK
WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
@@ -393,6 +413,9 @@ WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
case WM_CREATE:
{
cxSmIcon = GetSystemMetrics(SM_CXSMICON);
cySmIcon = GetSystemMetrics(SM_CYSMICON);
SetHooks();
AddTrayIcon(hwnd);
hRightPopupMenu = GetSubMenu(LoadMenu(hInst, MAKEINTRESOURCE(IDR_POPUP)), 0);
@@ -488,6 +511,8 @@ WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
case WM_SETTINGCHANGE:
{
SettingsChanging(hwnd);
if (wParam == SPI_SETDEFAULTINPUTLANG)
{
//FIXME: Should detect default language changes by CPL applet or by other tools and update UI

View File

@@ -2,7 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="logoff" type="win32cui" installbase="system32" installname="logoff.exe">
<include base="logoff">.</include>
<define name="WINVER">0x0501</define>
<library>advapi32</library>
<library>user32</library>
<library>kernel32</library>

View File

@@ -12,7 +12,7 @@ BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS...", ID_HELP_ABOUT
MENUITEM "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", ID_HELP_ABOUT
END
END

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="mmcclient" type="win32gui" installbase="system32" installname="mmc.exe" unicode="yes">
<include base="mmcclient">.</include>
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>

View File

@@ -168,7 +168,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SERVICES_STATUS_RUNNING "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_SERVICES_STATUS_RUNNING "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_SERVICES_STATUS_STOPPED "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_SERVICES_YES "<22><>"
IDS_SERVICES_UNKNOWN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"

View File

@@ -12,6 +12,8 @@ HINSTANCE hInst = 0;
HWND hMainWnd; /* Main Window */
HWND hTabWnd; /* Tab Control Window */
UINT uXIcon = 0, uYIcon = 0; /* Icon sizes */
HICON hDialogIcon = NULL;
void MsConfig_OnTabWndSelChange(void);
@@ -94,7 +96,7 @@ void MsConfig_OnTabWndSelChange(void)
ShowWindow(hFreeLdrPage, SW_HIDE);
ShowWindow(hServicesPage, SW_HIDE);
BringWindowToTop(hSystemPage);
break;
break;
case 2: //Freeldr
ShowWindow(hGeneralPage, SW_HIDE);
ShowWindow(hSystemPage, SW_HIDE);
@@ -135,30 +137,57 @@ void MsConfig_OnTabWndSelChange(void)
}
static
VOID
SetDialogIcon(HWND hDlg)
{
if (hDialogIcon) DestroyIcon(hDialogIcon);
hDialogIcon = LoadImage(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDI_APPICON),
IMAGE_ICON,
uXIcon,
uYIcon,
0);
SendMessage(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hDialogIcon);
}
/* Message handler for dialog box. */
INT_PTR CALLBACK
MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
int idctrl;
LPNMHDR pnmh;
static HICON hIcon;
UINT uXIconNew, uYIconNew;
switch (message)
{
case WM_INITDIALOG:
hMainWnd = hDlg;
hIcon = LoadImage(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDI_APPICON),
IMAGE_ICON,
16,
16,
0);
SendMessage(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
uXIcon = GetSystemMetrics(SM_CXSMICON);
uYIcon = GetSystemMetrics(SM_CYSMICON);
SetDialogIcon(hDlg);
return OnCreate(hDlg);
case WM_SETTINGCHANGE:
uXIconNew = GetSystemMetrics(SM_CXSMICON);
uYIconNew = GetSystemMetrics(SM_CYSMICON);
if ((uXIcon != uXIconNew) || (uYIcon != uYIconNew))
{
uXIcon = uXIconNew;
uYIcon = uYIconNew;
SetDialogIcon(hDlg);
}
break;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK)
@@ -196,8 +225,8 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
DestroyWindow(hFreeLdrPage);
if (hSystemPage)
DestroyWindow(hSystemPage);
if (hIcon)
DestroyIcon(hIcon);
if (hDialogIcon)
DestroyIcon(hDialogIcon);
return DefWindowProc(hDlg, message, wParam, lParam);
}

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="msconfig" type="win32gui" installbase="system32" installname="msconfig.exe" unicode="yes">
<include base="msconfig">.</include>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>kernel32</library>
<library>user32</library>
<library>advapi32</library>

View File

@@ -145,7 +145,7 @@ GetServices ( void )
if (hService != INVALID_HANDLE_VALUE)
{
/* check if service is required by the system*/
if (!QueryServiceConfig2(hService, SERVICE_CONFIG_FAILURE_ACTIONS, (LPBYTE)pServiceFailureActions, 0, &BytesNeeded))
if (!QueryServiceConfig2(hService, SERVICE_CONFIG_FAILURE_ACTIONS, (LPBYTE)NULL, 0, &BytesNeeded))
{
if (GetLastError() == ERROR_INSUFFICIENT_BUFFER)
{
@@ -156,11 +156,17 @@ GetServices ( void )
if (!QueryServiceConfig2(hService, SERVICE_CONFIG_FAILURE_ACTIONS, (LPBYTE)pServiceFailureActions, BytesNeeded, &BytesNeeded))
{
HeapFree(GetProcessHeap(), 0, pServiceFailureActions);
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}
}
else /* exit on failure */
{
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}
}
@@ -183,22 +189,32 @@ GetServices ( void )
/* get vendor of service binary */
BytesNeeded = 0;
if (!QueryServiceConfig(hService, pServiceConfig, 0, &BytesNeeded))
if (!QueryServiceConfig(hService, NULL, 0, &BytesNeeded))
{
if (GetLastError() == ERROR_INSUFFICIENT_BUFFER)
{
pServiceConfig = (LPQUERY_SERVICE_CONFIG) HeapAlloc(GetProcessHeap(), 0, BytesNeeded);
if (pServiceConfig == NULL)
{
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}
if (!QueryServiceConfig(hService, pServiceConfig, BytesNeeded, &BytesNeeded))
{
HeapFree(GetProcessHeap(), 0, pServiceConfig);
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}
}
else /* exit on failure */
{
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}
}
@@ -221,11 +237,18 @@ GetServices ( void )
{
lpData = (TCHAR*) HeapAlloc(GetProcessHeap(), 0, dwLen);
if (lpData == NULL)
{
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}
if (!GetFileVersionInfo (FileName, dwHandle, dwLen, lpData))
{
HeapFree(GetProcessHeap(), 0, lpData);
HeapFree(GetProcessHeap(), 0, pServiceStatus);
CloseServiceHandle(hService);
CloseServiceHandle(ScHandle);
return;
}

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="devmgmt" type="win32gui" installbase="system32" installname="devmgmt.exe" unicode="yes">
<include base="devmgmt">.</include>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>ntdll</library>
<library>setupapi</library>
<library>gdi32</library>

View File

@@ -43,7 +43,7 @@ CAPTION "Om Enhetsbehandler"
FONT 8,"MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Enhetsbehandler v0.1\nCopyright (C) 2006\nby Ged Murphy (gedmurphy@gmail.com)", IDC_STATIC, 48, 7, 130, 30
LTEXT "Enhetsbehandler v0.1\nEnerett (C) 2006\nlaget av Ged Murphy (gedmurphy@gmail.com)", IDC_STATIC, 48, 7, 130, 30
PUSHBUTTON "Lukk", IDOK, 75, 162, 44, 15
ICON IDI_MAIN_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 174, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
@@ -51,7 +51,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program 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 General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Dette programmet er gratis programvare; du kan distribuere det og/eller endre det under betingelsene av GNU General Public License som er utgitt av Free Software Foundation; version 2 av lisensen, eller (etter din mening) alle senere versjoner.\r\n\r\nDette programmet er utgitt i h<>p for at det skal kunne brukes, men DET ER INGEN GARANTIER; uten heller forutsatt garantier av SALGBARHET eller SIKKETHET FOR EN ENKELTHET FORM<52>L. Se p<EFBFBD> GNU General Public Lisensen for mere detaljer.\r\n\r\nDu skal ha motatt en kopi av GNU General Public Lisensen sammen med denne programmet; hvis du ikke har motatt det, skriv til Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
END
STRINGTABLE DISCARDABLE

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,7 @@
<?xml version="1.0"?>
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="eventvwr" type="win32gui" installbase="system32" installname="eventvwr.exe" allowwarnings="true">
<module name="eventvwr" type="win32gui" installbase="system32" installname="eventvwr.exe" unicode="yes">
<include base="eventvwr">.</include>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>

View File

@@ -4,7 +4,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION, CHECKED
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SECURITY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Protokoll"
BEGIN
MENUITEM "&Anwendung", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Anwendung", ID_LOG_APPLICATION
MENUITEM "&Sicherheit", ID_LOG_SECURITY
MENUITEM "&System", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Log"
BEGIN
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION, CHECKED
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SECURITY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Log"
BEGIN
MENUITEM "&Application", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Application", ID_LOG_APPLICATION
MENUITEM "&Security", ID_LOG_SECURITY
MENUITEM "&System", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Log"
BEGIN
MENUITEM "&Aplicaci<63>n", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Aplicaci<63>n", ID_LOG_APPLICATION
MENUITEM "&Seguridad", ID_LOG_SECURITY
MENUITEM "&Sistema", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "Journa&l"
BEGIN
MENUITEM "&Application", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Application", ID_LOG_APPLICATION
MENUITEM "&S<>curit<69>", ID_LOG_SECURITY
MENUITEM "&Syst<73>me", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Log"
BEGIN
MENUITEM "&Applicazioni", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Applicazioni", ID_LOG_APPLICATION
MENUITEM "&Sicurezza", ID_LOG_SECURITY
MENUITEM "&Sistema", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -8,7 +8,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "<22>α<EFBFBD>(&L)"
BEGIN
MENUITEM "<22><><EFBFBD>ø<EFBFBD><C3B8><EFBFBD><EFBFBD>̼<EFBFBD>(&A)", ID_LOG_APPLICATION, CHECKED
MENUITEM "<22><><EFBFBD>ø<EFBFBD><C3B8><EFBFBD><EFBFBD>̼<EFBFBD>(&A)", ID_LOG_APPLICATION
MENUITEM "<22><><EFBFBD><EFBFBD>(&S)", ID_LOG_SECURITY
MENUITEM "<22>ý<EFBFBD><C3BD><EFBFBD>(&S)", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Logg"
BEGIN
MENUITEM "&Applikasjon", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Applikasjon", ID_LOG_APPLICATION
MENUITEM "&Sikkerhet", ID_LOG_SECURITY
MENUITEM "&System", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -16,7 +16,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Logi"
BEGIN
MENUITEM "&Aplikacja", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Aplikacja", ID_LOG_APPLICATION
MENUITEM "&Zabezpieczenia", ID_LOG_SECURITY
MENUITEM "&System", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -3,7 +3,7 @@
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/mscutils/eventvwr/lang/ru-RU.rc
* PURPOSE: Russian Language File for ReactOS Event Viewer
* TRANSLATORS: Dmitry Chapyshev
* TRANSLATORS: Dmitry Chapyshev, Artem Reznikov
*/
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION, CHECKED
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SECURITY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SYSTEM
MENUITEM SEPARATOR
@@ -93,12 +93,12 @@ END
STRINGTABLE
BEGIN
IDS_APP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTSTRINGIDNOTFOUND "The description for Event ID ( %lu ) in Source ( %s ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer."
IDC_EVENTLOG_ERROR_TYPE "Error"
IDC_EVENTLOG_WARNING_TYPE "Warning"
IDC_EVENTLOG_INFORMATION_TYPE "Information"
IDC_EVENTLOG_AUDIT_SUCCESS "Audit Success"
IDC_EVENTLOG_AUDIT_FAILURE "Audit Failure"
IDC_EVENTLOG_SUCCESS "Success"
IDC_EVENTLOG_UNKNOWN_TYPE "Unknown Event"
IDC_EVENTSTRINGIDNOTFOUND "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> ( %lu ) <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ( %s ). <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DLL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDC_EVENTLOG_ERROR_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_WARNING_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_INFORMATION_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_AUDIT_SUCCESS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_AUDIT_FAILURE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_SUCCESS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_UNKNOWN_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END

View File

@@ -1,5 +1,5 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR : 21-06-2008
* DATE OF TR.: 21-06-2008
* LAST CHANGE: 28-07-2008
*/
@@ -9,7 +9,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&Z<>znam"
BEGIN
MENUITEM "&Application", ID_LOG_APPLICATION, CHECKED
MENUITEM "&Application", ID_LOG_APPLICATION
MENUITEM "&Security", ID_LOG_SECURITY
MENUITEM "&System", ID_LOG_SYSTEM
MENUITEM SEPARATOR

View File

@@ -3,7 +3,7 @@
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/mscutils/eventvwr/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for ReactOS Event Viewer
* TRANSLATORS: Rostislav Zabolotny
* TRANSLATORS: Rostislav Zabolotny, Artem Reznikov
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
@@ -12,7 +12,7 @@ IDC_EVENTVWR MENU
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION, CHECKED
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_APPLICATION
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SECURITY
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_LOG_SYSTEM
MENUITEM SEPARATOR
@@ -94,11 +94,11 @@ STRINGTABLE
BEGIN
IDS_APP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTSTRINGIDNOTFOUND "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>䳿( %lu ) <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>( %s ) <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>'<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> DLL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>'<27><><EFBFBD><EFBFBD><EFBFBD>."
IDC_EVENTLOG_ERROR_TYPE "Error"
IDC_EVENTLOG_WARNING_TYPE "Warning"
IDC_EVENTLOG_INFORMATION_TYPE "Information"
IDC_EVENTLOG_AUDIT_SUCCESS "Audit Success"
IDC_EVENTLOG_AUDIT_FAILURE "Audit Failure"
IDC_EVENTLOG_SUCCESS "Success"
IDC_EVENTLOG_UNKNOWN_TYPE "Unknown Event"
IDC_EVENTLOG_ERROR_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_WARNING_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_INFORMATION_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_AUDIT_SUCCESS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_AUDIT_FAILURE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_SUCCESS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDC_EVENTLOG_UNKNOWN_TYPE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
END

View File

@@ -4,9 +4,8 @@
//
#define IDC_MYICON 2
#define IDNEXT 3
#define IDHELP 4
#define IDD_EVENTVWR_DIALOG 102
#define IDD_PROGRESSBOX 150
#define IDD_PROGRESSBOX 150
#define IDS_APP_TITLE 103
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
@@ -15,14 +14,14 @@
#define IDI_SMALL 108
#define IDC_EVENTVWR 109
#define IDC_EVENTSTRINGIDNOTFOUND 209
#define IDC_PROCESSPROGRESS 250
#define IDC_EVENTLOG_ERROR_TYPE 251
#define IDC_EVENTLOG_WARNING_TYPE 252
#define IDC_EVENTLOG_INFORMATION_TYPE 253
#define IDC_EVENTLOG_AUDIT_SUCCESS 254
#define IDC_EVENTLOG_AUDIT_FAILURE 255
#define IDC_EVENTLOG_SUCCESS 256
#define IDC_EVENTLOG_UNKNOWN_TYPE 257
#define IDC_PROCESSPROGRESS 250
#define IDC_EVENTLOG_ERROR_TYPE 251
#define IDC_EVENTLOG_WARNING_TYPE 252
#define IDC_EVENTLOG_INFORMATION_TYPE 253
#define IDC_EVENTLOG_AUDIT_SUCCESS 254
#define IDC_EVENTLOG_AUDIT_FAILURE 255
#define IDC_EVENTLOG_SUCCESS 256
#define IDC_EVENTLOG_UNKNOWN_TYPE 257
#define IDR_MAINFRAME 128
#define IDI_WARNINGICON 129
#define IDI_INFORMATIONICON 130
@@ -41,11 +40,10 @@
#define IDC_EVENTTEXTEDIT2 1010
#define IDC_BYTESRADIO 1011
#define IDC_WORDRADIO 1013
#define IDC_EVENTDATAEDIT 1014
#define ID_LOG_APLICATION 32771
#define IDC_EVENTDATAEDIT 1014
#define ID_LOG_APPLICATION 32771
#define ID_LOG_SECURITY 32772
#define ID_LOG_SYSTEM 32773
#define ID_LOG_APPLICATION 32774
#define ID_HELP_HELP 32775
#define ID_HELP 32776
#define ID_OPTIONS 32777

View File

@@ -209,14 +209,14 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_PROGRESS_INFO_START "ReactOS sta avviando il seguente servizio"
IDS_PROGRESS_INFO_STOP "ReactOS sta fermando il seguente servizio"
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
IDS_PROGRESS_INFO_START "ReactOS sta avviando il seguente servizio"
IDS_PROGRESS_INFO_STOP "ReactOS sta fermando il seguente servizio"
IDS_PROGRESS_INFO_PAUSE "ReactOS sta cercando di sospendere il seguente servizio"
IDS_PROGRESS_INFO_RESUME "ReactOS sta cercando di ripristinare il seguente servizio"
IDS_CREATE_SUCCESS "Servizio creato regolarmente"
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
IDS_DELETE_SUCCESS "Servizio rimosso"
IDS_CREATE_REQ "I campi marcati con un asterisco\nsono obbligatori"
IDS_DELETE_STOP "Devi fermare il servizio prima di cancellare!"
IDS_DELETE_STOP "Devi fermare il servizio prima di rimuoverlo!"
END
STRINGTABLE DISCARDABLE

View File

@@ -191,7 +191,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NUM_SERVICES "Num tjeneste: %d"
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program 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 General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Dette programmet er gratis programvare; du kan distribuere det og/eller endre det under betingelsene av GNU General Public License som er utgitt av Free Software Foundation; version 2 av lisensen, eller (etter din mening) alle senere versjoner.\r\n\r\nDette programmet er utgitt i h<>p for at det skal kunne brukes, men DET ER INGEN GARANTIER; uten heller forutsatt garantier av SALGBARHET eller SIKKETHET FOR EN ENKELTHET FORM<52>L. Se p<EFBFBD> GNU General Public Lisensen for mere detaljer.\r\n\r\nDu skal ha motatt en kopi av GNU General Public Lisensen sammen med denne programmet; hvis du ikke har motatt det, skriv til Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
END
STRINGTABLE DISCARDABLE

View File

@@ -0,0 +1,272 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR.: 18-09-2008
* LAST CHANGE: 05-11-2008
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
IDR_MAINMENU MENU
BEGIN
POPUP "&S<>bor"
BEGIN
MENUITEM "Exportova<76>...", ID_EXPORT
MENUITEM SEPARATOR
MENUITEM "&Skon<6F>i<EFBFBD>", ID_EXIT
END
POPUP "Akcia"
BEGIN
MENUITEM "Pripoji<6A> sa na...", ID_CONNECT, GRAYED //Connect to...
MENUITEM SEPARATOR
MENUITEM "Spusti<74>", ID_START, GRAYED
MENUITEM "Zastavi<76>", ID_STOP, GRAYED
MENUITEM "Pozastavi<76>", ID_PAUSE, GRAYED
MENUITEM "Pokra<72>ova<76>", ID_RESUME, GRAYED
MENUITEM "Re<52>tartova<76>", ID_RESTART, GRAYED
MENUITEM SEPARATOR
MENUITEM "Obnovi<76>", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Upravi<76>...", ID_EDIT, GRAYED
MENUITEM "Vytvori<72>...", ID_CREATE, GRAYED
MENUITEM "Odstr<74>ni<6E>...", ID_DELETE, GRAYED
MENUITEM SEPARATOR
MENUITEM "Vlastnosti...", ID_PROP, GRAYED
END
POPUP "&Zobrazi<7A>" //View , Vzh<7A>ad ?
BEGIN
MENUITEM "Ve<56>k<EFBFBD> ikony", ID_VIEW_LARGE
MENUITEM "Mal<61> ikony", ID_VIEW_SMALL
MENUITEM "Zoznam", ID_VIEW_LIST
MENUITEM "Podrobnosti", ID_VIEW_DETAILS
MENUITEM SEPARATOR
MENUITEM "Prisp<73>sobi<62>...",ID_VIEW_CUST, GRAYED
END
POPUP "&Pomocn<63>k"
BEGIN
MENUITEM "&Pomocn<63>k", ID_HELP
MENUITEM "<22>&o je...", ID_ABOUT
END
END
IDR_POPUP MENU
BEGIN
POPUP "popup"
BEGIN
MENUITEM "Spusti<74>", ID_START, GRAYED
MENUITEM "Zastavi<76>", ID_STOP, GRAYED
MENUITEM "Pozastavi<76>", ID_PAUSE, GRAYED
MENUITEM "Pokra<72>ova<76>", ID_RESUME, GRAYED
MENUITEM "Re<52>tartova<76>", ID_RESTART, GRAYED
MENUITEM SEPARATOR
MENUITEM "Obnovi<76>", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Upravi<76>...", ID_EDIT, GRAYED
MENUITEM "Odstr<74>ni<6E>...", ID_DELETE, GRAYED
MENUITEM SEPARATOR
MENUITEM "Vlastnosti...", ID_PROP, GRAYED
MENUITEM SEPARATOR
MENUITEM "Pomocn<63>k...", ID_HELP
END
END
IDD_ABOUTBOX DIALOGEX 22,16,190,182
CAPTION "<22>o je Mana<6E><61>r slu<6C>ieb"
FONT 8, "MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Mana<6E><61>r slu<6C>ieb v0.8\nAutorsk<73> pr<70>va (C) 2005-2007\nod Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 135, 30
PUSHBUTTON "Zavrie<69>", IDOK, 75, 162, 44, 15
ICON IDI_SM_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 174, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
IDD_DLG_GENERAL DIALOGEX 6, 6, 253, 232
CAPTION "V<>eobecn<63>"
FONT 8, "MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_THICKFRAME | WS_GROUP | WS_TABSTOP
BEGIN
LTEXT "", IDC_SERV_NAME, 70,11,176,11, WS_CHILD | WS_VISIBLE
EDITTEXT IDC_DISP_NAME, 70, 29, 176, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_READONLY
EDITTEXT IDC_DESCRIPTION, 70, 46, 176, 24, WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_MULTILINE | ES_READONLY
EDITTEXT IDC_EXEPATH, 6, 86, 240, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_READONLY
COMBOBOX IDC_START_TYPE, 70, 107, 176, 40, WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Spusti<74>", IDC_START, 6, 155, 54, 15, WS_DISABLED
PUSHBUTTON "Zastavi<76>", IDC_STOP, 68, 155, 54, 15, WS_DISABLED
PUSHBUTTON "Pozastavi<76>", IDC_PAUSE , 130, 155, 54, 15, WS_DISABLED
PUSHBUTTON "Pokra<72>ova<76>", IDC_RESUME, 192, 155, 54, 15, WS_DISABLED
LTEXT "N<>zov slu<6C>by:", IDC_STATIC, 4, 11, 53, 11
LTEXT "Display name:", IDC_STATIC, 4, 29, 53, 11
LTEXT "Popis:", IDC_STATIC, 4, 51, 53, 11
LTEXT "Path to executable:", IDC_STATIC, 6, 73, 82, 9
LTEXT "Startup type:", IDC_STATIC, 6, 108, 53, 11
LTEXT "Stav slu<6C>by:", IDC_STATIC, 4, 138, 53, 11
LTEXT "", IDC_SERV_STATUS, 70, 138, 176, 11, WS_CHILD | WS_VISIBLE
LTEXT "You can specify the start parameters that apply when you start the service from here.",IDC_STATIC, 6,177,240,15
LTEXT "Start parameters:", IDC_STATIC, 6, 200, 58, 11
EDITTEXT IDC_START_PARAM, 68, 199, 178, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Upravi<76>", IDC_EDIT, 192, 215, 54, 15, WS_DISABLED
END
IDD_DLG_DEPEND DIALOGEX 6,6,253,225
CAPTION "Z<>vislosti" //Dependencies
FONT 8, "MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_THICKFRAME | WS_GROUP | WS_TABSTOP
BEGIN
CONTROL "", IDC_DEPEND_TREE1, "SysTreeView32" ,0x50010007, 8, 70, 236, 68, 0x00000200
CONTROL "", IDC_DEPEND_TREE2, "SysTreeView32", 0x50010007, 8, 151, 234, 67, 0x00000200
LTEXT "Some services depend on other services, system drivers and load order groups. If a system component is stopped or it is not running properly, dependant services can be affected.", IDC_STATIC,8, 7, 238, 26
LTEXT "This service depends on the following components", IDC_STATIC, 8, 57, 236, 9
LTEXT "", IDC_DEPEND_SERVICE, 8, 38, 236, 13
END
IDD_DLG_CREATE DIALOGEX 6,6,225,209
CAPTION "Vytvori<72> slu<6C>bu"
FONT 8, "MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_THICKFRAME | WS_GROUP | WS_TABSTOP
BEGIN
EDITTEXT IDC_CREATE_SERVNAME, 72, 12, 150, 11, WS_CHILD | WS_VISIBLE | WS_EX_CLIENTEDGE
EDITTEXT IDC_CREATE_DISPNAME, 72, 31, 150, 11, WS_CHILD | WS_VISIBLE
EDITTEXT IDC_CREATE_PATH, 10, 62, 210, 13, WS_CHILD | WS_VISIBLE
EDITTEXT IDC_CREATE_DESC, 10, 97, 210, 48, WS_CHILD | WS_VISIBLE
EDITTEXT IDC_CREATE_OPTIONS, 10, 162, 210, 13, WS_CHILD | WS_VISIBLE
LTEXT "*N<>zov slu<6C>by :", IDC_STATIC, 12, 12, 54, 9
LTEXT "*Display Name :", IDC_STATIC, 12, 33, 54, 9
LTEXT "*Path to executable :", IDC_STATIC, 10, 51, 68, 9
LTEXT "Popis :", IDC_STATIC, 12, 86, 44, 9
PUSHBUTTON "OK", IDOK, 126, 192, 44, 13
PUSHBUTTON "Zru<72>i<EFBFBD>", IDCANCEL, 176, 192, 46, 13
LTEXT "Additional options (click help for details)", IDC_STATIC, 10, 151, 134, 9
PUSHBUTTON "Pomocn<63>k", ID_CREATE_HELP, 10, 192, 44, 13
END
IDD_DLG_DELETE DIALOGEX 6,6,185,148
CAPTION "Odstr<74>ni<6E> slu<6C>bu"
FONT 8, "MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | DS_MODALFRAME
BEGIN
ICON IDI_WARNING, IDC_STATIC, 10, 8, 24, 22
LTEXT "Are you sure you want to delete the following service? This cannot be undone once removed!", IDC_STATIC, 50, 6, 125, 25
LTEXT "N<>zov slu<6C>by:",IDC_STATIC, 6, 40, 80, 9
LTEXT "", IDC_DEL_NAME, 15, 53, 160, 15
EDITTEXT IDC_DEL_DESC, 6, 73, 174, 48, WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_EX_STATICEDGE | ES_MULTILINE | ES_READONLY
PUSHBUTTON "<22>no", IDOK, 26, 129, 54, 13
DEFPUSHBUTTON "Nie", IDCANCEL, 102, 129, 54, 13
END
IDD_DLG_HELP_OPTIONS DIALOGEX 6,6,200,150
CAPTION "Mo<4D>nosti"
FONT 8, "MS Shell Dlg",0,0
STYLE 0x10CF0000
BEGIN
LTEXT "", IDC_CREATE_HELP, 6, 5, 200, 150
PUSHBUTTON "OK", IDOK, 75, 130, 44, 13
END
IDD_DLG_PROGRESS DIALOGEX 6,6,255,89
CAPTION "Service Control"
FONT 8, "MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | WS_VISIBLE | DS_MODALFRAME
EXSTYLE WS_EX_TOOLWINDOW
BEGIN
CONTROL "", IDC_SERVCON_PROGRESS, "msctls_progress32", 0x50000000, 8, 46, 238, 13
LTEXT "", IDC_SERVCON_INFO, 8, 5, 236, 11
LTEXT "", IDC_SERVCON_NAME, 8, 25, 66, 11
PUSHBUTTON "&Zavrie<69>", IDOK, 100, 70, 54, 13
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_FIRSTCOLUMN "N<>zov"
IDS_SECONDCOLUMN "Popis"
IDS_THIRDCOLUMN "Stav"
IDS_FOURTHCOLUMN "Typ spustenia" //Sp<53>sob spustenia
IDS_FITHCOLUMN "Prihl<68>sen<65> ako" //Log On As
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SERVICES_STARTED "Spusten<65>"
IDS_SERVICES_STOPPED "Zastaven<65>"
IDS_SERVICES_AUTO "Automaticky"
IDS_SERVICES_MAN "Ru<52>ne"
IDS_SERVICES_DIS "Zablokovan<61>" //Disabled
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NUM_SERVICES "Po<50>et slu<6C>ieb: %d"
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program 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 General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_TOOLTIP_PROP "Vlastnosti"
IDS_TOOLTIP_REFRESH "Obnovi<76>"
IDS_TOOLTIP_EXPORT "Exportova<76> zoznam"
IDS_TOOLTIP_CREATE "Vytvori<72> nov<6F> slu<6C>bu"
IDS_TOOLTIP_DELETE "Deletes an existing service"
IDS_TOOLTIP_START "Spusti<74> slu<6C>bu"
IDS_TOOLTIP_STOP "Zastavi<76> slu<6C>bu"
IDS_TOOLTIP_PAUSE "Pozastavi<76> slu<6C>bu"
IDS_TOOLTIP_RESTART "Re<52>tartova<76> slu<6C>bu"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_PROGRESS_INFO_START "ReactOS is attempting to start the following service"
IDS_PROGRESS_INFO_STOP "ReactOS is attempting to stop the following service"
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
IDS_CREATE_SUCCESS "Slu<6C>ba bola <20>spe<70>ne vytvoren<65>"
IDS_DELETE_SUCCESS "Slu<6C>ba bola <20>spe<70>ne odstr<74>nen<65>"
IDS_CREATE_REQ "Fields marked with an\nasterix are mandatory"
IDS_DELETE_STOP "You must manually stop the service before deleting!"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP_OPTIONS "CREATE OPTIONS:\r\nNOTE: The option name includes the equal sign.\r\n type= <own|share|interact|kernel|filesys|rec>\r\n (default = own)\r\n start= <boot|system|auto|demand|disabled>\r\n (default = demand) \r\n error= <normal|severe|critical|ignore>\r\n (default = normal)\r\n group= <LoadOrderGroup>\r\n tag= <yes|no>\r\n depend= <Dependencies(separated by / (forward slash))>\r\n obj= <AccountName|ObjectName>\r\n (default = LocalSystem)\r\n password= <password>\r\n"
END
/* Hints */
STRINGTABLE DISCARDABLE
BEGIN
IDS_HINT_BLANK " "
IDS_HINT_EXPORT " Exports the current list to a file."
IDS_HINT_EXIT " Exits the program."
IDS_HINT_CONNECT " Manage a different computer."
IDS_HINT_START " Spust<73> zvolen<65> slu<6C>bu."
IDS_HINT_STOP " Zastav<61> zvolen<65> slu<6C>bu."
IDS_HINT_PAUSE " Pozastav<61> zvolen<65> slu<6C>bu."
IDS_HINT_RESUME " Resume the selected service."
IDS_HINT_RESTART " Zastav<61> a znova spust<73> zvolen<65> slu<6C>bu."
IDS_HINT_REFRESH " Obnov<6F> zoznam slu<6C>ieb."
IDS_HINT_EDIT " Edit the properties of the selected service."
IDS_HINT_CREATE " Create a new service."
IDS_HINT_DELETE " Delete the selected service."
IDS_HINT_PROP " Open property sheet for the current selection."
IDS_HINT_LARGE " Display items by using large icons."
IDS_HINT_SMALL " Display items by using small icons."
IDS_HINT_LIST " Display item in a list."
IDS_HINT_DETAILS " Display information about each item in a window."
IDS_HINT_CUST " Customizes the view."
IDS_HINT_HELP " Display help window."
IDS_HINT_ABOUT " <20>o je Mana<6E><61>r slu<6C>ieb syst<73>mu ReactOS."
IDS_HINT_SYS_RESTORE " Restores this window to normal size."
IDS_HINT_SYS_MOVE " Presunie toto okno."
IDS_HINT_SYS_SIZE " Resizes this window."
IDS_HINT_SYS_MINIMIZE " Collapses this window to an icon."
IDS_HINT_SYS_MAXIMIZE " Expands this window to fill this screen."
IDS_HINT_SYS_CLOSE " Zavrie toto okno."
END
/* Application title */
STRINGTABLE DISCARDABLE
BEGIN
IDS_APPNAME "Mana<6E><61>r slu<6C>ieb syst<73>mu ReactOS"
END

View File

@@ -174,11 +174,14 @@ ChangeListViewText(PMAIN_WND_INFO Info,
lpServiceConfig = GetServiceConfig(pService->lpServiceName);
switch (lpServiceConfig->dwStartType)
if (lpServiceConfig)
{
case 2: StringId = IDS_SERVICES_AUTO; break;
case 3: StringId = IDS_SERVICES_MAN; break;
case 4: StringId = IDS_SERVICES_DIS; break;
switch (lpServiceConfig->dwStartType)
{
case 2: StringId = IDS_SERVICES_AUTO; break;
case 3: StringId = IDS_SERVICES_MAN; break;
case 4: StringId = IDS_SERVICES_DIS; break;
}
}
if (StringId)

View File

@@ -161,7 +161,7 @@ VOID SetMenuAndButtonStates(PMAIN_WND_INFO Info)
for (i = ID_START; i <= ID_RESTART; i++)
{
EnableMenuItem(hMainMenu, i, MF_GRAYED);
EnableMenuItem(GetSubMenu(Info->hShortcutMenu, 0), ID_START, MF_GRAYED);
EnableMenuItem(GetSubMenu(Info->hShortcutMenu, 0), i, MF_GRAYED);
SendMessage(Info->hTool, TB_SETSTATE, i,
(LPARAM)MAKELONG(TBSTATE_INDETERMINATE, 0));
}

View File

@@ -127,10 +127,14 @@ SetServiceConfig(LPQUERY_SERVICE_CONFIG pServiceConfig,
{
bRet = TRUE;
}
CloseServiceHandle(hSc);
}
UnlockServiceDatabase(scLock);
}
CloseServiceHandle(hSCManager);
}
if (!bRet)
@@ -359,11 +363,14 @@ UpdateServiceStatus(ENUM_SERVICE_STATUS_PROCESS* pService)
QueryServiceStatusEx(hService,
SC_STATUS_PROCESS_INFO,
(LPBYTE)&pService->ServiceStatusProcess,
sizeof(*pService),
sizeof(SERVICE_STATUS_PROCESS),
&size);
CloseServiceHandle(hService);
bRet = TRUE;
}
CloseServiceHandle(hScm);
}
return bRet;

View File

@@ -28,5 +28,6 @@ IDB_RESTART BITMAP DISCARDABLE "res/restart.bmp"
#include "lang/no-NO.rc"
#include "lang/pl-PL.rc"
#include "lang/ru-RU.rc"
#include "lang/sk-SK.rc"
#include "lang/th-TH.rc"
#include "lang/uk-UA.rc"

View File

@@ -2,8 +2,6 @@
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="servman" type="win32gui" installbase="system32" installname="servman.exe" unicode="yes">
<include base="servman">.</include>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>

Some files were not shown because too many files have changed in this diff Show More