2022-12-21 20:30:44 +08:00
|
|
|
#ifndef GET_DB_HANDLE_H_
|
|
|
|
#define GET_DB_HANDLE_H_
|
|
|
|
#include "windows.h"
|
|
|
|
#include <vector>
|
2023-02-04 12:04:28 +08:00
|
|
|
#include <string>
|
2022-12-21 20:30:44 +08:00
|
|
|
|
|
|
|
std::vector<void *> GetDbHandles();
|
|
|
|
DWORD GetDbHandleByDbName(wchar_t *dbname);
|
|
|
|
unsigned int GetLocalIdByMsgId(ULONG64 msgid, int &dbIndex);
|
2023-02-04 12:04:28 +08:00
|
|
|
std::vector<std::string> GetChatMsgByMsgId(ULONG64 msgid);
|
2023-03-30 23:08:15 +08:00
|
|
|
|
|
|
|
std::string GetVoiceBuffByMsgId(ULONG64 msgid);
|
2022-12-21 20:30:44 +08:00
|
|
|
#endif
|