2022-08-07 23:32:25 +08:00
|
|
|
|
#pragma once
|
2022-08-07 16:21:28 +08:00
|
|
|
|
|
|
|
|
|
#include "rpc_h.h"
|
|
|
|
|
|
|
|
|
|
RPC_STATUS RpcConnectServer();
|
|
|
|
|
RPC_STATUS RpcDisconnectServer();
|
|
|
|
|
|
2022-08-20 15:15:04 +08:00
|
|
|
|
int RpcEnableReceiveMsg();
|
|
|
|
|
int RpcDisableReceiveMsg();
|
2022-08-07 16:21:28 +08:00
|
|
|
|
int RpcIsLogin();
|
2022-08-20 17:39:21 +08:00
|
|
|
|
int RpcSendTextMsg(const wchar_t *wxid, const wchar_t *msg, const wchar_t *atWxids);
|
2022-08-07 16:21:28 +08:00
|
|
|
|
int RpcSendImageMsg(const wchar_t *wxid, const wchar_t *path);
|
2022-08-07 20:50:49 +08:00
|
|
|
|
PPRpcIntBstrPair RpcGetMsgTypes(int *pNum);
|
|
|
|
|
PPRpcContact RpcGetContacts(int *pNum);
|
2022-08-07 23:32:25 +08:00
|
|
|
|
BSTR *RpcGetDbNames(int *pNum);
|
2022-08-07 23:49:37 +08:00
|
|
|
|
PPRpcTables RpcGetDbTables(const wchar_t *db, int *pNum);
|
2022-08-20 22:10:11 +08:00
|
|
|
|
PPPRpcSqlResult RpcExecDbQuery(const wchar_t *db, const wchar_t *sql, int *row, int *col);
|
2022-08-21 08:45:16 +08:00
|
|
|
|
BOOL AcceptNewFriend(const wchar_t *v3, const wchar_t *v4);
|