1 Star 0 Fork 1

陈奇/ComWeChatRobot

forked from Janisa/ComWeChatRobot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github
3rdparty
CWeChatRobot
AddBrandContact.cpp
AddChatRoomMember.cpp
AddChatRoomMember.h
AddFriend.h
AddFriendByV3.cpp
AddFriendByWxid.cpp
CheckFriendStatus.cpp
CheckFriendStatus.h
DbBackup.cpp
DbBackup.h
DbExecuteSql.cpp
DbExecuteSql.h
DelChatRoomMember.cpp
DelChatRoomMember.h
DeleteUser.cpp
DeleteUser.h
EditRemark.cpp
EditRemark.h
ForwardMessage.cpp
ForwardMessage.h
FriendList.cpp
FriendList.h
GetA8Key.cpp
GetA8Key.h
GetChatRoomMemberNickname.cpp
GetChatRoomMemberNickname.h
GetChatRoomMembers.cpp
GetChatRoomMembers.h
GetDbHandles.cpp
GetDbHandles.h
GetHistoryPublicMsg.cpp
GetHistoryPublicMsg.h
GetMsgCDN.cpp
GetQrcodeImage.cpp
GetQrcodeImage.h
GetTransfer.cpp
GetTransfer.h
HookImageMessage.cpp
HookVoiceMessage.cpp
InjectDll.cpp
InjectDll.h
Logout.cpp
Logout.h
OpenBrowser.cpp
OpenBrowser.h
ReceiveMessage.cpp
ReceiveMessage.h
RobotEvent.cpp
RobotEvent.h
RobotEvent.rgs
SearchContact.h
SearchContactByCache.cpp
SearchContactByNet.cpp
SelfInfo.cpp
SelfInfo.h
SendAppMsg.cpp
SendAppMsg.h
SendArticle.cpp
SendArticle.h
SendAtText.cpp
SendAtText.h
SendCard.cpp
SendCard.h
SendEmotion.cpp
SendEmotion.h
SendFile.cpp
SendFile.h
SendImage.cpp
SendImage.h
SendText.cpp
SendText.h
SendXmlMsg.cpp
SendXmlMsg.h
SetChatRoomAnnouncement.cpp
SetChatRoomAnnouncement.h
SetChatRoomName.cpp
SetChatRoomName.h
SetChatRoomSelfNickname.cpp
SetChatRoomSelfNickname.h
VerifyFriendApply.cpp
VerifyFriendApply.h
WeChatRobot.cpp
WeChatRobot.h
WeChatRobot.rgs
WeChatRobotCOM.aps
WeChatRobotCOM.cpp
WeChatRobotCOM.idl
WeChatRobotCOM.rc
WeChatRobotCOM.rgs
WeChatRobotCOM.vcxproj
WeChatRobotCOM.vcxproj.filters
WeChatRobotCOM.vcxproj.user
WeChatRobotCOM_i.c
WeChatRobotCOM_i.h
WeChatRobotCOM_p.c
_IRobotEventEvents_CP.h
dlldata.c
framework.h
ntapi.cpp
ntapi.h
pch.cpp
pch.h
resource.h
robotdata.h
targetver.h
templatefunc.cpp
templatefunc.h
utils.h
wechatver.cpp
wechatver.h
xdlldata.c
xdlldata.h
DWeChatRobot
Python
old_projects
wxDriver
.clang-format
.gitignore
.pre-commit-config.yaml
ComWeChatRobot.sln
README.md
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ReceiveMessage.cpp 687 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jack Li 提交于 3年前 . 优化多开管理
#include "pch.h"
BOOL StartReceiveMessage(DWORD pid,int port) {
WeChatProcess hp(pid);
if (!hp.m_init) return 1;
DWORD StartReceiveMessageRemoteAddr = hp.GetProcAddr(HookReceiveMessageRemote);
if (StartReceiveMessageRemoteAddr == 0)
return 1;
CallRemoteFunction(hp.GetHandle(), StartReceiveMessageRemoteAddr, port);
return 0;
}
BOOL StopReceiveMessage(DWORD pid) {
WeChatProcess hp(pid);
if (!hp.m_init) return 1;
DWORD UnHookReceiveMsgRemoteAddr = hp.GetProcAddr(UnHookReceiveMessageRemote);
if (UnHookReceiveMsgRemoteAddr == 0)
return 1;
CallRemoteFunction(hp.GetHandle(), UnHookReceiveMsgRemoteAddr, NULL);
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/chen_q_i/ComWeChatRobot.git
git@gitee.com:chen_q_i/ComWeChatRobot.git
chen_q_i
ComWeChatRobot
ComWeChatRobot
master

搜索帮助