MCPcopy Create free account
hub / github.com/Artikash/Textractor / Send

Method Send

host/host.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39 template <typename T>
40 void Send(T data)
41 {
42 static_assert(sizeof(data) < PIPE_BUFFER_SIZE);
43 std::thread([=]
44 {
45 WriteFile(pipe, &data, sizeof(data), DUMMY, nullptr);
46 }).detach();
47 }
48
49 Host::HookEventHandler OnHookFound = [](HookParam hp, std::wstring text)
50 {

Callers 4

DetachProcessFunction · 0.45
InsertHookFunction · 0.45
RemoveHookFunction · 0.45
FindHooksFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected