hidclass: Properly NULL terminate device_deviceid_fmtW.
Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4616954a9d
commit
0e6d749a0e
|
@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(hid);
|
||||||
static const WCHAR device_enumeratorW[] = {'H','I','D',0};
|
static const WCHAR device_enumeratorW[] = {'H','I','D',0};
|
||||||
static const WCHAR separator_W[] = {'\\',0};
|
static const WCHAR separator_W[] = {'\\',0};
|
||||||
static const WCHAR device_deviceid_fmtW[] = {'%','s','\\',
|
static const WCHAR device_deviceid_fmtW[] = {'%','s','\\',
|
||||||
'v','i','d','_','%','0','4','x','&','p','i','d','_','%', '0','4','x'};
|
'v','i','d','_','%','0','4','x','&','p','i','d','_','%', '0','4','x',0};
|
||||||
|
|
||||||
static NTSTATUS WINAPI internalComplete(DEVICE_OBJECT *deviceObject, IRP *irp,
|
static NTSTATUS WINAPI internalComplete(DEVICE_OBJECT *deviceObject, IRP *irp,
|
||||||
void *context)
|
void *context)
|
||||||
|
|
Loading…
Reference in New Issue