Impl Get Contacts

This commit is contained in:
Changhua 2022-08-12 23:01:24 +08:00
parent ac36c9df54
commit a091ab9e74
2 changed files with 3 additions and 3 deletions

View File

@ -83,12 +83,12 @@ int main()
wprintf(L"测试发送照片\n");
WxSendImageMsg(wxid, img_path);
Sleep(1000); // 等待1秒
#if 0
// 测试获取联系人
auto mContact = WxGetContacts();
printContacts(mContact);
Sleep(1000); // 等待1秒
#if 0
// 测试获取数据库名
auto vDbNames = WxGetDbNames();
printDbNames(vDbNames);

View File

@ -13,7 +13,7 @@ WxCalls_t wxCalls = { 0x2366538, // Login Status
{ 0xBD780, 0x771980, 0x521640 }, // Send Image Message
/* Get Contacts:
Base, head, wxId, Code, Name, Gender, Country, Province, City*/
{ 0x23638F4, 0x4C, 0x30, 0x44, 0x8C, 0x184, 0x1D0, 0x1E4, 0x1F8 },
{ 0x23668F4, 0x4C, 0x30, 0x44, 0x8C, 0x184, 0x1D0, 0x1E4, 0x1F8 },
/* Exec Sql:
Exec, base, start, end, slot, name*/
{ 0x141A4D0, 0x2363934, 0x1428, 0x142C, 0x3C, 0x50 } };