Impl get contacts
This commit is contained in:
+16
-3
@@ -23,13 +23,26 @@ interface ISpy
|
||||
int key;
|
||||
BSTR value;
|
||||
} RpcIntBstrPair_t;
|
||||
typedef RpcIntBstrPair_t* PRpcIntBstrPair_t;
|
||||
typedef RpcIntBstrPair_t** PPRpcIntBstrPair_t;
|
||||
typedef RpcIntBstrPair_t* PRpcIntBstrPair;
|
||||
typedef RpcIntBstrPair_t** PPRpcIntBstrPair;
|
||||
|
||||
typedef struct RpcContact {
|
||||
BSTR wxId;
|
||||
BSTR wxCode;
|
||||
BSTR wxName;
|
||||
BSTR wxCountry;
|
||||
BSTR wxProvince;
|
||||
BSTR wxCity;
|
||||
BSTR wxGender;
|
||||
} RpcContact_t;
|
||||
typedef RpcContact_t *PRpcContact;
|
||||
typedef RpcContact_t **PPRpcContact;
|
||||
|
||||
int IsLogin();
|
||||
int SendTextMsg([ in, string ] const wchar_t *wxid, [ in, string ] const wchar_t *at_wxid, [ in, string ] const wchar_t *msg);
|
||||
int SendImageMsg([ in, string ] const wchar_t *wxid, [ in, string ] const wchar_t *path);
|
||||
int GetMsgTypes([ out ] int *pNum, [ out, size_is(, *pNum) ] PPRpcIntBstrPair_t *msgTypes);
|
||||
int GetMsgTypes([ out ] int *pNum, [ out, size_is(, *pNum) ] PPRpcIntBstrPair *msgTypes);
|
||||
int GetContacts([ out ] int *pNum, [ out, size_is(, *pNum) ] PPRpcContact *contacts);
|
||||
|
||||
void EnableReceiveMsg();
|
||||
[callback] int ReceiveMsg([ in ] RpcMessage_t rpcMsg);
|
||||
|
||||
Reference in New Issue
Block a user