mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
minor fixes
This commit is contained in:
parent
55764bf8e2
commit
a7a3379050
@ -141,12 +141,9 @@ void HookManager::DispatchText(DWORD pid, DWORD hook, DWORD retn, DWORD spl, con
|
|||||||
void HookManager::AddConsoleOutput(LPCWSTR text)
|
void HookManager::AddConsoleOutput(LPCWSTR text)
|
||||||
{
|
{
|
||||||
HM_LOCK;
|
HM_LOCK;
|
||||||
if (text)
|
|
||||||
{
|
|
||||||
int len = wcslen(text) * 2;
|
int len = wcslen(text) * 2;
|
||||||
TextThread *console = textThreadsByParams[{ 0, -1UL, -1UL, -1UL }];
|
TextThread *console = textThreadsByParams[{ 0, -1UL, -1UL, -1UL }];
|
||||||
console->AddSentence(std::wstring(text));
|
console->AddSentence(std::wstring(text));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HookManager::ClearCurrent()
|
void HookManager::ClearCurrent()
|
||||||
|
@ -30,6 +30,7 @@ struct ThreadParameterHasher
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Artikash 7/19/2018: This should probably be broken up into 2-4 classes...
|
||||||
class __declspec(dllexport) HookManager
|
class __declspec(dllexport) HookManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user