hidclass.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bae687ec6b
commit
b83f97dffc
|
@ -192,8 +192,8 @@ static void create_child(minidriver *minidriver, DEVICE_OBJECT *fdo)
|
||||||
{
|
{
|
||||||
BASE_DEVICE_EXTENSION *fdo_ext = fdo->DeviceExtension, *pdo_ext;
|
BASE_DEVICE_EXTENSION *fdo_ext = fdo->DeviceExtension, *pdo_ext;
|
||||||
HID_DEVICE_ATTRIBUTES attr = {0};
|
HID_DEVICE_ATTRIBUTES attr = {0};
|
||||||
|
HID_DESCRIPTOR descriptor = {0};
|
||||||
HIDP_COLLECTION_DESC *desc;
|
HIDP_COLLECTION_DESC *desc;
|
||||||
HID_DESCRIPTOR descriptor;
|
|
||||||
DEVICE_OBJECT *child_pdo;
|
DEVICE_OBJECT *child_pdo;
|
||||||
BYTE *reportDescriptor;
|
BYTE *reportDescriptor;
|
||||||
UNICODE_STRING string;
|
UNICODE_STRING string;
|
||||||
|
|
Loading…
Reference in New Issue