LunaHook-mirror/LunaHost/GUI/Plugin/copyclipboard.cpp
恍兮惚兮 24ae167d1a fix
2024-04-23 20:01:57 +08:00

11 lines
310 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["toclipboard"])
{
sendclipboarddata(sentence,(HWND)sentenceInfo["HostHWND"]);
}
return false;
}