MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / OpenKneeboard_send_wchar_ptr

Function OpenKneeboard_send_wchar_ptr

src/api/OpenKneeboard_CAPI.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58OPENKNEEBOARD_CAPI void OpenKneeboard_send_wchar_ptr(
59 const wchar_t* eventName,
60 size_t eventNameCharCount,
61 const wchar_t* eventValue,
62 size_t eventValueCharCount) {
63 const OpenKneeboard::APIEvent ge {
64 winrt::to_string(std::wstring_view {eventName, eventNameCharCount}),
65 winrt::to_string(std::wstring_view {eventValue, eventValueCharCount}),
66 };
67 ge.Send();
68}
69
70namespace OpenKneeboard {
71

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.50
SendMethod · 0.45

Tested by

no test coverage detected