wine
19 years agoVersion resources cleanup.
Tom Wickline [Tue, 23 Nov 2004 13:59:34 +0000 (13:59 +0000)] 
Version resources cleanup.

19 years ago- Implement SetStreamSource
Jason Edmeades [Tue, 23 Nov 2004 13:52:46 +0000 (13:52 +0000)] 
- Implement SetStreamSource
- Ensure wined3d objects maintain a reference count of at least that
  of the d3dx version.

19 years ago- More heapification.
Mike Hearn [Tue, 23 Nov 2004 13:50:23 +0000 (13:50 +0000)] 
- More heapification.
- Split drive code into core, UI and autodetect.
- Implement drive autodetection.
- Slight redesign of drive tab.
- Code cleanup.

19 years agoWe don't use DGA version 1 so remove the configure check for it.
Huw Davies [Tue, 23 Nov 2004 13:48:00 +0000 (13:48 +0000)] 
We don't use DGA version 1 so remove the configure check for it.

19 years agoWhen changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to
Robert Shearman [Tue, 23 Nov 2004 12:21:05 +0000 (12:21 +0000)] 
When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to
set the previous status to DIB_Status_GdiMod, otherwise a
non-committing unlock could incorrectly revert the DIB to another
state, rather than the correct DIB_Status_GdiMod.

19 years agoSet the miter limit in the DC state.
Jon Griffiths [Tue, 23 Nov 2004 12:19:24 +0000 (12:19 +0000)] 
Set the miter limit in the DC state.
Only SetLastError() in object functions where native does.
Test the error comditions of the gdiobj functions.
Minor documentation updates.

19 years agoUse string functions that are Windows locale aware.
Hans Leidekker [Tue, 23 Nov 2004 12:12:31 +0000 (12:12 +0000)] 
Use string functions that are Windows locale aware.

19 years agoExport wine_pthread_get_current_teb.
Eric Frias [Mon, 22 Nov 2004 19:51:46 +0000 (19:51 +0000)] 
Export wine_pthread_get_current_teb.

19 years agoFix Sparc assembly code in wine_switch_to_stack.
Eric Frias [Mon, 22 Nov 2004 19:50:38 +0000 (19:50 +0000)] 
Fix Sparc assembly code in wine_switch_to_stack.

19 years agoPass DLLFLAGS to winebuild too.
Alexandre Julliard [Mon, 22 Nov 2004 19:48:10 +0000 (19:48 +0000)] 
Pass DLLFLAGS to winebuild too.

19 years agoDefine "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all
Steven Edwards [Mon, 22 Nov 2004 19:46:22 +0000 (19:46 +0000)] 
Define "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all
the targets.

19 years agoFixed regressions introduced when moving addresses as 64bit values.
Eric Pouech [Mon, 22 Nov 2004 18:30:10 +0000 (18:30 +0000)] 
Fixed regressions introduced when moving addresses as 64bit values.

19 years agoPrevent environment test from crashing when environment is large.
Kevin Koltzau [Mon, 22 Nov 2004 18:28:56 +0000 (18:28 +0000)] 
Prevent environment test from crashing when environment is large.

19 years agoAdded advpack.dll, rsaenh.dll, strmiids.lib.
Tom Wickline [Mon, 22 Nov 2004 18:28:18 +0000 (18:28 +0000)] 
Added advpack.dll, rsaenh.dll, strmiids.lib.

19 years agoHandle unknown parameters more gracefully.
Hans Leidekker [Mon, 22 Nov 2004 18:27:39 +0000 (18:27 +0000)] 
Handle unknown parameters more gracefully.

19 years agoFixed KEYLP structure for big endian.
Eric Frias [Mon, 22 Nov 2004 18:26:58 +0000 (18:26 +0000)] 
Fixed KEYLP structure for big endian.

19 years agoChanged allocation of arguments in SearchPathA so path is not limited
Alexander Yaworsky [Mon, 22 Nov 2004 18:25:05 +0000 (18:25 +0000)] 
Changed allocation of arguments in SearchPathA so path is not limited
by size of TEB static buffer.

19 years agoUnicodify string constants.
Martin Fuchs [Mon, 22 Nov 2004 18:24:09 +0000 (18:24 +0000)] 
Unicodify string constants.

