LunaHook-mirror/LunaHost/GUI/Plugin/copyclipboard.cpp
恍兮惚兮 792041595c exts
2024-04-21 17:38:47 +08:00

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;
}