sieelf/CodeShowPatch/type_.h
bingkx 753f891225 SK6Cv50
V1.3-> 2008.4.21 SGOLD多号码选择菜单中区号秀支持,包括电话,短信,JAVA选择号码菜单,BingK(binghelingxi)
2008-04-21 11:48:18 +00:00

49 lines
913 B
C

typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned int dword;
typedef unsigned int uint;
typedef struct WString{
word* pstr;
int unknown[3];
int buflen;
}WSTRING;
typedef struct {
byte Flag;
byte ID;
byte Version;
byte Year;
byte Month;
byte Day;
byte ProvinceNameLen;
byte CityNameLen;
dword CodeTableOffset;
dword CodeCount;
dword LocaleTableOffset;
dword LocaleCount;
dword ProvinceTableOffset;
dword ProvinceCount;
dword CityTableOffset;
dword CityCount;
}CODESHOWHEAD;
#pragma pack(2)
typedef struct {
word ProvinceName[3];
word StartOffset;
word EndOffset;
}PROVINCE;
typedef struct {
word CityName[6];
word LocaleNo :10;
word ProvinceNo :6;
}CITY;
#pragma pack()
typedef struct {
word LocaleNo;
word CityNo;
}LOCALE;