mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-24 14:25:37 +08:00
11 lines
344 B
C++
11 lines
344 B
C++
#include "extension.h"
|
|
|
|
bool sendclipboarddata(const std::wstring&text,HWND hwnd);
|
|
bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
|
{
|
|
if (sentenceInfo["current select"] && sentenceInfo["process id"] != 0 &&sentenceInfo["toclipboard"])
|
|
{
|
|
sendclipboarddata(sentence,(HWND)sentenceInfo["HostHWND"]);
|
|
}
|
|
return false;
|
|
} |