gdi32: Pass the full DC handle to the hook in DeleteDC.
dinput: Rename identifiers to get rid of Hungarian notation and deceptive names in Mac code.
dinput: Fix check of wrong result value due to copy/paste error.
dinput: Use the proper mutable Core Foundation types for mutable collections and avoid casting.
dinput: Overhaul how the array of Mac device elements is built and sorted.

Use three separate arrays instead of one array with three sections that are
separately tracked.  Use the Core Foundation sort function rather than
implementing a clumsy sort of our own.
dinput: Check array indexes to avoid exceeding array bounds.
dinput: Fix numerous leaks.
dinput: Add additional debug logging to Mac code.
msxml3: Fix transformation result output for stream and BSTR cases.
quartz: Check GetCurFile() return value (Coverity).
dsound: Remove duplicated parameter check (Coverity).
crypt32: Fix properties list lookup (Coverity).
kernel32: Filter out console handles in GetFileSize.
d3d9/tests: Get rid of some pointless BeginScene() checks.
d3d8/tests: Get rid of some pointless BeginScene() checks.
d3d9/tests: Properly declare matrices.
d3d8/tests: Properly declare matrices.
ddraw/tests: Try to make test_coop_level_mode_set() more reliable.

It appears that particularly on slower setups, on occasion we don't receive
WM_DISPLAYCHANGE messages after a mode change. The theory is that the
SendMessageTimeoutW() call in X11DRV_resize_desktop() ends up hitting the
is_queue_hung() check in the send_message handler in the server, and the
PeekMessage() calls should avoid that.
include/xmldomdid.h: Synchronize with msxml2did.h.
cscript: Share sources with wscript.