2007-02-06 09:19:40 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) the Wine project
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_HIDSDI_H
|
|
|
|
#define __WINE_HIDSDI_H
|
|
|
|
|
|
|
|
#ifndef WINE_NTSTATUS_DECLARED
|
|
|
|
#define WINE_NTSTATUS_DECLARED
|
|
|
|
typedef LONG NTSTATUS;
|
|
|
|
#endif
|
|
|
|
|
2016-10-17 13:58:24 +00:00
|
|
|
#include <hidusage.h>
|
|
|
|
#include <ddk/hidpi.h>
|
|
|
|
|
2015-06-30 12:40:27 +00:00
|
|
|
typedef struct _HIDD_ATTRIBUTES {
|
|
|
|
ULONG Size;
|
|
|
|
USHORT VendorID;
|
|
|
|
USHORT ProductID;
|
|
|
|
USHORT VersionNumber;
|
|
|
|
} HIDD_ATTRIBUTES, *PHIDD_ATTRIBUTES;
|
|
|
|
|
2009-02-23 10:25:19 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
2007-02-06 09:19:40 +00:00
|
|
|
void WINAPI HidD_GetHidGuid(LPGUID guid);
|
2015-06-30 12:40:22 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetInputReport(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
2013-04-03 16:09:21 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
2017-01-25 13:04:20 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetNumInputBuffers(HANDLE HidDeviceObject, ULONG *NumberBuffers);
|
2014-07-31 18:59:16 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
2016-02-29 19:22:09 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetSerialNumberString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength);
|
2009-02-23 10:25:25 +00:00
|
|
|
BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength);
|
2016-04-05 13:41:19 +00:00
|
|
|
BOOLEAN WINAPI HidD_SetNumInputBuffers(HANDLE HidDeviceObject, ULONG NumberBuffers);
|
2015-06-30 12:40:13 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetPreparsedData( HANDLE HidDeviceObject, PHIDP_PREPARSED_DATA *PreparsedData);
|
|
|
|
BOOLEAN WINAPI HidD_FreePreparsedData(PHIDP_PREPARSED_DATA PreparsedData);
|
2015-06-30 12:40:27 +00:00
|
|
|
BOOLEAN WINAPI HidD_GetAttributes(HANDLE HidDeviceObject, PHIDD_ATTRIBUTES Attr);
|
2016-10-26 17:46:12 +00:00
|
|
|
BOOLEAN WINAPI HidD_SetOutputReport(HANDLE HidDeviceObject, void *ReportBuffer, ULONG ReportBufferLength);
|
2007-02-06 09:19:40 +00:00
|
|
|
|
|
|
|
#endif /* __WINE_HIDSDI_H */
|