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

Method OnSetDocument

cpp/iedriver/AsyncScriptExecutor.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103LRESULT AsyncScriptExecutor::OnSetDocument(UINT uMsg,
104 WPARAM wParam,
105 LPARAM lParam,
106 BOOL& bHandled) {
107 LOG(TRACE) << "Entering AsyncScriptExecutor::OnSetDocument";
108 CComPtr<IHTMLDocument2> doc;
109 LPSTREAM initializer_payload = reinterpret_cast<LPSTREAM>(lParam);
110 HRESULT hr = ::CoGetInterfaceAndReleaseStream(initializer_payload,
111 IID_IHTMLDocument2,
112 reinterpret_cast<void**>(&this->script_host_));
113 return 0;
114}
115
116LRESULT AsyncScriptExecutor::OnSetElementArgument(UINT uMsg,
117 WPARAM wParam,

Callers

nothing calls this directly

Calls 1

LOGClass · 0.50

Tested by

no test coverage detected