Thread: PRS-500 Reader internals
View Single Post
Old 10-13-2006, 03:50 PM   #11
gseryakov
Enthusiast
gseryakov began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Oct 2006
Device: Sony Reader
Quote:
Originally Posted by igorsk
Here's a more-or-less complete version which allows you to list the files on the device and download them.
It needs Python with ctypes package and uses dlls from Connect software.
Impressing job! Especially impressing those who does not know Python.

AFAIU, this is just using the following functions exported from DLL (@-number is probably the stack usage):

_UsbSendProc@16
_UsbReceiveProc@12
_UsbBuffFree@4
_UsbInitCheck@0
_UsbGetProtcolVer@8
_UsbUnlockDevice@4
_UsbConnect@0
_UsbDisConnect@0

Do we have more or less regular description of this interface? I mean - prototypes plus parameters description.

Is it the full list of functions exported from the usb dll?
gseryakov is offline   Reply With Quote