1*4049e52eSAmine Khaldi /* 2*4049e52eSAmine Khaldi * Copyright (C) the Wine project 3*4049e52eSAmine Khaldi * 4*4049e52eSAmine Khaldi * This library is free software; you can redistribute it and/or 5*4049e52eSAmine Khaldi * modify it under the terms of the GNU Lesser General Public 6*4049e52eSAmine Khaldi * License as published by the Free Software Foundation; either 7*4049e52eSAmine Khaldi * version 2.1 of the License, or (at your option) any later version. 8*4049e52eSAmine Khaldi * 9*4049e52eSAmine Khaldi * This library is distributed in the hope that it will be useful, 10*4049e52eSAmine Khaldi * but WITHOUT ANY WARRANTY; without even the implied warranty of 11*4049e52eSAmine Khaldi * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12*4049e52eSAmine Khaldi * Lesser General Public License for more details. 13*4049e52eSAmine Khaldi * 14*4049e52eSAmine Khaldi * You should have received a copy of the GNU Lesser General Public 15*4049e52eSAmine Khaldi * License along with this library; if not, write to the Free Software 16*4049e52eSAmine Khaldi * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17*4049e52eSAmine Khaldi */ 18*4049e52eSAmine Khaldi 19*4049e52eSAmine Khaldi #ifndef __WINE_HIDSDI_H 20*4049e52eSAmine Khaldi #define __WINE_HIDSDI_H 21*4049e52eSAmine Khaldi 22*4049e52eSAmine Khaldi #ifndef WINE_NTSTATUS_DECLARED 23*4049e52eSAmine Khaldi #define WINE_NTSTATUS_DECLARED 24*4049e52eSAmine Khaldi typedef LONG NTSTATUS; 25*4049e52eSAmine Khaldi #endif 26*4049e52eSAmine Khaldi 27*4049e52eSAmine Khaldi #include <hidusage.h> 28*4049e52eSAmine Khaldi #include <hidpi.h> 29*4049e52eSAmine Khaldi 30*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); 31*4049e52eSAmine Khaldi void WINAPI HidD_GetHidGuid(LPGUID guid); 32*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetInputReport(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); 33*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetManufacturerString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength); 34*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetNumInputBuffers(HANDLE HidDeviceObject, ULONG *NumberBuffers); 35*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetProductString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength); 36*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetSerialNumberString(HANDLE HidDeviceObject, PVOID Buffer, ULONG BufferLength); 37*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength); 38*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_SetNumInputBuffers(HANDLE HidDeviceObject, ULONG NumberBuffers); 39*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetPreparsedData( HANDLE HidDeviceObject, PHIDP_PREPARSED_DATA *PreparsedData); 40*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_FreePreparsedData(PHIDP_PREPARSED_DATA PreparsedData); 41*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_GetAttributes(HANDLE HidDeviceObject, PHIDD_ATTRIBUTES Attr); 42*4049e52eSAmine Khaldi BOOLEAN WINAPI HidD_SetOutputReport(HANDLE HidDeviceObject, void *ReportBuffer, ULONG ReportBufferLength); 43*4049e52eSAmine Khaldi 44*4049e52eSAmine Khaldi #endif /* __WINE_HIDSDI_H */ 45