19 years agosplitpath maintainance.
Martin Fuchs [Mon, 22 Nov 2004 18:23:03 +0000 (18:23 +0000)] 
splitpath maintainance.

19 years agoSupport mono pattern brushes in EMF's.
Jon Griffiths [Mon, 22 Nov 2004 18:22:20 +0000 (18:22 +0000)] 
Support mono pattern brushes in EMF's.

19 years agoAvoid magic number.
Jon Griffiths [Mon, 22 Nov 2004 18:19:59 +0000 (18:19 +0000)] 
Avoid magic number.

19 years agoImplement CreateBitmap using CreateBitmapIndirect so we can handle
Jon Griffiths [Mon, 22 Nov 2004 18:18:21 +0000 (18:18 +0000)] 
Implement CreateBitmap using CreateBitmapIndirect so we can handle
funky alignment paddings.
SetLastError() on failure, documentation cleanup.

19 years agoAllow negative numbers in RCDATA resources like RC.EXE does.
Rein Klazes [Mon, 22 Nov 2004 18:15:42 +0000 (18:15 +0000)] 
Allow negative numbers in RCDATA resources like RC.EXE does.
Fix false out of 16 bits range warning.

19 years agoUse physDev->textPixel instead of GetTextColor for ExtTextOut.
Glenn Wurster [Mon, 22 Nov 2004 18:10:16 +0000 (18:10 +0000)] 
Use physDev->textPixel instead of GetTextColor for ExtTextOut.

19 years agoAdded some tests for lzexpand.
Evan G. Parry [Sun, 21 Nov 2004 16:05:14 +0000 (16:05 +0000)] 
Added some tests for lzexpand.

19 years ago- moved into new mscvpdb.h (out of msc.c) all types and defines needed
Eric Pouech [Sun, 21 Nov 2004 15:51:47 +0000 (15:51 +0000)] 
- moved into new mscvpdb.h (out of msc.c) all types and defines needed
  to parse debug files generated by MS tools
- moved into coff.c (and out of msc.c) the COFF handling
- cleaned lots of types (add consistency across structs)
- versioning of some defines and types (to follow MS tools evolution)
- enhanced V2 of symbols parsing (some more types recognized, support
  of imported .pdb files)
- added support for newest .pdb format

19 years agoMove up SERV_* functions.
Alexander Yaworsky [Sun, 21 Nov 2004 15:50:08 +0000 (15:50 +0000)] 
Move up SERV_* functions.

19 years agoUpdated Spanish translations.
José Manuel Ferrer Ortiz [Sun, 21 Nov 2004 15:49:24 +0000 (15:49 +0000)] 
Updated Spanish translations.

19 years agoImplement and test GetColorProfileElementTag,
Hans Leidekker [Sun, 21 Nov 2004 15:48:18 +0000 (15:48 +0000)] 
Implement and test GetColorProfileElementTag,
GetCountColorProfileElements and IsColorProfileTagPresent. Stub
GetStandardColorSpaceProfile{A,W}.

19 years agoCall CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and
Dmitry Timoshkov [Sun, 21 Nov 2004 15:47:24 +0000 (15:47 +0000)] 
Call CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and
lstrcmpiA in order to improve speed. Add a test case confirming that
CompareString and LCMapString accept LOCALE_USE_CP_ACP.

19 years agoRemoved W->A from DEFWND_ImmIsUIMessageW.
Stefan Leichter [Sun, 21 Nov 2004 15:44:56 +0000 (15:44 +0000)] 
Removed W->A from DEFWND_ImmIsUIMessageW.

19 years ago- Make InternetGetConnectedStateExA not crash, by making
Robert Shearman [Sun, 21 Nov 2004 15:42:57 +0000 (15:42 +0000)] 
- Make InternetGetConnectedStateExA not crash, by making
  InternetGetConnectedStateExW fill in the buffer correctly.
- Remove the dumping of strings that will only contain garbage.
- Document function.

19 years agoDon't mess up the msvcrt codepage on e.g. _MB_CP_ANSI.
Bill Medland [Sun, 21 Nov 2004 15:42:03 +0000 (15:42 +0000)] 
Don't mess up the msvcrt codepage on e.g. _MB_CP_ANSI.

