MCPcopy Create free account
hub / github.com/apache/arrow / ProcessMessages

Function ProcessMessages

cpp/src/arrow/flight/sql/odbc/odbc_impl/ui/custom_window.cc:36–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace config {
35
36Result::Type ProcessMessages(Window& window) {
37 MSG msg;
38
39 while (GetMessage(&msg, NULL, 0, 0) > 0) {
40 if (!IsDialogMessage(window.GetHandle(), &msg)) {
41 TranslateMessage(&msg);
42
43 DispatchMessage(&msg);
44 }
45 }
46
47 return static_cast<Result::Type>(msg.wParam);
48}
49
50LRESULT CALLBACK CustomWindow::WndProc(HWND hwnd, UINT msg, WPARAM wparam,
51 LPARAM lparam) {

Callers 2

DisplayConnectionWindowFunction · 0.85
OnMessageMethod · 0.85

Calls 2

GetMessageFunction · 0.85
GetHandleMethod · 0.80

Tested by

no test coverage detected