|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <wdm.h>#include <hidpddi.h>#include "hidparser.h"#include "hidp.h"#include <pshpack1.h>#include <poppack.h>

Go to the source code of this file.
Classes | |
| struct | ITEM_PREFIX |
| struct | SHORT_ITEM |
| struct | LONG_ITEM |
| struct | MAIN_ITEM_DATA |
| struct | __GLOBAL_ITEM_STATE_ |
| struct | usage_value |
| struct | LOCAL_ITEM_STATE |
| struct | HID_REPORT_ITEM |
| struct | __HID_COLLECTION__ |
| struct | _HID_REPORT |
| struct | HID_PARSER_CONTEXT |
Typedefs | |
| typedef struct ITEM_PREFIX * | PITEM_PREFIX |
| typedef struct SHORT_ITEM * | PSHORT_ITEM |
| typedef struct LONG_ITEM * | PLONG_ITEM |
| typedef struct MAIN_ITEM_DATA * | PMAIN_ITEM_DATA |
| typedef struct __GLOBAL_ITEM_STATE_ | GLOBAL_ITEM_STATE |
| typedef struct __GLOBAL_ITEM_STATE_ * | PGLOBAL_ITEM_STATE |
| typedef struct usage_value | USAGE_VALUE |
| typedef struct usage_value * | PUSAGE_VALUE |
| typedef struct LOCAL_ITEM_STATE * | PLOCAL_ITEM_STATE |
| typedef struct HID_REPORT_ITEM * | PHID_REPORT_ITEM |
| typedef struct __HID_COLLECTION__ | HID_COLLECTION |
| typedef struct __HID_COLLECTION__ * | PHID_COLLECTION |
| typedef struct _HID_REPORT | HID_REPORT |
| typedef struct _HID_REPORT * | PHID_REPORT |
| typedef struct HID_PARSER_CONTEXT * | PHID_PARSER_CONTEXT |
| typedef struct __HID_COLLECTION__ HID_COLLECTION |
| typedef struct _HID_REPORT HID_REPORT |
| typedef struct __GLOBAL_ITEM_STATE_ * PGLOBAL_ITEM_STATE |
| typedef struct __HID_COLLECTION__ * PHID_COLLECTION |
| typedef struct HID_PARSER_CONTEXT * PHID_PARSER_CONTEXT |
| typedef struct _HID_REPORT * PHID_REPORT |
| typedef struct HID_REPORT_ITEM * PHID_REPORT_ITEM |
| typedef struct ITEM_PREFIX * PITEM_PREFIX |
| typedef struct LOCAL_ITEM_STATE * PLOCAL_ITEM_STATE |
| typedef struct LONG_ITEM* PLONG_ITEM |
| typedef struct MAIN_ITEM_DATA * PMAIN_ITEM_DATA |
| typedef struct SHORT_ITEM * PSHORT_ITEM |
| typedef struct usage_value * PUSAGE_VALUE |
| typedef struct usage_value USAGE_VALUE |
| NTSTATUS HidParser_BuildCollectionContext | ( | IN PHID_COLLECTION | RootCollection, |
| IN PVOID | Context, | ||
| IN ULONG | ContextSize | ||
| ) |
Definition at line 185 of file context.c.
Referenced by HidParser_BuildContext().
| NTSTATUS HidParser_BuildContext | ( | IN PVOID | ParserContext, |
| IN ULONG | CollectionIndex, | ||
| IN ULONG | ContextSize, | ||
| OUT PVOID * | CollectionContext | ||
| ) |
Definition at line 1303 of file parser.c.
Referenced by HidParser_GetCollectionDescription().
| ULONG HidParser_CalculateContextSize | ( | IN PHID_COLLECTION | Collection | ) |
Definition at line 65 of file context.c.
Referenced by HidParser_GetContextSize().
| PHID_COLLECTION HidParser_GetCollectionFromContext | ( | IN PVOID | Context | ) |
Definition at line 290 of file context.c.
Referenced by HidParser_GetCollectionUsagePage().
| NTSTATUS HidParser_GetCollectionUsagePage | ( | IN PVOID | CollectionContext, |
| OUT PUSHORT | Usage, | ||
| OUT PUSHORT | UsagePage | ||
| ) |
Definition at line 65 of file api.c.
Referenced by HidParser_GetCaps(), and HidParser_GetCollectionDescription().
Definition at line 1351 of file parser.c.
Referenced by HidParser_GetCollectionDescription().
| ULONG HidParser_GetMaxUsageListLengthWithReportAndPage | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType, | ||
| IN USAGE UsagePage | OPTIONAL | ||
| ) |
Definition at line 210 of file api.c.
Referenced by HidParser_MaxUsageListLength().
| PHID_REPORT HidParser_GetReportInCollection | ( | IN PVOID | Context, |
| IN UCHAR | ReportType | ||
| ) |
Definition at line 277 of file context.c.
Referenced by HidParser_GetMaxUsageListLengthWithReportAndPage(), HidParser_GetReportItemCountFromReportType(), HidParser_GetReportItemTypeCountFromReportType(), HidParser_GetReportLength(), HidParser_GetScaledUsageValueWithReport(), HidParser_GetSpecificValueCapsWithReport(), HidParser_GetUsagesWithReport(), HidParser_GetUsageValueWithReport(), and HidParser_UsesReportId().
| ULONG HidParser_GetReportItemCountFromReportType | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType | ||
| ) |
Definition at line 132 of file api.c.
Referenced by HidParser_GetCaps().
| ULONG HidParser_GetReportItemTypeCountFromReportType | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType, | ||
| IN ULONG | bData | ||
| ) |
Definition at line 158 of file api.c.
Referenced by HidParser_GetCaps().
Definition at line 93 of file api.c.
Referenced by HidParser_GetCaps(), and HidParser_GetCollectionDescription().
| NTSTATUS HidParser_GetScaledUsageValueWithReport | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType, | ||
| IN USAGE | UsagePage, | ||
| IN USAGE | Usage, | ||
| OUT PLONG | UsageValue, | ||
| IN PCHAR | ReportDescriptor, | ||
| IN ULONG | ReportDescriptorLength | ||
| ) |
Definition at line 646 of file api.c.
Referenced by HidParser_GetScaledUsageValue().
| NTSTATUS HidParser_GetSpecificValueCapsWithReport | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType, | ||
| IN USHORT | UsagePage, | ||
| IN USHORT | Usage, | ||
| OUT PHIDP_VALUE_CAPS | ValueCaps, | ||
| IN OUT PUSHORT | ValueCapsLength | ||
| ) |
Definition at line 254 of file api.c.
Referenced by HidParser_GetSpecificValueCaps().
Definition at line 330 of file context.c.
Referenced by HidParser_GetCaps().
| NTSTATUS HidParser_GetUsagesWithReport | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType, | ||
| IN USAGE | UsagePage, | ||
| OUT USAGE * | UsageList, | ||
| IN OUT PULONG | UsageLength, | ||
| IN PCHAR | ReportDescriptor, | ||
| IN ULONG | ReportDescriptorLength | ||
| ) |
Definition at line 343 of file api.c.
Referenced by HidParser_GetUsages().
| NTSTATUS HidParser_GetUsageValueWithReport | ( | IN PVOID | CollectionContext, |
| IN UCHAR | ReportType, | ||
| IN USAGE | UsagePage, | ||
| IN USAGE | Usage, | ||
| OUT PULONG | UsageValue, | ||
| IN PCHAR | ReportDescriptor, | ||
| IN ULONG | ReportDescriptorLength | ||
| ) |
Definition at line 550 of file api.c.
Referenced by HidParser_GetUsageValue().
Definition at line 1279 of file parser.c.
Referenced by HidParser_GetCollectionDescription().
| NTSTATUS HidParser_ParseReportDescriptor | ( | PUCHAR | Report, |
| ULONG | ReportSize, | ||
| OUT PVOID * | ParserContext | ||
| ) |
Definition at line 524 of file api.c.
Referenced by HidParser_GetCollectionDescription().