19 years agoAccelerator resource struct fix for sparc.
Eric Frias [Sun, 21 Nov 2004 15:41:38 +0000 (15:41 +0000)] 
Accelerator resource struct fix for sparc.

19 years agoThe default font for the treeview should be the icon title font.
Huw Davies [Sun, 21 Nov 2004 15:41:08 +0000 (15:41 +0000)] 
The default font for the treeview should be the icon title font.

19 years agoHandle a def file where the names of the exported functions are listed
Eric Frias [Sun, 21 Nov 2004 15:39:51 +0000 (15:39 +0000)] 
Handle a def file where the names of the exported functions are listed
without being followed by an equals sign and an alias.

19 years agoFixed file handle leak.
Eric Frias [Sun, 21 Nov 2004 15:39:02 +0000 (15:39 +0000)] 
Fixed file handle leak.

19 years agoPermit unaligned memory access on sparc.
Eric Frias [Sun, 21 Nov 2004 15:38:26 +0000 (15:38 +0000)] 
Permit unaligned memory access on sparc.

19 years agoFixed error writing control IDs in dialogex on sparc.
Eric Frias [Sun, 21 Nov 2004 15:38:00 +0000 (15:38 +0000)] 
Fixed error writing control IDs in dialogex on sparc.

19 years agoAdd some missing error values in WINMM_ErrorToString.
Rémi Assailly [Sun, 21 Nov 2004 15:37:04 +0000 (15:37 +0000)] 
Add some missing error values in WINMM_ErrorToString.

19 years agoFixed dialogex resource loading on sparc.
Eric Frias [Sun, 21 Nov 2004 15:36:05 +0000 (15:36 +0000)] 
Fixed dialogex resource loading on sparc.

19 years agoSearch the whole table when creating solid brushes.
Jon Griffiths [Sun, 21 Nov 2004 15:35:15 +0000 (15:35 +0000)] 
Search the whole table when creating solid brushes.

19 years agoAdded NOVT timezone info.
Alexander Yaworsky [Sun, 21 Nov 2004 15:34:28 +0000 (15:34 +0000)] 
Added NOVT timezone info.

19 years agoFix clipping for DrawThemeParentBackground.
Kevin Koltzau [Sun, 21 Nov 2004 15:33:36 +0000 (15:33 +0000)] 
Fix clipping for DrawThemeParentBackground.

19 years agoUpdate FreeBSD info.
Gerald Pfeifer [Sun, 21 Nov 2004 15:33:00 +0000 (15:33 +0000)] 
Update FreeBSD info.

19 years agoAdded some structure tags and error defines.
Rémi Assailly [Sun, 21 Nov 2004 15:32:31 +0000 (15:32 +0000)] 
Added some structure tags and error defines.

19 years agoMoved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile.
Eric Pouech [Sun, 21 Nov 2004 15:29:44 +0000 (15:29 +0000)] 
Moved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile.

19 years agoRemoved a couple of no longer needed entries.
Alexandre Julliard [Fri, 19 Nov 2004 18:28:05 +0000 (18:28 +0000)] 
Removed a couple of no longer needed entries.

19 years agoFix conflicting structure tag.
Alexandre Julliard [Fri, 19 Nov 2004 18:26:20 +0000 (18:26 +0000)] 
Fix conflicting structure tag.

19 years agoOne step closer to getting hardware accelerated capture working.
Robert Reif [Fri, 19 Nov 2004 18:25:03 +0000 (18:25 +0000)] 
One step closer to getting hardware accelerated capture working.

19 years agoCalculating the average width doesn't seem possible, so set it
Huw Davies [Fri, 19 Nov 2004 18:23:52 +0000 (18:23 +0000)] 
Calculating the average width doesn't seem possible, so set it
manually instead.
Fix the copyright in wine_system.

19 years agoImplement IsProfileValid.
Hans Leidekker [Fri, 19 Nov 2004 18:22:20 +0000 (18:22 +0000)] 
Implement IsProfileValid.
Document all functions.

