MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / AllowSetForegroundProc

Function AllowSetForegroundProc

cpp/iedriver/DocumentHost.cpp:557–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557LRESULT CALLBACK AllowSetForegroundProc(int nCode, WPARAM wParam, LPARAM lParam) {
558 if ((nCode == HC_ACTION) && (wParam == PM_REMOVE)) {
559 MSG* msg = reinterpret_cast<MSG*>(lParam);
560 if (msg->message == WD_ALLOW_SET_FOREGROUND) {
561 ::AllowSetForegroundWindow(ASFW_ANY);
562 }
563 }
564
565 return CallNextHookEx(NULL, nCode, wParam, lParam);
566}
567
568#ifdef __cplusplus
569}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected