wine
16 years agoavifil32: Remove unneeded casts.
Andrew Talbot [Sat, 29 Dec 2007 15:37:24 +0000 (15:37 +0000)] 
avifil32: Remove unneeded casts.

16 years agocabinet: Remove unneeded cast.
Andrew Talbot [Sat, 29 Dec 2007 15:37:27 +0000 (15:37 +0000)] 
cabinet: Remove unneeded cast.

16 years agocomctl32: Remove unneeded casts.
Andrew Talbot [Sat, 29 Dec 2007 15:37:34 +0000 (15:37 +0000)] 
comctl32: Remove unneeded casts.

16 years agoadvapi32: Remove unneeded casts.
Andrew Talbot [Sat, 29 Dec 2007 15:37:21 +0000 (15:37 +0000)] 
advapi32: Remove unneeded casts.

16 years agooleaut32: Add missing types to serialize/deserialize.
Peter Dons Tychsen [Sat, 29 Dec 2007 04:55:48 +0000 (05:55 +0100)] 
oleaut32: Add missing types to serialize/deserialize.

16 years agontdll: Set the DataLength field of the information field in NtQueryValueKey to how...
Rob Shearman [Sat, 29 Dec 2007 12:14:19 +0000 (12:14 +0000)] 
ntdll: Set the DataLength field of the information field in NtQueryValueKey to how much data should be returned, not what was actually returned.

16 years agontdll: Add some tests for NtQueryValueKey.
Rob Shearman [Sat, 29 Dec 2007 12:14:07 +0000 (12:14 +0000)] 
ntdll: Add some tests for NtQueryValueKey.

16 years agouser32: Fix type of loop variable.
Gerald Pfeifer [Sat, 29 Dec 2007 08:41:02 +0000 (09:41 +0100)] 
user32: Fix type of loop variable.

16 years agowined3d: Remove noop check in IWineD3DBaseTextureImpl_Appl().
Gerald Pfeifer [Sat, 29 Dec 2007 08:32:43 +0000 (09:32 +0100)] 
wined3d: Remove noop check in IWineD3DBaseTextureImpl_Appl().

16 years agomsi: Add missing initializer for delete_ops.
Gerald Pfeifer [Sat, 29 Dec 2007 08:14:07 +0000 (09:14 +0100)] 
msi: Add missing initializer for delete_ops.

16 years agoshell32: Fix messed up indentation.
Alexandre Julliard [Mon, 31 Dec 2007 16:25:08 +0000 (17:25 +0100)] 
shell32: Fix messed up indentation.

16 years agowinedos: Don't emulate in 32-bit mode interrupts that don't have a specific handler.
Alexandre Julliard [Mon, 31 Dec 2007 16:25:05 +0000 (17:25 +0100)] 
winedos: Don't emulate in 32-bit mode interrupts that don't have a specific handler.

16 years agorpcrt4: Fix NdrGetBuffer to set the correct fields in the MIDL_STUB_MESSAGE structure.
Rob Shearman [Sun, 30 Dec 2007 16:46:45 +0000 (16:46 +0000)] 
rpcrt4: Fix NdrGetBuffer to set the correct fields in the MIDL_STUB_MESSAGE structure.

Fix NdrFreeBuffer to use the fBufferValid flag to determine whether or
not I_RpcFreeBuffer needs to be called.

16 years agorpcrt4: Make some variables in the tests static.
Rob Shearman [Sun, 30 Dec 2007 16:46:21 +0000 (16:46 +0000)] 
rpcrt4: Make some variables in the tests static.

16 years agorpcrt4: Add tests for NdrServerInitializeNew.
Rob Shearman [Sun, 30 Dec 2007 16:46:15 +0000 (16:46 +0000)] 
rpcrt4: Add tests for NdrServerInitializeNew.

16 years agorpcrt4: Fix the MIDL_STUB_MESSAGE fields set by NdrServerInitializeNew.
Rob Shearman [Sun, 30 Dec 2007 16:46:05 +0000 (16:46 +0000)] 
rpcrt4: Fix the MIDL_STUB_MESSAGE fields set by NdrServerInitializeNew.

16 years agorpcrt4: Fix a case of destroying a context handle without first releasing the lock.
Rob Shearman [Sun, 30 Dec 2007 16:45:19 +0000 (16:45 +0000)] 
rpcrt4: Fix a case of destroying a context handle without first releasing the lock.

Reverse the order of the release statements in NDRSContextMarshall2 for
the case where the context handle doesn't have valid data so that the
release that releases the lock comes first and then the optional second
release doesn't need to release the lock.

16 years agorpcrt4: Keep a track of server context handles allocated during processing of a request.
Rob Shearman [Sun, 30 Dec 2007 16:44:54 +0000 (16:44 +0000)] 
rpcrt4: Keep a track of server context handles allocated during processing of a request.

Release them after processing of a request has finished to avoid a slow
memory leak if the association isn't released for ages.

16 years agoinclude: Add defines for more message flags in rpcdcep.h.
Rob Shearman [Sun, 30 Dec 2007 16:45:42 +0000 (16:45 +0000)] 
include: Add defines for more message flags in rpcdcep.h.

16 years agowidl: Check that the buffer has enough space before unmarshalling base types in gener...
Rob Shearman [Sun, 30 Dec 2007 16:45:05 +0000 (16:45 +0000)] 
widl: Check that the buffer has enough space before unmarshalling base types in generated code.

16 years agoole32: Fixed parameter checking and improved debug traces in IBindCtx::QueryInterface.
Jacek Caban [Sun, 30 Dec 2007 16:44:32 +0000 (17:44 +0100)] 
ole32: Fixed parameter checking and improved debug traces in IBindCtx::QueryInterface.

16 years agourlmon: Added more tests.
Jacek Caban [Sun, 30 Dec 2007 16:55:02 +0000 (17:55 +0100)] 
urlmon: Added more tests.

16 years agourlmon: Added BindToObject implementation.
Jacek Caban [Sun, 30 Dec 2007 16:45:00 +0000 (17:45 +0100)] 
urlmon: Added BindToObject implementation.

16 years agourlmon: Call AddRef in EnumFORMATETC::QueryInterface.
Jacek Caban [Sun, 30 Dec 2007 16:44:15 +0000 (17:44 +0100)] 
urlmon: Call AddRef in EnumFORMATETC::QueryInterface.

16 years agourlmon: Added "CBinding Context" bind option support.
Jacek Caban [Sun, 30 Dec 2007 16:44:02 +0000 (17:44 +0100)] 
urlmon: Added "CBinding Context" bind option support.

16 years agourlmon: Binding_Create clean up.
Jacek Caban [Sun, 30 Dec 2007 16:43:39 +0000 (17:43 +0100)] 
urlmon: Binding_Create clean up.

16 years agourlmon: Better error handling.
Jacek Caban [Sun, 30 Dec 2007 16:43:26 +0000 (17:43 +0100)] 
urlmon: Better error handling.

16 years agourlmon: Better implementation of bind stopping.
Jacek Caban [Sun, 30 Dec 2007 16:43:11 +0000 (17:43 +0100)] 
urlmon: Better implementation of bind stopping.

16 years agourlmon: Make start_binding more generic.
Jacek Caban [Sun, 30 Dec 2007 16:42:17 +0000 (17:42 +0100)] 
urlmon: Make start_binding more generic.

16 years agourlmon: Added ibind argument handling in CreateAsyncBindCtx.
Jacek Caban [Sun, 30 Dec 2007 16:42:03 +0000 (17:42 +0100)] 
urlmon: Added ibind argument handling in CreateAsyncBindCtx.

16 years agourlmon.idl: Added missing MONIKERPROPERTY variables.
Jacek Caban [Sun, 30 Dec 2007 16:41:44 +0000 (17:41 +0100)] 
urlmon.idl: Added missing MONIKERPROPERTY variables.

16 years agourlmon: Use BindProtocol in Binding object.
Jacek Caban [Sun, 30 Dec 2007 16:40:26 +0000 (17:40 +0100)] 
urlmon: Use BindProtocol in Binding object.

16 years agorpcrt4: Implement NdrConformantStringMemorySize.
Rob Shearman [Sat, 29 Dec 2007 12:14:30 +0000 (12:14 +0000)] 
rpcrt4: Implement NdrConformantStringMemorySize.

16 years agorpcrt4: Add some tests for non-conformant strings.
Rob Shearman [Sat, 29 Dec 2007 12:17:55 +0000 (12:17 +0000)] 
rpcrt4: Add some tests for non-conformant strings.

16 years agorpcrt4: Implement non-conformant string functions.
Rob Shearman [Sat, 29 Dec 2007 12:16:01 +0000 (12:16 +0000)] 
rpcrt4: Implement non-conformant string functions.

16 years agorpcss: Initialise some out-only parameters that aren't initialised by the generated...
Rob Shearman [Sat, 29 Dec 2007 12:13:48 +0000 (12:13 +0000)] 
rpcss: Initialise some out-only parameters that aren't initialised by the generated RPC code.

16 years agouser32: Remove unneeded casts.
Michael Stefaniuc [Sat, 29 Dec 2007 00:05:07 +0000 (01:05 +0100)] 
user32: Remove unneeded casts.

16 years agowininet: Fix typo in comparison with NULL. Found by Smatch.
Michael Stefaniuc [Sat, 29 Dec 2007 00:04:58 +0000 (01:04 +0100)] 
wininet: Fix typo in comparison with NULL. Found by Smatch.

16 years agogdiplus: Add GdipCreatePen2 and test cases.
Lei Zhang [Fri, 28 Dec 2007 21:08:09 +0000 (13:08 -0800)] 
gdiplus: Add GdipCreatePen2 and test cases.

16 years agogdiplus: Initialize a variable in a test.
Lei Zhang [Fri, 28 Dec 2007 20:54:31 +0000 (12:54 -0800)] 
gdiplus: Initialize a variable in a test.

16 years agontdll: Remove unneeded casts.
Andrew Talbot [Fri, 28 Dec 2007 17:21:48 +0000 (17:21 +0000)] 
ntdll: Remove unneeded casts.

16 years agomsvfw32: Remove unneeded casts.
Andrew Talbot [Fri, 28 Dec 2007 17:21:45 +0000 (17:21 +0000)] 
msvfw32: Remove unneeded casts.

16 years agourlmon: Added more binding tests.
Jacek Caban [Fri, 28 Dec 2007 13:54:48 +0000 (14:54 +0100)] 
urlmon: Added more binding tests.

16 years agourlmon: Release protocol sink in Terminate.
Jacek Caban [Fri, 28 Dec 2007 13:54:22 +0000 (14:54 +0100)] 
urlmon: Release protocol sink in Terminate.

16 years agourlmon: More ReportProgress implementation.
Jacek Caban [Fri, 28 Dec 2007 13:53:38 +0000 (14:53 +0100)] 
urlmon: More ReportProgress implementation.

16 years agourlmon: Move setting protocol_sink to separated function.
Jacek Caban [Fri, 28 Dec 2007 13:53:25 +0000 (14:53 +0100)] 
urlmon: Move setting protocol_sink to separated function.

17 years agoRelease 0.9.52. wine-0.9.52
Alexandre Julliard [Fri, 28 Dec 2007 15:26:23 +0000 (16:26 +0100)] 
Release 0.9.52.

17 years agoregedit: Window caption correction.
Vincent Hardy [Fri, 28 Dec 2007 10:11:25 +0000 (11:11 +0100)] 
regedit: Window caption correction.

17 years agowined3d: Only store the palette index in the alpha component when the primary render...
Roderick Colenbrander [Sun, 23 Dec 2007 19:51:58 +0000 (20:51 +0100)] 
wined3d: Only store the palette index in the alpha component when the primary render target uses P8.

This was already done in other places but I missed this spot.

17 years agowined3d: In case of GL_EXT_paletted_textures we use GL_COLOR_INDEX and don't need...
Roderick Colenbrander [Sun, 23 Dec 2007 19:47:15 +0000 (20:47 +0100)] 
wined3d: In case of GL_EXT_paletted_textures we use GL_COLOR_INDEX and don't need a GL_RED fixup.

17 years agouser32: Reimplement IsHungAppWindow.
Dmitry Timoshkov [Fri, 28 Dec 2007 02:59:13 +0000 (10:59 +0800)] 
user32: Reimplement IsHungAppWindow.

17 years agourlmon: Rename BindProtocol's IInternetProtocolSink methods.
Jacek Caban [Fri, 28 Dec 2007 01:00:53 +0000 (02:00 +0100)] 
urlmon: Rename BindProtocol's IInternetProtocolSink methods.

Binding's implementation uses the same names, what makes reading logs
harder.

17 years agourlmon: Use heap_alloc_zero to allocate BindProtocol.
Jacek Caban [Fri, 28 Dec 2007 01:00:37 +0000 (02:00 +0100)] 
urlmon: Use heap_alloc_zero to allocate BindProtocol.

17 years agourlmon: Added mime filters tests.
Jacek Caban [Fri, 28 Dec 2007 01:00:24 +0000 (02:00 +0100)] 
urlmon: Added mime filters tests.

17 years agourlmon: Added [Un]RegisterMimeFilter implementation.
Jacek Caban [Fri, 28 Dec 2007 01:00:10 +0000 (02:00 +0100)] 
urlmon: Added [Un]RegisterMimeFilter implementation.

17 years agourlmon: RegisterNameSpace clean up.
Jacek Caban [Fri, 28 Dec 2007 00:59:51 +0000 (01:59 +0100)] 
urlmon: RegisterNameSpace clean up.

17 years agourlmon: Added CoInternetQueryInfo tests.
Jacek Caban [Fri, 28 Dec 2007 00:59:38 +0000 (01:59 +0100)] 
urlmon: Added CoInternetQueryInfo tests.

17 years agourlmon: Added CoInternetQueryInfo implementation.
Jacek Caban [Fri, 28 Dec 2007 00:59:25 +0000 (01:59 +0100)] 
urlmon: Added CoInternetQueryInfo implementation.

17 years agomshtml: Added QueryInfo tests.
Jacek Caban [Fri, 28 Dec 2007 00:59:06 +0000 (01:59 +0100)] 
mshtml: Added QueryInfo tests.

17 years agomshtml: Added ResProtocolInfo::QueryInfo implementation.
Jacek Caban [Fri, 28 Dec 2007 00:58:53 +0000 (01:58 +0100)] 
mshtml: Added ResProtocolInfo::QueryInfo implementation.

17 years agomshtml: Added AboutProtocolInfo::QueryInfo implementation.
Jacek Caban [Fri, 28 Dec 2007 00:58:41 +0000 (01:58 +0100)] 
mshtml: Added AboutProtocolInfo::QueryInfo implementation.

17 years agowined3d: Multiply the half pixel correction with .w.
Stefan Dösinger [Thu, 27 Dec 2007 20:20:59 +0000 (21:20 +0100)] 
wined3d: Multiply the half pixel correction with .w.

17 years agoserver: Initialise the apc_call_t union in async_set_result to all zero to avoid...
Rob Shearman [Thu, 27 Dec 2007 13:50:35 +0000 (13:50 +0000)] 
server: Initialise the apc_call_t union in async_set_result to all zero to avoid a Valgrind warning.

17 years agoshell32: Implement "My Network Places" shell folder.
Mike McCormack [Wed, 26 Dec 2007 08:48:15 +0000 (11:48 +0300)] 
shell32: Implement "My Network Places" shell folder.

17 years agod3d9: Initialize pVertexBuffer.
Marcus Meissner [Mon, 24 Dec 2007 14:01:18 +0000 (15:01 +0100)] 
d3d9: Initialize pVertexBuffer.

17 years agofonts: Correct External leading for japanese small font and enable fontmetric test...
Aric Stewart [Wed, 26 Dec 2007 14:15:06 +0000 (08:15 -0600)] 
fonts: Correct External leading for japanese small font and enable fontmetric test for the font.

17 years agoexplorer: Fix memory leak when one or more properties are not present on a hal device.
Rob Shearman [Thu, 27 Dec 2007 10:01:13 +0000 (10:01 +0000)] 
explorer: Fix memory leak when one or more properties are not present on a hal device.

17 years agorpcss: Zero the memory of several variables before writing them to the pipe to silenc...
Rob Shearman [Thu, 27 Dec 2007 10:01:09 +0000 (10:01 +0000)] 
rpcss: Zero the memory of several variables before writing them to the pipe to silence Valgrind warnings.

17 years agowined3d: Combine two glScalef calls into one.
Stefan Dösinger [Wed, 26 Dec 2007 21:12:05 +0000 (22:12 +0100)] 
wined3d: Combine two glScalef calls into one.

17 years agowined3d: Get rid of the invymat.
Stefan Dösinger [Tue, 25 Dec 2007 22:14:05 +0000 (23:14 +0100)] 
wined3d: Get rid of the invymat.

glScalef(1.0, -1.0, 1.0) does the same as the glMultMatrix with the
invymat matrix, and it is more optimal.