19 years agoFixed GetFileVersionInfoSizeA tests on NT.
Stefan Leichter [Fri, 19 Nov 2004 18:19:31 +0000 (18:19 +0000)] 
Fixed GetFileVersionInfoSizeA tests on NT.

19 years agoFix English menu text.
Martin Fuchs [Fri, 19 Nov 2004 18:18:27 +0000 (18:18 +0000)] 
Fix English menu text.

19 years agoImplemented IGraphBuilder methods: Connect, Render, RenderFile &
Christian Costa [Fri, 19 Nov 2004 18:17:27 +0000 (18:17 +0000)] 
Implemented IGraphBuilder methods: Connect, Render, RenderFile &
AddSourceFilter.
Fixed filter name generation in IGraphBuilder::AddFilter.

19 years ago- Use more specific error codes than E_FAIL, where possible.
Robert Shearman [Fri, 19 Nov 2004 18:14:47 +0000 (18:14 +0000)] 
- Use more specific error codes than E_FAIL, where possible.
- Move vtable to end, give it the const modifier, and remove unneeded
  function declarations.

19 years agoAdded beginnings of RegQueryValueEx tests.
James Hawkins [Fri, 19 Nov 2004 18:13:30 +0000 (18:13 +0000)] 
Added beginnings of RegQueryValueEx tests.

19 years agoCorrect ordering of some defines.
Andreas Mohr [Fri, 19 Nov 2004 18:12:12 +0000 (18:12 +0000)] 
Correct ordering of some defines.

19 years agoFallback to some sensible default values when underlining and striking
Huw Davies [Fri, 19 Nov 2004 18:10:47 +0000 (18:10 +0000)] 
Fallback to some sensible default values when underlining and striking
out bitmap fonts.
Rotate the strikeout line if the escapement is non-zero.

19 years agoAdd the DT_NOPREFIX flag when calling DrawText() for single-line
Zach Gorman [Fri, 19 Nov 2004 18:09:29 +0000 (18:09 +0000)] 
Add the DT_NOPREFIX flag when calling DrawText() for single-line
listview controls.

19 years agoAdd version information.
Hans Leidekker [Fri, 19 Nov 2004 18:06:41 +0000 (18:06 +0000)] 
Add version information.

19 years agoFixed colorkey conversion.
Christian Costa [Fri, 19 Nov 2004 18:05:15 +0000 (18:05 +0000)] 
Fixed colorkey conversion.
Handle null surface pointer when creating surface.

19 years agoUse interlocked functions for thread safety.
Mike McCormack [Fri, 19 Nov 2004 18:03:56 +0000 (18:03 +0000)] 
Use interlocked functions for thread safety.

19 years agoFixed IEnumPinsImpl_Next.
Christian Costa [Fri, 19 Nov 2004 18:03:19 +0000 (18:03 +0000)] 
Fixed IEnumPinsImpl_Next.

19 years ago- implement SymUnDName and UndecorateSymbolName on top of
Eric Pouech [Fri, 19 Nov 2004 18:02:47 +0000 (18:02 +0000)] 
- implement SymUnDName and UndecorateSymbolName on top of
  msvcrt.__unDName
- implement SYMOPT_UNDNAME support

19 years agoAdded some structure tags.
Rémi Assailly [Fri, 19 Nov 2004 18:01:29 +0000 (18:01 +0000)] 
Added some structure tags.

19 years agoUse _WINNT_ as exclusion define for source compatibility.
Jon Griffiths [Fri, 19 Nov 2004 17:59:41 +0000 (17:59 +0000)] 
Use _WINNT_ as exclusion define for source compatibility.

19 years agoMapped AVIStreamOpenFromFile to AVIStreamOpenFromFileA.
Christian Costa [Fri, 19 Nov 2004 17:58:18 +0000 (17:58 +0000)] 
Mapped AVIStreamOpenFromFile to AVIStreamOpenFromFileA.

19 years agoRemove trailing white space introduced in previous patch.
Robert Reif [Fri, 19 Nov 2004 17:56:56 +0000 (17:56 +0000)] 
Remove trailing white space introduced in previous patch.
Fixed IDirectSoundCaptureBuffer_Stop to allow another Start to
succeed.
Removed OSS centric buffer recreation hack when doing hardware
acceleration.
Cleaned up error reporting and tracing.

