[HID] Use hidparser static library for HidP_* functions

hid.dll and hidparse.sys must understand the same HID preparsed data,
so use the same code in hid.dll and in hidparse.sys

At the same time, this permis implementation of some HidP_* functions.
This commit is contained in:
Hervé Poussineau 2019-04-27 14:17:10 +02:00
parent 2978d4b61b
commit 7033ab18df
4 changed files with 59 additions and 432 deletions

View file

@ -10,6 +10,11 @@ list(APPEND SOURCE
hidp.c
hidp.h)
add_library(hidparser_um ${SOURCE})
add_importlibs(hidparser_um ntdll)
add_dependencies(hidparser_um bugcodes xdk)
add_pch(hidparser_um parser.h SOURCE)
add_library(hidparser_km ${SOURCE})
add_importlibs(hidparser_km ntoskrnl)
add_dependencies(hidparser_km bugcodes xdk)