Commit Graph

9482 Commits

Author SHA1 Message Date
Juan Lang 535679aec7 Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
that they pass.
2004-10-26 00:17:31 +00:00
Mike McCormack 568a91dfd1 SERIALUI: convert to Unicode. 2004-10-26 00:16:39 +00:00
Rein Klazes 4cf122d2aa Correctly use the return value of GetTimeZoneInformation. 2004-10-26 00:11:43 +00:00
Dimitrie O. Paun 63fe9d4490 Implement proper GWL_STYLE handling, proper reaction to style changes.
Merge {{Inc,Dec}rement,Reset{Up,Down}}Field into one method. Fix a
bunch of bugs in the process.  Implement DTM_[GS]ETMCFONT. Indentation
fixes, cleanups.
2004-10-26 00:11:31 +00:00
Juan Lang 4a6a898e2d Avoid copying invalid data on error. 2004-10-25 21:53:18 +00:00
Dimitrie O. Paun 438ac9d56f Use proper types/names in all cases. Fix some indentation. 2004-10-25 21:49:30 +00:00
Rein Klazes 4ca34c4b2f Correctly use the returned value from GetTimeZoneInformation. 2004-10-25 21:48:57 +00:00
Dmitry Timoshkov c41d0c9a4b - Remove bogus use of nStatCounter and hOleAut32 in CoSetState.
- Remove a comment about protecting per thread data by a critical section.
2004-10-25 21:48:44 +00:00
Dimitrie O. Paun 186b4b6843 Use only Unicode functions, it makes it easier to see we are fully
Unicode compliant.
2004-10-25 21:47:57 +00:00
Eric Pouech 4bb5d3ab3e - fixed the way length of msvcrt runtime info is passed
- always return a NULL runtime info buffer in child if parent's
  runtime info is NULL
- fixed typo in startupinfo size
2004-10-25 21:47:23 +00:00
Robert Reif c67bfb2895 Don't consider no driver a test failure. 2004-10-25 21:46:12 +00:00
Robert Reif 0a16d361e2 Don't consider a device in use a failure. 2004-10-25 21:45:51 +00:00
Sami Aario c2dcecc362 Check the return value of the SHGetDesktopFolder call. 2004-10-25 21:45:36 +00:00
Robert Shearman e0f1444d4e - Don't fill in any more information than native does for notifications.
- Store hit code in a signed integer so that we can see whether it is
  less than zero.
2004-10-25 21:45:14 +00:00
Robert Shearman acfd725df4 - Don't leak memory when an app sends TTM_SETTITLE twice.
- An lParam of 0 indicates that the title should be removed.
2004-10-25 21:44:50 +00:00
Juan Lang 352a00b635 Use shell32 to get the user profile dir. 2004-10-25 21:44:01 +00:00
Juan Lang 531be0b887 Update comment for LsaOpenPolicy. 2004-10-25 21:43:47 +00:00
Francois Gouget 3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +00:00
Alexandre Julliard 32457b4f5a Converted more of the (Un)RegisterTypeLib code to Unicode.
Factored out some common routines.
2004-10-22 22:09:09 +00:00
Aric Stewart d906ef03ff Don't reregister ProgIds over and over, also write out the main key
before trying to register the Parent. This avoids loops if a ProgId
has itself as a parent or there is a loop in dependencies.
2004-10-22 22:06:31 +00:00
Stefan Leichter 80c1addb1c Fixed GetModuleBaseNameA tests for WinXP. 2004-10-22 22:04:56 +00:00
Mike McCormack 56fc9bfade Use Unicode functions in RegisterTypeLib. 2004-10-22 20:29:34 +00:00
Alexandre Julliard d3c0cb77d9 VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Alexandre Julliard 2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +00:00
Francois Gouget a1779c1e33 Fix the function pointer declarations so MSVC likes them.
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Francois Gouget b2e8b36e50 Flesh out the icm.h header (add COLORMATCHSETUP & co) so it is
necessary to first include winuser.h like on Windows.
2004-10-22 19:56:51 +00:00
Francois Gouget 40692f2aa4 There is no point making '--register' functions stdcall so just
implement them as cdecl.
2004-10-22 19:55:14 +00:00
Stefan Leichter 97f4a203b2 Fixed GetAcceptLanguagesA tests for WinXP. 2004-10-22 19:54:28 +00:00
Rein Klazes 149f70b369 Correct the calculation of the year for the 31'st of December of 2000
and every 400 years after that. Add a test used to find this bug.
2004-10-22 19:54:17 +00:00
Mike McCormack 43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00
Dimitrie O. Paun 6898ccbe65 Audit the Date Time Control. Unicodification.
Type safe functions (pass infoPtr and type safe values around).
Some cleanup and indentation fixes.
2004-10-22 19:52:08 +00:00
Robert Reif b50347d452 Don't consider a bad format an error unless the capabilities say it
should be supported.
Don't consider a device already in use an error.
2004-10-22 19:51:54 +00:00
Rolf Kalbermatter eb883577e4 - SHCreateDirectory should create intermediate directories if
necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
2004-10-21 22:29:42 +00:00
Uwe Bonnes 194bac7781 Monthcal_SetRange: Set proper value for min date. 2004-10-21 22:28:12 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Robert Shearman a4b013c9f2 Always remove WS_BORDER style from ComboBoxEx control. 2004-10-21 20:59:38 +00:00
Ge van Geldorp 9b399da426 - Don't double-quote an already double-quoted argument.
- Properly increment the fmt pointer.
2004-10-21 20:59:25 +00:00
Jason Edmeades 447d5ed048 Implement the beginnings of the stateblock class, and a first method
to use it.
2004-10-21 20:59:12 +00:00
Thorsten Kani c0a142ccee Don't add extra OFFSET_X/Y to the calculation of rcBitmap.top/left,
just use GetSystemMetrics.
2004-10-21 20:58:43 +00:00
Robert Reif d4c9f92c65 Trailing white space cleanup.
Add IClassFactory->CreateInstance aggregation checks.
IID_IDirectSoundCapture and IID_IDirectSoundCapture8 are same so
remove redundant check.
Allocate capture buffer for hw driver if necessary.
2004-10-21 20:57:26 +00:00
Mike McCormack 5bc8077511 Implement ChangeServiceConfig2A using ChangeServiceConfig2W. 2004-10-21 20:57:09 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Francois Gouget ceab348973 Remove HAVE_LIBAUDIOIO_MIDI and LIBAUDIOIO_MidiInit(). 2004-10-21 19:58:08 +00:00
Francois Gouget 9c3246803b Fix the declaration of SymEnumSymbols() in dbghelp.spec.
Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
2004-10-21 19:57:56 +00:00
Rein Klazes 62ec238792 Correct the calculation of the year for the 31'st of December of leap
years.
2004-10-21 19:57:00 +00:00
Rein Klazes dc78e9a595 - mktime should compute the tm_wday, tm_yday and renormalize the
other fields of the supplied tm structure.
- add prototype declarations for the time functions.
2004-10-21 19:56:46 +00:00
Robert Shearman 5e6e9fb120 Correct the date of the completeness audit. 2004-10-21 19:56:32 +00:00
Walt Ogburn f61786d444 VarParseNumFromStr: Keep zeros after decimal point, correctly keep
track of trailing zeros in a decimal number.
VarNumFromParseNum: Don't error on decimal expressions for zero.
2004-10-21 19:55:37 +00:00
Robert North e2bd6f36d0 Fix WTInfoA in wintab.c so it can now take lpOutput == NULL, as per
standard.
2004-10-21 19:53:02 +00:00
Dimitrie O. Paun 5d0366f5a0 Audit the month calendar. 2004-10-21 19:52:28 +00:00