Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / include / ddk / hidsdi.h
blobeee6a9611d44f2d1f86eab63e1edbbca1f5dc287
1 /*
2 * hidsdi.h
4 * This file is part of the w32api package.
6 * THIS SOFTWARE IS NOT COPYRIGHTED
8 * This source code is offered for use in the public domain. You may
9 * use, modify or distribute it freely.
11 * This code is distributed in the hope that it will be useful but
12 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
13 * DISCLAIMED. This includes but is not limited to warranties of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 #ifndef _HIDSDI_H
18 #define _HIDSDI_H
20 #if __GNUC__ >= 3
21 #pragma GCC system_header
22 #endif
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 #include <ddk/hidusage.h>
29 #include <ddk/hidpi.h>
31 #ifndef WINHIDSDI
32 #define WINHIDSDI DECLSPEC_IMPORT
33 #endif
35 #include <pshpack4.h>
37 typedef struct _HIDD_CONFIGURATION {
38 PVOID cookie;
39 ULONG size;
40 ULONG RingBufferSize;
41 } HIDD_CONFIGURATION, *PHIDD_CONFIGURATION;
43 typedef struct _HIDD_ATTRIBUTES {
44 ULONG Size;
45 USHORT VendorID;
46 USHORT ProductID;
47 USHORT VersionNumber;
48 } HIDD_ATTRIBUTES, *PHIDD_ATTRIBUTES;
50 WINHIDSDI BOOL WINAPI HidD_GetAttributes (HANDLE, PHIDD_ATTRIBUTES);
51 WINHIDSDI VOID WINAPI HidD_GetHidGuid (LPGUID);
52 WINHIDSDI BOOL WINAPI HidD_GetPreparsedData(HANDLE, PHIDP_PREPARSED_DATA *);
53 WINHIDSDI BOOL WINAPI HidD_FreePreparsedData(PHIDP_PREPARSED_DATA);
54 WINHIDSDI BOOL WINAPI HidD_FlushQueue (HANDLE);
55 WINHIDSDI BOOL WINAPI HidD_GetConfiguration (HANDLE, PHIDD_CONFIGURATION, ULONG);
56 WINHIDSDI BOOL WINAPI HidD_SetConfiguration (HANDLE, PHIDD_CONFIGURATION, ULONG);
57 WINHIDSDI BOOL WINAPI HidD_GetFeature (HANDLE, PVOID, ULONG);
58 WINHIDSDI BOOL WINAPI HidD_SetFeature (HANDLE, PVOID, ULONG);
59 WINHIDSDI BOOL WINAPI HidD_GetNumInputBuffers (HANDLE, PULONG);
60 WINHIDSDI BOOL WINAPI HidD_SetNumInputBuffers (HANDLE HidDeviceObject, ULONG);
61 WINHIDSDI BOOL WINAPI HidD_GetPhysicalDescriptor (HANDLE, PVOID, ULONG);
62 WINHIDSDI BOOL WINAPI HidD_GetManufacturerString (HANDLE, PVOID, ULONG);
63 WINHIDSDI BOOL WINAPI HidD_GetProductString ( HANDLE, PVOID, ULONG);
64 WINHIDSDI BOOL WINAPI HidD_GetIndexedString ( HANDLE, ULONG, PVOID, ULONG);
65 WINHIDSDI BOOL WINAPI HidD_GetSerialNumberString (HANDLE, PVOID, ULONG);
67 #include <poppack.h>
69 #ifdef __cplusplus
71 #endif
73 #endif /* _HIDSDI_H */