Module ImportFrom alias Import alias ImportFrom alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias ImportFrom alias Import alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Str body Assign NameStore Num orelse Assign NameStore Num ClassDef bases NameLoad body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str BinOpMult NameLoad Num decorator_list ClassDef bases NameLoad body ClassDef bases NameLoad body ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str Call NameLoad NameLoad TupleLoad Str Call NameLoad NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str BinOpMult NameLoad Num FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str Call NameLoad NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad ClassDef bases body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str BinOpMult NameLoad Num TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body ClassDef bases NameLoad body ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str BinOpMult NameLoad Num TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body ClassDef bases NameLoad body ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str BinOpMult NameLoad Num TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Return BinOpBitAnd BinOpBitOr BinOpBitOr BinOpLShift NameLoad Num BinOpLShift NameLoad Num NameLoad Num decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body AugAssignBitAnd NameStore Num Assign AttributeStore NameLoad attr NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Num While Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad body Expr Yield NameLoad AugAssignAdd NameStore Num Delete NameDel decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Num Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list
N/A __future__ absolute_import N/A ctypes ctypes Structure Union c_ubyte c_long c_ulong c_ushort c_wchar c_void_p c_uint ctypes byref POINTER sizeof ctypes.wintypes ULONG BOOLEAN BYTE WORD DWORD HANDLE BOOL WCHAR LPWSTR LPCWSTR N/A helpers N/A platform N/A UCHAR c_ubyte N/A ENUM c_uint N/A TCHAR WCHAR N/A N/A N/A N/A N/A N/A platform architecture N/A 0 startswith 64 N/A N/A WIN_PACK 8 N/A N/A WIN_PACK 1 WinApiException N/A Exception N/A N/A Rough Windows API exception type N/A N/A winapi_result N/A N/A result N/A N/A N/A Validate WINAPI BOOL result, raise exception if failed N/A N/A result N/A N/A N/A WinApiException N/A %d (%x): %s N/A N/A N/A ctypes GetLastError N/A N/A ctypes GetLastError N/A N/A ctypes FormatError N/A result N/A N/A setup_api N/A N/A ctypes windll setupapi N/A hid_dll N/A N/A ctypes windll hid N/A kernel32 N/A N/A ctypes windll kernel32 N/A ReadFile N/A kernel32 ReadFile N/A CancelIo N/A kernel32 CancelIo N/A WriteFile N/A kernel32 WriteFile N/A CloseHandle N/A kernel32 CloseHandle N/A N/A CloseHandle restype BOOL N/A N/A CloseHandle argtypes N/A HANDLE N/A SetEvent N/A kernel32 SetEvent N/A WaitForSingleObject N/A kernel32 WaitForSingleObject N/A c_tchar c_wchar N/A CreateFile N/A kernel32 CreateFileW N/A CreateEvent N/A kernel32 CreateEventW N/A CM_Get_Device_ID N/A setup_api CM_Get_Device_IDW N/A b_verbose True N/A usb_verbose False GUID N/A Structure N/A N/A GUID Windows OS structure N/A _pack_ 1 N/A _fields_ N/A N/A data1 DWORD N/A data2 WORD N/A data3 WORD N/A data4 N/A BYTE 8 N/A OVERLAPPED N/A Structure N/A OFFSET_OR_HANDLE N/A Union N/A OFFSET N/A Structure N/A N/A _fields_ N/A N/A offset DWORD N/A offset_high DWORD N/A N/A _fields_ N/A N/A offset OFFSET N/A pointer c_void_p N/A N/A _fields_ N/A N/A internal N/A POINTER ULONG N/A internal_high N/A POINTER ULONG N/A u OFFSET_OR_HANDLE N/A h_event HANDLE N/A SP_DEVICE_INTERFACE_DATA N/A Structure N/A N/A 
    typedef struct _SP_DEVICE_INTERFACE_DATA {
      DWORD     cbSize;
      GUID      InterfaceClassGuid;
      DWORD     Flags;
      ULONG_PTR Reserved;
    } SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA;
     N/A _pack_ WIN_PACK N/A _fields_ N/A N/A cb_size DWORD N/A interface_class_guid GUID N/A flags DWORD N/A reserved N/A POINTER ULONG N/A SP_DEVICE_INTERFACE_DETAIL_DATA N/A Structure N/A N/A 
    typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA {
      DWORD cbSize;
      TCHAR DevicePath[ANYSIZE_ARRAY];
    } SP_DEVICE_INTERFACE_DETAIL_DATA, *PSP_DEVICE_INTERFACE_DETAIL_DATA;
     N/A _pack_ WIN_PACK N/A _fields_ N/A N/A cb_size DWORD N/A device_path N/A TCHAR 1 get_string N/A N/A self N/A N/A N/A Retreive stored string N/A N/A N/A ctypes wstring_at N/A byref self N/A sizeof DWORD N/A N/A SP_DEVINFO_DATA N/A Structure N/A N/A 
    typedef struct _SP_DEVINFO_DATA {
      DWORD     cbSize;
      GUID      ClassGuid;
      DWORD     DevInst;
      ULONG_PTR Reserved;
    } SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
     N/A _pack_ WIN_PACK N/A _fields_ N/A N/A cb_size DWORD N/A class_guid GUID N/A dev_inst DWORD N/A reserved N/A POINTER ULONG N/A N/A SetupDiGetDeviceInterfaceDetail N/A setup_api SetupDiGetDeviceInterfaceDetailW N/A N/A SetupDiGetDeviceInterfaceDetail restype BOOL N/A N/A SetupDiGetDeviceInterfaceDetail argtypes N/A HANDLE N/A POINTER SP_DEVICE_INTERFACE_DATA N/A POINTER SP_DEVICE_INTERFACE_DETAIL_DATA DWORD N/A POINTER DWORD N/A POINTER SP_DEVINFO_DATA N/A SetupDiGetDeviceInstanceId N/A setup_api SetupDiGetDeviceInstanceIdW N/A N/A SetupDiGetDeviceInstanceId restype BOOL N/A N/A SetupDiGetDeviceInstanceId argtypes N/A HANDLE N/A POINTER SP_DEVINFO_DATA LPWSTR DWORD N/A POINTER DWORD N/A SetupDiGetClassDevs N/A setup_api SetupDiGetClassDevsW N/A N/A SetupDiGetClassDevs restype HANDLE N/A N/A SetupDiGetClassDevs argtypes N/A N/A POINTER GUID LPCWSTR HANDLE DWORD N/A SetupDiGetDeviceRegistryProperty N/A setup_api SetupDiGetDeviceRegistryPropertyW N/A N/A SetupDiGetDeviceRegistryProperty restype BOOL N/A N/A SetupDiGetDeviceRegistryProperty argtypes N/A HANDLE N/A POINTER SP_DEVINFO_DATA DWORD N/A POINTER DWORD N/A POINTER BYTE DWORD N/A POINTER DWORD N/A SetupDiDestroyDeviceInfoList N/A setup_api SetupDiDestroyDeviceInfoList N/A N/A SetupDiDestroyDeviceInfoList restype BOOL N/A N/A SetupDiDestroyDeviceInfoList argtypes N/A HANDLE N/A SetupDiEnumDeviceInterfaces N/A setup_api SetupDiEnumDeviceInterfaces N/A N/A SetupDiEnumDeviceInterfaces restype BOOL N/A N/A SetupDiEnumDeviceInterfaces argtypes N/A HANDLE N/A POINTER SP_DEVINFO_DATA N/A POINTER GUID DWORD N/A POINTER SP_DEVICE_INTERFACE_DATA DIGCF N/A N/A N/A 
    Flags controlling what is included in the device information set built
    by SetupDiGetClassDevs
     N/A DEFAULT 1 N/A PRESENT 2 N/A ALLCLASSES 4 N/A PROFILE 8 N/A DEVICEINTERFACE 16 N/A HIDD_ATTRIBUTES N/A Structure N/A N/A _fields_ N/A N/A cb_size DWORD N/A vendor_id c_ushort N/A product_id c_ushort N/A version_number c_ushort N/A HIDP_CAPS N/A Structure N/A N/A _fields_ N/A N/A usage c_ushort N/A usage_page c_ushort N/A input_report_byte_length c_ushort N/A output_report_byte_length c_ushort N/A feature_report_byte_length c_ushort N/A reserved N/A c_ushort 17 N/A number_link_collection_nodes c_ushort N/A number_input_button_caps c_ushort N/A number_input_value_caps c_ushort N/A number_input_data_indices c_ushort N/A number_output_button_caps c_ushort N/A number_output_value_caps c_ushort N/A number_output_data_indices c_ushort N/A number_feature_button_caps c_ushort N/A number_feature_value_caps c_ushort N/A number_feature_data_indices c_ushort N/A HIDP_BUTTON_CAPS N/A Structure N/A RANGE_NOT_RANGE N/A Union N/A RANGE N/A Structure N/A N/A _fields_ N/A N/A usage_min c_ushort N/A usage_max c_ushort N/A string_min c_ushort N/A string_max c_ushort N/A designator_min c_ushort N/A designator_max c_ushort N/A data_index_min c_ushort N/A data_index_max c_ushort N/A NOT_RANGE N/A Structure N/A N/A _fields_ N/A N/A usage c_ushort N/A reserved1 c_ushort N/A string_index c_ushort N/A reserved2 c_ushort N/A designator_index c_ushort N/A reserved3 c_ushort N/A data_index c_ushort N/A reserved4 c_ushort N/A N/A _fields_ N/A N/A range RANGE N/A not_range NOT_RANGE N/A N/A _fields_ N/A N/A usage_page c_ushort N/A report_id c_ubyte N/A is_alias BOOLEAN N/A bit_field c_ushort N/A link_collection c_ushort N/A link_usage c_ushort N/A link_usage_page c_ushort N/A is_range BOOLEAN N/A is_string_range BOOLEAN N/A is_designator_range BOOLEAN N/A is_absolute BOOLEAN N/A reserved N/A c_ulong 10 N/A union RANGE_NOT_RANGE N/A HIDP_VALUE_CAPS N/A Structure N/A RANGE_NOT_RANGE N/A Union N/A RANGE N/A Structure N/A N/A _fields_ N/A N/A usage_min c_ushort N/A usage_max c_ushort N/A string_min c_ushort N/A string_max c_ushort N/A designator_min c_ushort N/A designator_max c_ushort N/A data_index_min c_ushort N/A data_index_max c_ushort N/A NOT_RANGE N/A Structure N/A N/A _fields_ N/A N/A usage c_ushort N/A reserved1 c_ushort N/A string_index c_ushort N/A reserved2 c_ushort N/A designator_index c_ushort N/A reserved3 c_ushort N/A data_index c_ushort N/A reserved4 c_ushort N/A N/A _fields_ N/A N/A range RANGE N/A not_range NOT_RANGE N/A N/A _fields_ N/A N/A usage_page c_ushort N/A report_id c_ubyte N/A is_alias BOOLEAN N/A bit_field c_ushort N/A link_collection c_ushort N/A link_usage c_ushort N/A link_usage_page c_ushort N/A is_range BOOLEAN N/A is_string_range BOOLEAN N/A is_designator_range BOOLEAN N/A is_absolute BOOLEAN N/A has_null BOOLEAN N/A reserved c_ubyte N/A bit_size c_ushort N/A report_count c_ushort N/A reserved2 N/A c_ushort 5 N/A units_exp c_ulong N/A units c_ulong N/A logical_min c_long N/A logical_max c_long N/A physical_min c_long N/A physical_max c_long N/A union RANGE_NOT_RANGE N/A HIDP_DATA N/A Structure N/A HIDP_DATA_VALUE N/A Union N/A N/A _fields_ N/A N/A raw_value c_ulong N/A on BOOLEAN N/A N/A _fields_ N/A N/A data_index c_ushort N/A reserved c_ushort N/A value HIDP_DATA_VALUE N/A N/A HidP_Input 0 N/A HidP_Output 1 N/A HidP_Feature 2 N/A FACILITY_HID_ERROR_CODE 17 HIDP_ERROR_CODES N/A N/A sev code N/A N/A N/A N/A N/A N/A N/A sev 28 N/A FACILITY_HID_ERROR_CODE 16 code 4294967295 N/A HidStatus N/A object N/A N/A HIDP_STATUS_SUCCESS N/A HIDP_ERROR_CODES 0 0 N/A HIDP_STATUS_NULL N/A HIDP_ERROR_CODES 8 1 N/A HIDP_STATUS_INVALID_PREPARSED_DATA N/A HIDP_ERROR_CODES 12 1 N/A HIDP_STATUS_INVALID_REPORT_TYPE N/A HIDP_ERROR_CODES 12 2 N/A HIDP_STATUS_INVALID_REPORT_LENGTH N/A HIDP_ERROR_CODES 12 3 N/A HIDP_STATUS_USAGE_NOT_FOUND N/A HIDP_ERROR_CODES 12 4 N/A HIDP_STATUS_VALUE_OUT_OF_RANGE N/A HIDP_ERROR_CODES 12 5 N/A HIDP_STATUS_BAD_LOG_PHY_VALUES N/A HIDP_ERROR_CODES 12 6 N/A HIDP_STATUS_BUFFER_TOO_SMALL N/A HIDP_ERROR_CODES 12 7 N/A HIDP_STATUS_INTERNAL_ERROR N/A HIDP_ERROR_CODES 12 8 N/A HIDP_STATUS_I8042_TRANS_UNKNOWN N/A HIDP_ERROR_CODES 12 9 N/A HIDP_STATUS_INCOMPATIBLE_REPORT_ID N/A HIDP_ERROR_CODES 12 10 N/A HIDP_STATUS_NOT_VALUE_ARRAY N/A HIDP_ERROR_CODES 12 11 N/A HIDP_STATUS_IS_VALUE_ARRAY N/A HIDP_ERROR_CODES 12 12 N/A HIDP_STATUS_DATA_INDEX_NOT_FOUND N/A HIDP_ERROR_CODES 12 13 N/A HIDP_STATUS_DATA_INDEX_OUT_OF_RANGE N/A HIDP_ERROR_CODES 12 14 N/A HIDP_STATUS_BUTTON_NOT_PRESSED N/A HIDP_ERROR_CODES 12 15 N/A HIDP_STATUS_REPORT_DOES_NOT_EXIST N/A HIDP_ERROR_CODES 12 16 N/A HIDP_STATUS_NOT_IMPLEMENTED N/A HIDP_ERROR_CODES 12 32 N/A error_message_dict N/A HIDP_STATUS_SUCCESS HIDP_STATUS_NULL HIDP_STATUS_INVALID_PREPARSED_DATA HIDP_STATUS_INVALID_REPORT_TYPE HIDP_STATUS_INVALID_REPORT_LENGTH HIDP_STATUS_USAGE_NOT_FOUND HIDP_STATUS_VALUE_OUT_OF_RANGE HIDP_STATUS_BAD_LOG_PHY_VALUES HIDP_STATUS_BUFFER_TOO_SMALL HIDP_STATUS_INTERNAL_ERROR HIDP_STATUS_I8042_TRANS_UNKNOWN HIDP_STATUS_INCOMPATIBLE_REPORT_ID HIDP_STATUS_NOT_VALUE_ARRAY HIDP_STATUS_IS_VALUE_ARRAY HIDP_STATUS_DATA_INDEX_NOT_FOUND HIDP_STATUS_DATA_INDEX_OUT_OF_RANGE HIDP_STATUS_BUTTON_NOT_PRESSED HIDP_STATUS_REPORT_DOES_NOT_EXIST HIDP_STATUS_NOT_IMPLEMENTED success null invalid preparsed data invalid report type invalid report length usage not found value out of range bad log phy values buffer too small internal error i8042/I8242 trans unknown incompatible report ID not value array is value array data index not found data index out of range button not pressed report does not exist not implemented __init__ N/A N/A self error_code N/A N/A N/A error_code 4294967295 N/A N/A self error_code error_code N/A N/A error_code N/A self HIDP_STATUS_SUCCESS N/A N/A N/A error_code N/A self error_message_dict N/A N/A N/A N/A helpers HIDError N/A hidP error: %s N/A N/A self error_message_dict N/A error_code N/A N/A N/A N/A helpers HIDError N/A Unknown HidP error (%s) N/A hex error_code N/A N/A N/A WAIT_ABANDONED 128 N/A WAIT_OBJECT_0 0 N/A WAIT_TIMEOUT 258 N/A WAIT_FAILED 4294967295 N/A INFINITE 4294967295 N/A GENERIC_READ -2147483648 N/A GENERIC_WRITE 1073741824 N/A FILE_SHARE_READ 1 N/A FILE_SHARE_WRITE 2 N/A OPEN_EXISTING 3 N/A OPEN_ALWAYS 4 N/A INVALID_HANDLE_VALUE N/A HANDLE -1 N/A FILE_FLAG_OVERLAPPED 1073741824 N/A FILE_ATTRIBUTE_NORMAL 128 N/A NO_ERROR 0 N/A ERROR_IO_PENDING 997 GetHidGuid N/A N/A N/A N/A N/A Get system-defined GUID for HIDClass devices N/A hid_guid N/A GUID N/A N/A N/A hid_dll HidD_GetHidGuid N/A byref hid_guid N/A hid_guid N/A DeviceInterfaceSetInfo N/A object N/A N/A Context manager for SetupDiGetClassDevs / SetupDiDestroyDeviceInfoList
    resource allocation / cleanup
     __init__ N/A N/A self guid_target N/A N/A N/A N/A self guid guid_target N/A N/A self h_info None N/A __enter__ N/A N/A self N/A N/A N/A Context manager initializer, calls self.open() N/A N/A N/A self open N/A open N/A N/A self N/A N/A N/A 
        Calls SetupDiGetClassDevs to obtain a handle to an opaque device
        information set that describes the device interfaces supported by all
        the USB collections currently installed in the system. The
        application should specify DIGCF.PRESENT and DIGCF.INTERFACEDEVICE
        in the Flags parameter passed to SetupDiGetClassDevs.
         N/A N/A self h_info N/A SetupDiGetClassDevs N/A byref N/A self guid None None N/A N/A DIGCF PRESENT N/A DIGCF DEVICEINTERFACE N/A N/A self h_info N/A __exit__ N/A N/A self exc_type exc_value traceback N/A N/A N/A Context manager clean up, calls self.close() N/A N/A N/A self close N/A close N/A N/A self N/A N/A N/A Destroy allocated storage N/A N/A N/A self h_info N/A N/A self h_info INVALID_HANDLE_VALUE N/A N/A N/A SetupDiDestroyDeviceInfoList N/A self h_info N/A N/A self h_info None N/A N/A enum_device_interfaces N/A N/A h_info guid N/A N/A N/A Function generator that returns a device_interface_data enumerator
    for the given device interface info and GUID parameters
     N/A dev_interface_data N/A SP_DEVICE_INTERFACE_DATA N/A N/A dev_interface_data cb_size N/A sizeof dev_interface_data N/A device_index 0 N/A N/A SetupDiEnumDeviceInterfaces h_info None N/A byref guid device_index N/A byref dev_interface_data N/A N/A N/A dev_interface_data N/A device_index 1 N/A dev_interface_data N/A get_device_path N/A N/A h_info interface_data ptr_info_data N/A None N/A N/A "Returns Hardware device path
    Parameters:
        h_info,         interface set info handler
        interface_data, device interface enumeration data
        ptr_info_data,  pointer to SP_DEVINFO_DATA() instance to receive details
     N/A required_size N/A c_ulong 0 N/A dev_inter_detail_data N/A SP_DEVICE_INTERFACE_DETAIL_DATA N/A N/A dev_inter_detail_data cb_size N/A sizeof SP_DEVICE_INTERFACE_DETAIL_DATA N/A N/A SetupDiGetDeviceInterfaceDetail h_info N/A byref interface_data None 0 N/A byref required_size None N/A N/A N/A ctypes resize dev_inter_detail_data N/A required_size value N/A N/A SetupDiGetDeviceInterfaceDetail h_info N/A byref interface_data N/A byref dev_inter_detail_data required_size None ptr_info_data N/A N/A N/A dev_inter_detail_data get_string N/A