C# Class HidLibrary.NativeMethods

Mostra file Open project: kg/DS4_PSO2 Class Usage Examples

Private Methods

Method Description
CancelIo ( IntPtr hFile ) : bool
CancelIoEx ( IntPtr hFile, IntPtr lpOverlapped ) : bool
CancelSynchronousIo ( IntPtr hObject ) : bool
CloseHandle ( IntPtr hObject ) : bool
CreateEvent ( SECURITY_ATTRIBUTES &securityAttributes, int bManualReset, int bInitialState, string lpName ) : IntPtr
CreateFile ( string lpFileName, uint dwDesiredAccess, int dwShareMode, SECURITY_ATTRIBUTES &lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile ) : IntPtr
CreateFile ( String lpFileName, UInt32 dwDesiredAccess, Int32 dwShareMode, IntPtr lpSecurityAttributes, Int32 dwCreationDisposition, Int32 dwFlagsAndAttributes, Int32 hTemplateFile ) : SafeFileHandle
HidD_FlushQueue ( IntPtr hidDeviceObject ) : bool
HidD_FlushQueue ( SafeFileHandle hidDeviceObject ) : bool
HidD_FreePreparsedData ( IntPtr preparsedData ) : bool
HidD_GetAttributes ( IntPtr hidDeviceObject, HIDD_ATTRIBUTES &attributes ) : bool
HidD_GetFeature ( IntPtr hidDeviceObject, byte lpReportBuffer, int reportBufferLength ) : bool
HidD_GetHidGuid ( System.Guid &hidGuid ) : void
HidD_GetInputReport ( SafeFileHandle HidDeviceObject, Byte lpReportBuffer, Int32 ReportBufferLength ) : System.Boolean
HidD_GetNumInputBuffers ( IntPtr hidDeviceObject, int &numberBuffers ) : bool
HidD_GetPreparsedData ( IntPtr hidDeviceObject, IntPtr &preparsedData ) : bool
HidD_SetFeature ( IntPtr hidDeviceObject, byte lpReportBuffer, int reportBufferLength ) : bool
HidD_SetFeature ( SafeFileHandle hidDeviceObject, byte lpReportBuffer, int reportBufferLength ) : bool
HidD_SetNumInputBuffers ( IntPtr hidDeviceObject, int numberBuffers ) : bool
HidD_SetOutputReport ( IntPtr hidDeviceObject, byte lpReportBuffer, int reportBufferLength ) : bool
HidD_SetOutputReport ( SafeFileHandle hidDeviceObject, byte lpReportBuffer, int reportBufferLength ) : bool
HidP_GetCaps ( IntPtr preparsedData, HIDP_CAPS &capabilities ) : int
HidP_GetValueCaps ( short reportType, byte &valueCaps, short &valueCapsLength, IntPtr preparsedData ) : int
ReadFile ( IntPtr hFile, [ lpBuffer, uint nNumberOfBytesToRead, uint &lpNumberOfBytesRead, IntPtr lpOverlapped ) : bool
RegisterDeviceNotification ( IntPtr hRecipient, IntPtr notificationFilter, Int32 flags ) : IntPtr
SetupDiCreateDeviceInfoList ( System.Guid &classGuid, int hwndParent ) : int
SetupDiDestroyDeviceInfoList ( IntPtr deviceInfoSet ) : int
SetupDiEnumDeviceInfo ( IntPtr deviceInfoSet, int memberIndex, SP_DEVINFO_DATA &deviceInfoData ) : bool
SetupDiEnumDeviceInterfaces ( IntPtr deviceInfoSet, SP_DEVINFO_DATA &deviceInfoData, System.Guid &interfaceClassGuid, int memberIndex, SP_DEVICE_INTERFACE_DATA &deviceInterfaceData ) : bool
SetupDiGetClassDevs ( System &classGuid, string enumerator, int hwndParent, int flags ) : IntPtr
SetupDiGetDeviceInterfaceDetail ( IntPtr deviceInfoSet, SP_DEVICE_INTERFACE_DATA &deviceInterfaceData, SP_DEVICE_INTERFACE_DETAIL_DATA &deviceInterfaceDetailData, int deviceInterfaceDetailDataSize, int &requiredSize, IntPtr deviceInfoData ) : bool
SetupDiGetDeviceInterfaceDetailBuffer ( IntPtr deviceInfoSet, SP_DEVICE_INTERFACE_DATA &deviceInterfaceData, IntPtr deviceInterfaceDetailData, int deviceInterfaceDetailDataSize, int &requiredSize, IntPtr deviceInfoData ) : bool
SetupDiGetDeviceProperty ( IntPtr deviceInfo, SP_DEVINFO_DATA &deviceInfoData, DEVPROPKEY &propkey, ulong &propertyDataType, byte propertyBuffer, int propertyBufferSize, int &requiredSize, uint flags ) : bool
SetupDiGetDeviceRegistryProperty ( IntPtr deviceInfoSet, SP_DEVINFO_DATA &deviceInfoData, int propertyVal, int &propertyRegDataType, byte propertyBuffer, int propertyBufferSize, int &requiredSize ) : bool
UnregisterDeviceNotification ( IntPtr handle ) : bool
WaitForSingleObject ( IntPtr hHandle, int dwMilliseconds ) : uint
WriteFile ( IntPtr hFile, byte lpBuffer, uint nNumberOfBytesToWrite, uint &lpNumberOfBytesWritten, [ lpOverlapped ) : bool