MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / get_class_name

Function get_class_name

src/common/winapi.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65std::wstring get_class_name(HWND hwnd) {
66 static const int max_class_name = 256;
67 std::vector<wchar_t> buf(max_class_name);
68 GetClassName(hwnd, buf.data(), max_class_name);
69 return {buf.data()};
70}
71
72std::optional<std::wstring> browse_for_directory(HWND parent_wnd, const wchar_t *initial_path) {
73 // Thanks to http://vcfaq.mvps.org/sdk/20.htm

Callers 1

check_hwndMethod · 0.85

Calls 1

dataMethod · 0.80

Tested by

no test coverage detected