MCPcopy Create free account
hub / github.com/WallBreaker2/op / GetEditText

Method GetEditText

tests/test_support.cpp:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344std::wstring SendStringWindow::GetEditText() const {
345 wchar_t buffer[256] = {0};
346 GetWindowTextW(edit, buffer, static_cast<int>(sizeof(buffer) / sizeof(buffer[0])));
347 return buffer;
348}
349
350SendStringWindow::~SendStringWindow() {
351 if (parent)

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected