dmime/tests: Remove some duplicated tests.
[wine.git] / include / ddk / hidpddi.h
blob87e68e31869fc853c2fca1606d2d279044357127
1 /*
2 * Copyright (C) the Wine project
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_HIDPDDI_H
20 #define __WINE_HIDPDDI_H
22 #include <hidusage.h>
23 #include <ddk/hidpi.h>
25 typedef struct _HIDP_COLLECTION_DESC
27 USAGE UsagePage;
28 USAGE Usage;
29 UCHAR CollectionNumber;
30 UCHAR Reserved[15];
31 USHORT InputLength;
32 USHORT OutputLength;
33 USHORT FeatureLength;
34 USHORT PreparsedDataLength;
35 PHIDP_PREPARSED_DATA PreparsedData;
36 } HIDP_COLLECTION_DESC, *PHIDP_COLLECTION_DESC;
38 typedef struct _HIDP_REPORT_IDS
40 UCHAR ReportID;
41 UCHAR CollectionNumber;
42 USHORT InputLength;
43 USHORT OutputLength;
44 USHORT FeatureLength;
45 } HIDP_REPORT_IDS, *PHIDP_REPORT_IDS;
47 typedef struct _HIDP_GETCOLDESC_DBG
49 ULONG BreakOffset;
50 ULONG ErrorCode;
51 ULONG Args[6];
52 } HIDP_GETCOLDESC_DBG, *PHIDP_GETCOLDESC_DBG;
54 typedef struct _HIDP_DEVICE_DESC
56 HIDP_COLLECTION_DESC *CollectionDesc;
57 ULONG CollectionDescLength;
59 HIDP_REPORT_IDS *ReportIDs;
60 ULONG ReportIDsLength;
62 HIDP_GETCOLDESC_DBG Dbg;
63 } HIDP_DEVICE_DESC, *PHIDP_DEVICE_DESC;
65 NTSTATUS WINAPI HidP_GetCollectionDescription(PHIDP_REPORT_DESCRIPTOR report_desc, ULONG report_desc_len,
66 POOL_TYPE pool_type, HIDP_DEVICE_DESC *device_desc);
67 void WINAPI HidP_FreeCollectionDescription(HIDP_DEVICE_DESC *device_desc);
69 #endif /* __WINE_HIDPDDI_H */