部分源码
type
mach_error_t = UINT;
afc_error_t = UINT;
afc_file_ref = ULONGLONG;
{struct am_device
unsigned char unknown0[0x10]; /* 0 - zero */
unsigned int device_id; /* 16 */
unsigned int product_id; /* 20 - set to AMD_IPHONE_PRODUCT_ID */
char *serial; /* 24 - set to AMD_IPHONE_SERIAL */
unsigned int unknown1; /* 28 */
unsigned char unknown2[0x4]; /* 32 */
unsigned int lockdown_conn; /* 36 */
unsigned char unknown3[0x8]; /* 40 */
unsigned char unknown4[0x61]; /* 40 */
unsigned char unknown5[0x8]; /* 40 */
}
type
am_device = packed record
unknown0 : array [0..$10 - 1] of UCHAR;
device_id : UINT;
product_id : UINT;
serial : PChar;
unknown1 : UINT;
unknown2 : array [0..$4 - 1] of UCHAR;
lockdown_conn : UINT;
unknown3 : array [0..$8 - 1] of UCHAR;
unknown4 : array [0..$61 - 1] of UCHAR;
unknown5 : array [0..$8 - 1] of UCHAR;
end;
p_am_device = ^am_device;
出现错误:[Error] AMoblieDeviceModuleDef.pas(39): Undeclared identifier: 'ULONGLONG'
Delphi菜鸟 望大神解答
Delphi7 [Error] AMoblieDeviceModuleDef.pas(39): Undeclared identifier...
afc_file_ref = ULONGLONG;后面数据类型写错了,应该是ULONG