user: add GetRawInputDeviceList stub (try 2)

Mike McCormack mike at codeweavers.com
Tue Oct 17 04:40:42 CDT 2006


Thanks for sending the patch!

L. Rahyen wrote:

> +UINT WINAPI GetRawInputDeviceList(PRAWINPUTDEVICELIST pRawInputDeviceList, PUINT puiNumDevices, UINT cbSize)
> +{
> +    pRawInputDeviceList = NULL;

That doesn't do what you think it does.  You probably want:

memset( pRawInputDeviceList, 0, sizeof *pRawInputDeviceList );

> --- include/winuser.h	2006-10-16 02:17:42.000000000 +0000
> +++ include/winuser.h	2006-10-16 03:20:50.000000000 +0000

Please send the header change in a separate patch.

Mike




More information about the wine-devel mailing list