hidclass.sys: Remove Delim member from struct caps.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2021-06-07 11:06:58 +02:00 committed by Alexandre Julliard
parent 4c6c8c5456
commit 1f0b48abf2
1 changed files with 4 additions and 7 deletions

View File

@ -122,8 +122,6 @@ struct caps {
USHORT Reserved3; USHORT Reserved3;
} NotRange; } NotRange;
} DUMMYUNIONNAME; } DUMMYUNIONNAME;
int Delim;
}; };
struct feature { struct feature {
@ -200,7 +198,7 @@ static void debugstr_caps(const char* type, struct caps *caps)
return; return;
TRACE("(%s Caps: UsagePage 0x%x; LogicalMin %i; LogicalMax %i; PhysicalMin %i; " TRACE("(%s Caps: UsagePage 0x%x; LogicalMin %i; LogicalMax %i; PhysicalMin %i; "
"PhysicalMax %i; UnitsExp %i; Units %i; BitSize %i; ReportID %i; ReportCount %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, type,
caps->UsagePage, caps->UsagePage,
caps->LogicalMin, caps->LogicalMin,
@ -214,8 +212,7 @@ static void debugstr_caps(const char* type, struct caps *caps)
caps->ReportCount, caps->ReportCount,
debugstr_usages(caps), debugstr_usages(caps),
debugstr_stringindex(caps), debugstr_stringindex(caps),
debugstr_designatorindex(caps), debugstr_designatorindex(caps));
caps->Delim);
} }
static void debug_feature(struct feature *feature) 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; caps->IsStringRange = TRUE;
break; break;
case TAG_LOCAL_DELIMITER: case TAG_LOCAL_DELIMITER:
caps->Delim = getValue(bSize, itemVal, FALSE); FIXME("delimiter %d not implemented!\n", itemVal);
break; return -1;
default: default:
ERR("Unknown (bTag: 0x%x, bType: 0x%x)\n", bTag, bType); ERR("Unknown (bTag: 0x%x, bType: 0x%x)\n", bTag, bType);
return -1; return -1;