Thanks to an anonymous .net programmer, here are the PTP commands
from the SDK:
public const uint PtpNextPhase_NoData = 0;
public const uint PtpNextPhase_ReadData = 1;
public const uint PtpNextPhase_WriteData = 2;
public const int PtpOpe_CLOSE_SESSION = 0x1003;
public const int PtpOpe_DELETE_OBJECT = 0x100b;
public const int PtpOpe_DS_CANCELTRANSFER = 0x9118;
public const int PtpOpe_DS_CREAGE_OBJECT = 0x9112;
public const int PtpOpe_DS_DELETE_OBJECT = 0x9105;
public const int PtpOpe_DS_FAPI_MESSAGERX = 0x91ff;
public const int PtpOpe_DS_FAPI_MESSAGETX = 0x91fe;
public const int PtpOpe_DS_FORMAT_STORE = 0x9106;
public const int PtpOpe_DS_GET_DEVICEINFOEX = 0x9108;
public const int PtpOpe_DS_GET_EVENT = 0x9116;
public const int PtpOpe_DS_GET_OBJECT = 0x9104;
public const int PtpOpe_DS_GET_OBJECTINFO = 0x9103;
public const int PtpOpe_DS_GET_OBJECTINFOEX = 0x9109;
public const int PtpOpe_DS_GET_OBJECTTIME = 0x910d;
public const int PtpOpe_DS_GET_PARTIALOBJECT = 0x9107;
public const int PtpOpe_DS_GET_REMOTEMODE = 0x9113;
public const int PtpOpe_DS_GET_STORAGEIDS = 0x9101;
public const int PtpOpe_DS_GET_STORAGEINFO = 0x9102;
public const int PtpOpe_DS_GET_THUMB_EX = 0x910a;
public const int PtpOpe_DS_KEEPDEVICE_ON = 0x911d;
public const int PtpOpe_DS_PCHDDCAPACITY = 0x911a;
public const int PtpOpe_DS_REMOTE_RELEASE = 0x910f;
public const int PtpOpe_DS_RESET_UILOCK = 0x911c;
public const int PtpOpe_DS_RESETTRANSFER = 0x9119;
public const int PtpOpe_DS_SEND_OBJECTEX = 0x9111;
public const int PtpOpe_DS_SEND_PARTIAL_OBJECT = 0x910b;
public const int PtpOpe_DS_SET_DEVICEPROPVALUEEX = 0x9110;
public const int PtpOpe_DS_SET_EVENTMODE = 0x9115;
public const int PtpOpe_DS_SET_NULLPACKETMODE = 0x911e;
public const int PtpOpe_DS_SET_OBJECTATRIBUTES = 0x910c;
public const int PtpOpe_DS_SET_OBJECTTIME = 0x910e;
public const int PtpOpe_DS_SET_REMOTEMODE = 0x9114;
public const int PtpOpe_DS_SET_UILOCK = 0x911b;
public const int PtpOpe_DS_TRANFERCOMPLETE = 0x9117;
public const int PtpOpe_DS_UPDATE_FIRMWARE = 0x911f;
public const int PtpOpe_GET_DEVICEINFO = 0x1001;
public const int PtpOpe_GET_NUMOBJECTS = 0x1006;
public const int PtpOpe_GET_OBJECT = 0x1009;
public const int PtpOpe_GET_OBJECTHANDLES = 0x1007;
public const int PtpOpe_GET_OBJECTINFO = 0x1008;
public const int PtpOpe_GET_PARTIALOBJECT = 0x101b;
public const int PtpOpe_GET_STORAGEIDS = 0x1004;
public const int PtpOpe_GET_STORAGEINFO = 0x1005;
public const int PtpOpe_GET_THUMB = 0x100a;
public const int PtpOpe_OPEN_SESSION = 0x1002;
public const int PtpOpe_SEND_OBJECT = 0x100d;
public const int PtpOpe_SEND_OBJECTINFO = 0x100c;
public const int PtpOpe_UNDEFINED = 0x1000;
--
Trammell
--
http://magiclantern.wikia.com/
To post to this group, send email to
ml-d...@googlegroups.com
To unsubscribe from this group, send email to
ml-devel+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ml-devel?hl=en