[PATCH 3/6] hidclass.sys: Remove Delim member from struct caps.
Rémi Bernon
rbernon at codeweavers.com
Mon Jun 7 04:06:58 CDT 2021
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/hidclass.sys/descriptor.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/dlls/hidclass.sys/descriptor.c b/dlls/hidclass.sys/descriptor.c
index 0e0d6a6bf54..ec559f67f5f 100644
--- a/dlls/hidclass.sys/descriptor.c
+++ b/dlls/hidclass.sys/descriptor.c
@@ -122,8 +122,6 @@ struct caps {
USHORT Reserved3;
} NotRange;
} DUMMYUNIONNAME;
-
- int Delim;
};
struct feature {
@@ -200,7 +198,7 @@ static void debugstr_caps(const char* type, struct caps *caps)
return;
TRACE("(%s Caps: UsagePage 0x%x; LogicalMin %i; LogicalMax %i; PhysicalMin %i; "
"PhysicalMax %i; UnitsExp %i; Units %i; BitSize %i; ReportID %i; ReportCount %i; "
- "Usage %s; StringIndex %s; DesignatorIndex %s; Delim %i;)\n",
+ "Usage %s; StringIndex %s; DesignatorIndex %s;)\n",
type,
caps->UsagePage,
caps->LogicalMin,
@@ -214,8 +212,7 @@ static void debugstr_caps(const char* type, struct caps *caps)
caps->ReportCount,
debugstr_usages(caps),
debugstr_stringindex(caps),
- debugstr_designatorindex(caps),
- caps->Delim);
+ debugstr_designatorindex(caps));
}
static void debug_feature(struct feature *feature)
@@ -681,8 +678,8 @@ static int parse_descriptor(BYTE *descriptor, unsigned int index, unsigned int l
caps->IsStringRange = TRUE;
break;
case TAG_LOCAL_DELIMITER:
- caps->Delim = getValue(bSize, itemVal, FALSE);
- break;
+ FIXME("delimiter %d not implemented!\n", itemVal);
+ return -1;
default:
ERR("Unknown (bTag: 0x%x, bType: 0x%x)\n", bTag, bType);
return -1;
--
2.31.0
More information about the wine-devel
mailing list