Impl GetMsgTypes

This commit is contained in:
Changhua 2024-05-04 18:30:52 +08:00
parent b19f41b8cf
commit a3ff437815
2 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ static DWORD recvPyqHookAddr = 0;
static DWORD recvPyqCallAddr = 0; static DWORD recvPyqCallAddr = 0;
static DWORD recvPyqJumpBackAddr = 0; static DWORD recvPyqJumpBackAddr = 0;
static CHAR recvPyqBackupCode[5] = { 0 }; static CHAR recvPyqBackupCode[5] = { 0 };
#if 0
MsgTypes_t GetMsgTypes() MsgTypes_t GetMsgTypes()
{ {
const MsgTypes_t m = { const MsgTypes_t m = {
@ -72,7 +72,7 @@ MsgTypes_t GetMsgTypes()
return m; return m;
} }
#if 0
void HookAddress(DWORD hookAddr, LPVOID funcAddr, CHAR recvMsgBackupCode[5]) void HookAddress(DWORD hookAddr, LPVOID funcAddr, CHAR recvMsgBackupCode[5])
{ {
// 组装跳转数据 // 组装跳转数据

View File

@ -109,7 +109,7 @@ bool func_get_user_info(uint8_t *out, size_t *len)
return true; return true;
} }
#if 0
bool func_get_msg_types(uint8_t *out, size_t *len) bool func_get_msg_types(uint8_t *out, size_t *len)
{ {
Response rsp = Response_init_default; Response rsp = Response_init_default;
@ -129,7 +129,7 @@ bool func_get_msg_types(uint8_t *out, size_t *len)
return true; return true;
} }
#if 0
bool func_get_contacts(uint8_t *out, size_t *len) bool func_get_contacts(uint8_t *out, size_t *len)
{ {
Response rsp = Response_init_default; Response rsp = Response_init_default;
@ -862,11 +862,11 @@ static bool dispatcher(uint8_t *in, size_t in_len, uint8_t *out, size_t *out_len
ret = func_get_user_info(out, out_len); ret = func_get_user_info(out, out_len);
break; break;
} }
#if 0
case Functions_FUNC_GET_MSG_TYPES: { case Functions_FUNC_GET_MSG_TYPES: {
ret = func_get_msg_types(out, out_len); ret = func_get_msg_types(out, out_len);
break; break;
} }
#if 0
case Functions_FUNC_GET_CONTACTS: { case Functions_FUNC_GET_CONTACTS: {
ret = func_get_contacts(out, out_len); ret = func_get_contacts(out, out_len);
break; break;