17 years agowined3d: Fix a problem in BltOverride.
Stefan Dösinger [Tue, 25 Dec 2007 21:57:01 +0000 (22:57 +0100)] 
wined3d: Fix a problem in BltOverride.

17 years agomsi: Fix error handling in encode_streamname().
Gerald Pfeifer [Wed, 26 Dec 2007 21:44:22 +0000 (22:44 +0100)] 
msi: Fix error handling in encode_streamname().

17 years agowined3d: Also update alpha test when stage texture is NULL.
Alexander Dorofeyev [Thu, 27 Dec 2007 08:23:59 +0000 (00:23 -0800)] 
wined3d: Also update alpha test when stage texture is NULL.

17 years agocomdlg32: PageSetupDlgW: Load paper orientation in ChangePrinterW.
Alexander Nicolaysen Sørnes [Sun, 23 Dec 2007 14:55:15 +0000 (15:55 +0100)] 
comdlg32: PageSetupDlgW: Load paper orientation in ChangePrinterW.

17 years agowined3d: Add zero/near zero vertex rhw special case.
Alexander Dorofeyev [Tue, 25 Dec 2007 08:18:21 +0000 (00:18 -0800)] 
wined3d: Add zero/near zero vertex rhw special case.

17 years agows2_32: Fix timeout check.
Alexander Dorofeyev [Mon, 24 Dec 2007 10:24:09 +0000 (02:24 -0800)] 
ws2_32: Fix timeout check.

17 years agorpcrt4: Re-use existing memory for embedded pointers in NdrVaryingArrayUnmarshall.
Rob Shearman [Mon, 24 Dec 2007 17:01:40 +0000 (17:01 +0000)] 
rpcrt4: Re-use existing memory for embedded pointers in NdrVaryingArrayUnmarshall.

17 years agorpcrt4: Re-use existing memory for embedded pointers in NdrConformantVaryingArrayUnma...
Rob Shearman [Mon, 24 Dec 2007 17:01:27 +0000 (17:01 +0000)] 
rpcrt4: Re-use existing memory for embedded pointers in NdrConformantVaryingArrayUnmarshall.

17 years agorpcrt4: Add tests for varying and conformant varying arrays.
Rob Shearman [Mon, 24 Dec 2007 17:01:20 +0000 (17:01 +0000)] 
rpcrt4: Add tests for varying and conformant varying arrays.

17 years agodbghelp: Treat const addresses as const unsigned.
Andrey Turkin [Wed, 26 Dec 2007 08:51:18 +0000 (11:51 +0300)] 
dbghelp: Treat const addresses as const unsigned.

This will prevent winedbg from spamming about __wine_dbch__default.

17 years agoquartz: Fix memory leak in FilterGraphInner_Release.
Rob Shearman [Wed, 26 Dec 2007 11:03:17 +0000 (11:03 +0000)] 
quartz: Fix memory leak in FilterGraphInner_Release.

17 years agooleaut32: Fix copy and paste error in VARIANT_UserUnmarshall with VT_UNKNOWN test.
Rob Shearman [Wed, 26 Dec 2007 11:03:03 +0000 (11:03 +0000)] 
oleaut32: Fix copy and paste error in VARIANT_UserUnmarshall with VT_UNKNOWN test.

The variant type is VT_UNKNOWN so we should be using V_UNKNOWN, not
V_VARIANTREF(V_R8) to check the type unmarshalled properly.

17 years agomsi: Fix several memory leaks after using IEnumSTATSTG_Next.
Rob Shearman [Wed, 26 Dec 2007 11:02:55 +0000 (11:02 +0000)] 
msi: Fix several memory leaks after using IEnumSTATSTG_Next.

The pwcsName field of STATSTG must be freed, otherwise the memory will
be leaked.

17 years agohlink: Fix memory leak by freeing extension services This->headers in the release...
Rob Shearman [Wed, 26 Dec 2007 11:02:48 +0000 (11:02 +0000)] 
hlink: Fix memory leak by freeing extension services This->headers in the release function.

17 years agouser32: Added the new Vista messages to spy.
Reece H. Dunn [Tue, 25 Dec 2007 02:04:43 +0000 (02:04 +0000)] 
user32: Added the new Vista messages to spy.

17 years agoinclude: Added the new Vista messages.
Reece H. Dunn [Tue, 25 Dec 2007 02:00:28 +0000 (02:00 +0000)] 
include: Added the new Vista messages.

