Rémi Bernon : hidclass.sys: Remove Delim member from struct caps.

Alexandre Julliard julliard at winehq.org
Mon Jun 7 16:30:36 CDT 2021


Module: wine
Branch: master
Commit: 1f0b48abf23741c3c7b23931dce7acb351937701
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1f0b48abf23741c3c7b23931dce7acb351937701

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Mon Jun  7 11:06:58 2021 +0200

hidclass.sys: Remove Delim member from struct caps.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list