hllDll = ctypes.WinDLL('c:\\PComm\\ehlapi32.dll')
hllApiProto = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.c_void_p, ctypes.
    c_void_p, ctypes.c_void_p, ctypes.c_void_p)
Как загрузить DLL с помощью ctypes в Python?