17 years agorpcss: Use context handles to automatically free running object table entries if...
Rob Shearman [Tue, 25 Dec 2007 19:08:25 +0000 (19:08 +0000)] 
rpcss: Use context handles to automatically free running object table entries if the client process quits without calling IrotRevoke.

17 years agowidl: Add support for generating code for out-only context handles by calling NdrCont...
Rob Shearman [Tue, 25 Dec 2007 19:08:21 +0000 (19:08 +0000)] 
widl: Add support for generating code for out-only context handles by calling NdrContextHandleInitialize.

17 years agorpcrt4: Add tests for low-level context handle functions.
Rob Shearman [Tue, 25 Dec 2007 19:08:07 +0000 (19:08 +0000)] 
rpcrt4: Add tests for low-level context handle functions.

17 years agorpcrt4: Implement low-level context handle support.
Rob Shearman [Tue, 25 Dec 2007 19:08:02 +0000 (19:08 +0000)] 
rpcrt4: Implement low-level context handle support.

Server context handles are tracked from associations as their lifetime
is determined by the lifetime of the association.

17 years agorpcrt4: Implement higher-level NDR server context handle functions.
Rob Shearman [Tue, 25 Dec 2007 19:07:49 +0000 (19:07 +0000)] 
rpcrt4: Implement higher-level NDR server context handle functions.

Implement NdrServerContextMarshall and NdrServerContextNewMarshall on
top of NDRSContextMarshall2. Implement NdrContextHandleInitialize,
NdrServerContextUnmarshall and NdrServerContextNewUnmarshall on top of
NDSContextUnmarshall2.

17 years agorpcrt4: Move low-level NDR context handle functions to a separate file.
Rob Shearman [Tue, 25 Dec 2007 19:07:41 +0000 (19:07 +0000)] 
rpcrt4: Move low-level NDR context handle functions to a separate file.

17 years agoinclude: Remove semi-colons from the end of cpp_quote statements as MIDL likes them.
Rob Shearman [Tue, 25 Dec 2007 17:07:07 +0000 (17:07 +0000)] 
include: Remove semi-colons from the end of cpp_quote statements as MIDL likes them.

17 years agowidl: Fix pointer detection in structures and arrays.
Rob Shearman [Tue, 25 Dec 2007 17:06:28 +0000 (17:06 +0000)] 
widl: Fix pointer detection in structures and arrays.

write_embedded_types doesn't descend into all types contained by the
array or structure, so create a new function, type_has_pointers, for the
purpose of descending into all types and returning whether or not
pointers are present.

17 years agowintab32: Fix debug traces to use wine_dbg_sprintf.
Alexandre Julliard [Wed, 26 Dec 2007 12:25:54 +0000 (13:25 +0100)] 
wintab32: Fix debug traces to use wine_dbg_sprintf.

17 years agowintab32: Fix the W->A translation for CSR_NAME and CSR_BTNNAMES.
Jeremy White [Mon, 24 Dec 2007 19:35:32 +0000 (13:35 -0600)] 
wintab32: Fix the W->A translation for CSR_NAME and CSR_BTNNAMES.

Has the lovely side effect of making Photoshop pressure + tilt work.

17 years agowintab32: Capture the number of buttons earlier, allowing our button maps to be fille...
Jeremy White [Mon, 24 Dec 2007 19:35:13 +0000 (13:35 -0600)] 
wintab32: Capture the number of buttons earlier, allowing our button maps to be filled in.

17 years agowintab32: Implement the ability to return the number of devices and cursors.
Jeremy White [Mon, 24 Dec 2007 19:34:46 +0000 (13:34 -0600)] 
wintab32: Implement the ability to return the number of devices and cursors.

17 years agowintab32: Don't return information for non existent cursors.
Jeremy White [Mon, 24 Dec 2007 19:34:34 +0000 (13:34 -0600)] 
wintab32: Don't return information for non existent cursors.

17 years agowintab32: Correctly handle devices with a device id of 0.
Jeremy White [Sun, 23 Dec 2007 16:56:16 +0000 (10:56 -0600)] 
wintab32: Correctly handle devices with a device id of 0.

The XInput macros such as DeviceMotionNotify will correctly return an eventclass of 0
if the device id is 0.  Given that, we cannot use eventclass != 0 as a meaningful
test, and must instead use the returned type.