Commit Graph

30710 Commits

Author SHA1 Message Date
Marcus Meissner 9ce27fc7c1 dinput: Add a dumper for LPDIACTIONFORMAT.
Also make the DINPUT_instance static.
2008-02-16 15:10:47 +01:00
Steven Edwards 973c29716b quartz: Bump the amount of time in the referenceclock test slightly. 2008-02-16 15:10:31 +01:00
Rob Shearman 8608e895eb Add a new convenience macro for an exception handler that handles all exceptions.
When using native compiler exceptions, the previous method of doing 
this, __EXCEPT(NULL), would expand to __except( 
(NULL)(GetExceptionInformation())) which doesn't compile as NULL isn't a 
function.

So add a new macro, __EXCEPT_ALL, which works correctly both when using 
native compiler exceptions and without and which makes the meaning of 
code in which it is used clearer.
2008-02-16 14:58:24 +01:00
Rob Shearman 386427e739 user32: Fix MonitorFromRect to cope with the absence of the MONITOR_DEFAULTTONEAREST flag.
Previously, the code would return any monitor found, regardless of 
whether it intersected the given rect or was the nearest monitor. This 
is fixed by adding a new flag that causes monitor_enum to only find the 
nearest monitor if MONITOR_DEFAULTTONEAREST is specified.

Also add a trace for MonitorFromWindow, since it is called in many 
places within user32 and so can't be traced using a relay trace.
2008-02-16 14:58:14 +01:00
Rob Shearman a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Alexandre Julliard 1d0bcb3b37 browseui: Remove WINAPI from functions that don't need it. 2008-02-16 14:05:32 +01:00
Maarten Lankhorst a33ab3484e browseui: Add undocumented Component Category Cache Daemon stub. 2008-02-16 13:58:36 +01:00
Frans Kool a23e5c5935 msvfw32: Created Dutch translations. 2008-02-16 13:55:17 +01:00
Frans Kool eeb84b9a52 credui: Created Dutch translations. 2008-02-16 13:55:10 +01:00
Frans Kool 5372867e12 browseui: Created Dutch translations. 2008-02-16 13:55:07 +01:00
Frans Kool 5bb43bbdf8 localui: Created Dutch translations. 2008-02-16 13:54:58 +01:00
Frans Kool 33348f59ff mshtml: Added missing Dutch translations. 2008-02-16 13:54:43 +01:00
Rob Shearman 229e024a53 urlmon: Check the return value of ReadFile and return INET_E_DOWNLOAD_FAILURE is it fails.
Initialise *pcbRead to zero, if the parameter is not NULL.
2008-02-16 13:54:36 +01:00
Rob Shearman 2e99817a40 wininet: Fix the return value check of SHGetSpecialFolderPathW in URLCacheContainers_CreateDefaults.
It returns a BOOL, not an HRESULT.
2008-02-16 13:54:28 +01:00
Rob Shearman f8f9dbbbe7 wininet: Fix an off-by-one error in the boundary checks in HTTP_DecodeBase64. 2008-02-16 13:54:17 +01:00
Rob Shearman eb0a8692f2 urlmon: Fix the character count passed into MultiByteToWideChar in HttpProtocol_Start. 2008-02-16 13:54:11 +01:00
Rob Shearman d92fe2cbfc shell32: Fix character count passed into lstrcpnA in SHGetDataFromIDListA. 2008-02-16 13:54:05 +01:00
Rob Shearman 8aa361740e shell32: Fix the character count passed into LoadStringW in ISFHelper_fnAddFolder. 2008-02-16 13:53:22 +01:00
Rob Shearman 783b5b49a2 comctl32: Remove some more useless asserts. 2008-02-16 13:52:33 +01:00
Rob Shearman 82c41bb596 comctl32: Fix the character count passed to GetWindowTextW in TREEVIEW_Command. 2008-02-16 13:52:28 +01:00
Rob Shearman affe20164e comctl32: Remove a useless assert from TREEVIEW_GetItemIndex. 2008-02-16 13:52:24 +01:00
Rob Shearman fd291ed3d8 comctl32: Fix the character count passed into LoadStringW from propsheet functions. 2008-02-16 13:52:21 +01:00
Juan Lang b04c4aa6ff crypt32: Vista doesn't actually add duplicate usage identifiers; fix tests and change Wine to match. 2008-02-16 13:52:15 +01:00
Juan Lang b579eac22f crypt32: Allow some last errors set by Vista. 2008-02-16 13:52:04 +01:00
Juan Lang 348261e6ab crypt32: Fix a test failure on Vista, and make Wine match the newer (and saner) behavior. 2008-02-16 13:51:59 +01:00
Juan Lang 79c39e379f crypt32: Add to error message to track down NT4 failures. 2008-02-16 13:51:50 +01:00
Juan Lang 5618fdb3df crypt32: Fix test failures on NT4. 2008-02-16 13:51:44 +01:00
Juan Lang 3138f87e73 advapi32: Fix CryptVerifySignatureW test failures on Win98SE and NT4. 2008-02-16 13:51:37 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Rico Schüller 59a43c4cc9 wined3d: Fix memcpy with wrong size parameter to simple assignment in GetScissorRect. 2008-02-15 12:08:54 +01:00
Alexandre Julliard 58913b439b kernel32: On Mac OS, recompose the Unicode strings we get from the OS. 2008-02-15 12:07:56 +01:00
Andrew Talbot 70c4b66781 crypt32: Assign to structs instead of using memcpy. 2008-02-15 12:05:47 +01:00
Andrew Talbot 649d8b5298 comdlg32: Rename some identifiers to reflect their width. 2008-02-15 12:05:44 +01:00
Francois Gouget 79333bd1c0 advapi32/tests: Check that a credential type is supported before testing it. Test CRED_TYPE_DOMAIN_VISIBLE_PASSWORD credentials. Factorize the CredentialBlob checks. 2008-02-15 12:05:39 +01:00
Francois Gouget 6552f86ff9 advapi32/tests: Factorize the password constants. 2008-02-15 12:05:30 +01:00
Francois Gouget ddab29b7d1 advapi32: Add a rudimentary implementation of CredGetSessionTypes(). 2008-02-15 12:05:20 +01:00
Mikołaj Zalewski cd7e1417b1 browseui: Implement PROGDLG_NOMINIMIZE. 2008-02-15 12:04:56 +01:00
Mikołaj Zalewski a17e222d02 browseui: aclmulti: Follow the Windows Vista behavious in Expand. 2008-02-15 12:04:50 +01:00
Mikołaj Zalewski c9492a5bf4 browseui/tests: make the ACLMulti test pass under Windows Vista. 2008-02-15 12:04:43 +01:00
Royal Chan c86f2c29ff gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls. 2008-02-15 11:39:35 +01:00
Reece H. Dunn d9c2a91f8b user32: Improve the combo tests to check when the CBN_SELCHANGE notification is sent. 2008-02-15 11:35:09 +01:00
Andrew Talbot 43ed6eae5a d3d9: Assign to struct instead of using memcpy. 2008-02-15 11:09:37 +01:00
Andrew Talbot 6733c6bad0 dbghelp: Assign to struct instead of using memcpy. 2008-02-15 11:09:34 +01:00
Frans Kool cef389c106 shdoclc: Added missing Dutch translations. 2008-02-15 11:09:29 +01:00
Frans Kool 52435e1c0d oledlg: Added missing Dutch translations. 2008-02-15 11:09:25 +01:00
Frans Kool 50991ed1c3 mpr: Added Dutch translations. 2008-02-15 11:08:38 +01:00
Paul Vriens 4c105b2f5c msi/tests: Services are not available on win9x. 2008-02-15 11:07:19 +01:00
Rob Shearman d9891887c7 crypt32: Fix function declaration - WINAPI should come after the return type. 2008-02-15 11:06:15 +01:00
Rob Shearman 4510346b4f shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/LocalReAlloc, not from GlobalAlloc.
Use LMEM_FIXED instead of 0 in calls to LocalAlloc to emphasise that 
we're getting a direct pointer, not a handle to memory.

Remove hargv as it is confusing and unnecessary.
2008-02-15 11:04:47 +01:00
Rob Shearman 3d55b590b5 user32: Fix incorrect character count passed to GetWindowTextW in ICONTITLE_Paint. 2008-02-15 11:04:28 +01:00