I am learning how to interact Python3
with hardware
using naive windows dll
files. But using ctypes i'm able to find the dll
file but, not able to find the exposed functionalities from the dll
.
I searched in google
, stackoverflow
, everywhere and unable to find the solution for my problem.
For Example:
import ctypes
data = ctypes.CDLL("WWanAPI.dll")
when i tried dir(data)
functionality i got the following response:
['_FuncPtr', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattr__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_func_flags_', '_func_restype_', '_handle', '_name']
Any insights will be helpful to find all the functionalities of a dll
.