19 years agoMake four shreg tests pass on XP.
James Hawkins [Fri, 19 Nov 2004 17:56:08 +0000 (17:56 +0000)] 
Make four shreg tests pass on XP.

19 years agoAdded stub for SetQueryNetSessionCount.
Christian Costa [Fri, 19 Nov 2004 17:55:28 +0000 (17:55 +0000)] 
Added stub for SetQueryNetSessionCount.

19 years agoPass the address of the handle rather than just the handle to fix a
Robert Shearman [Fri, 19 Nov 2004 17:54:48 +0000 (17:54 +0000)] 
Pass the address of the handle rather than just the handle to fix a
crash with IE.

19 years agoFixed some forwards.
Christian Costa [Fri, 19 Nov 2004 17:53:47 +0000 (17:53 +0000)] 
Fixed some forwards.

19 years agoImprove the CertStore code a little.
Mike McCormack [Wed, 10 Nov 2004 01:31:50 +0000 (01:31 +0000)] 
Improve the CertStore code a little.

19 years ago- Stub SetServiceObjectSecurity to pretend to work (return true).
Jason Edmeades [Wed, 10 Nov 2004 01:31:39 +0000 (01:31 +0000)] 
- Stub SetServiceObjectSecurity to pretend to work (return true).
- Change QueryServiceObjectSecurity so it initializes the ACL with a
  null DACL, and return as though it worked.
- Changed QueryServiceStatus to tell if the service is running by the
  presence of some named shared storage - copied from StartService when
  it checks to see if its already running.

19 years agoUse SHDeleteKey to remove leftover keys from the shreg tests.
James Hawkins [Wed, 10 Nov 2004 01:30:59 +0000 (01:30 +0000)] 
Use SHDeleteKey to remove leftover keys from the shreg tests.

19 years ago- Set cache bitmap dimensions correctly when a 0x0 image list is used.
Robert Shearman [Wed, 10 Nov 2004 01:30:47 +0000 (01:30 +0000)] 
- Set cache bitmap dimensions correctly when a 0x0 image list is used.
- Optimize WM_STYLECHANGED handler to only redraw when a CCS_* style
  is changed, like native.

19 years agoCPAcquireContext: Set last error to ERROR_SUCCESS in case of success.
Michael Jung [Wed, 10 Nov 2004 01:30:20 +0000 (01:30 +0000)] 
CPAcquireContext: Set last error to ERROR_SUCCESS in case of success.

19 years agoAdd a first AC_CHECK_HEADERS, forcing checking of the default includes
Rein Klazes [Tue, 9 Nov 2004 20:16:35 +0000 (20:16 +0000)] 
Add a first AC_CHECK_HEADERS, forcing checking of the default includes
even when building wine without X11.

19 years agoFix for async writes to comm ports.
Hamish [Tue, 9 Nov 2004 20:12:18 +0000 (20:12 +0000)] 
Fix for async writes to comm ports.

19 years agoFixed tests of GetAcceptLanguagesA for platfoms 98,ME,NT4.
Stefan Leichter [Tue, 9 Nov 2004 20:11:18 +0000 (20:11 +0000)] 
Fixed tests of GetAcceptLanguagesA for platfoms 98,ME,NT4.

19 years agoFixed GetFileVersionInfoSizeA tests on NT4 platform.
Stefan Leichter [Tue, 9 Nov 2004 20:11:07 +0000 (20:11 +0000)] 
Fixed GetFileVersionInfoSizeA tests on NT4 platform.

19 years agoRemove redundant GUID check.
Robert Reif [Tue, 9 Nov 2004 20:10:46 +0000 (20:10 +0000)] 
Remove redundant GUID check.

19 years ago- do not move updown control and buddy if an alignment was not requested
Dmitry Timoshkov [Tue, 9 Nov 2004 20:03:47 +0000 (20:03 +0000)] 
- do not move updown control and buddy if an alignment was not requested
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler

19 years agoImplementation of GetThemeBackgroundExtent.
Kevin Koltzau [Tue, 9 Nov 2004 20:03:25 +0000 (20:03 +0000)] 
Implementation of GetThemeBackgroundExtent.
Partial implementation of GetThemeBackgroundRegion.
Correct a few comments.

19 years agoChange AlphaBlend to use destination dimensions rather then source.
Kevin Koltzau [Tue, 9 Nov 2004 20:02:57 +0000 (20:02 +0000)] 
Change AlphaBlend to use destination dimensions rather then source.

19 years agoFix crash when no theme is set and application ignores errors.
Kevin Koltzau [Tue, 9 Nov 2004 20:02:39 +0000 (20:02 +0000)] 
Fix crash when no theme is set and application ignores errors.

19 years agoIn OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed
Walt Ogburn [Tue, 9 Nov 2004 20:02:25 +0000 (20:02 +0000)] 
In OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed
palette has been defined.

19 years ago- bNtfUnicode is a dup' of bUnicode so remove it and fix the few
Robert Shearman [Mon, 8 Nov 2004 22:17:02 +0000 (22:17 +0000)] 
- bNtfUnicode is a dup' of bUnicode so remove it and fix the few
  places where it was used.
- Remove a load of useless NULL infoPtr checks.
- Hardcode the default padding like native instead of using a wacky formula.
- Replace some tabs with spaces and remove NMHDR casts.

19 years agoGive the first menu item of a popup menu a distance of 1 pixel to the
William Poetra Yoga H [Mon, 8 Nov 2004 22:12:42 +0000 (22:12 +0000)] 
Give the first menu item of a popup menu a distance of 1 pixel to the
top border.

19 years agoFix the size and position of the system menu icon on the caption bar.
William Poetra Yoga H [Mon, 8 Nov 2004 22:11:48 +0000 (22:11 +0000)] 
Fix the size and position of the system menu icon on the caption bar.

19 years agoNow that name undecoration works, fix the type info.
Eric Pouech [Mon, 8 Nov 2004 22:11:05 +0000 (22:11 +0000)] 
Now that name undecoration works, fix the type info.

19 years agoImplemented __unDName and __unDNameEx functions.
Eric Pouech [Mon, 8 Nov 2004 22:10:43 +0000 (22:10 +0000)] 
Implemented __unDName and __unDNameEx functions.

19 years ago- return "want all keys" for WM_GETDLGCODE when multi-line
Vitaliy Margolen [Mon, 8 Nov 2004 22:10:05 +0000 (22:10 +0000)] 
- return "want all keys" for WM_GETDLGCODE when multi-line
- single-line edit control does not want all messages
- additional style combinations are possible for both multi-line and
  single-line edit controls
- tests to confirm it

19 years agoDimensions of month calendar control should not depend on the client
Dmitry Timoshkov [Mon, 8 Nov 2004 20:27:02 +0000 (20:27 +0000)] 
Dimensions of month calendar control should not depend on the client
window size.

19 years agoAdd version information.
Hans Leidekker [Mon, 8 Nov 2004 20:26:45 +0000 (20:26 +0000)] 
Add version information.

19 years ago- fixed loading stabs from PE modules compiled with MingW
Eric Pouech [Mon, 8 Nov 2004 20:26:22 +0000 (20:26 +0000)] 
- fixed loading stabs from PE modules compiled with MingW
- enhance some loading logic between ELF/PE DLL pairs
- removed unused indirect memory access function
- get rid of some GCC generated symbols

19 years ago- fixed regression in watchpoint setting (by addr)
Eric Pouech [Mon, 8 Nov 2004 20:25:55 +0000 (20:25 +0000)] 
- fixed regression in watchpoint setting (by addr)
- in backtrace, show at least module when no symbol is found
- protect event parsing from command line (when no real number)

19 years agoTurn ISO_Left_Tab back into a tab character if needed.
Walt Ogburn [Mon, 8 Nov 2004 20:25:37 +0000 (20:25 +0000)] 
Turn ISO_Left_Tab back into a tab character if needed.

19 years agoUse COLOR_MENUBAR (instead of COLOR_GRADIENTINACTIVECAPTION) as the
William Poetra Yoga H [Mon, 8 Nov 2004 20:24:50 +0000 (20:24 +0000)] 
Use COLOR_MENUBAR (instead of COLOR_GRADIENTINACTIVECAPTION) as the
upper limit in GetSysColor() validation.