unsigned int WINAPI Browser::GoForwardThreadProc(LPVOID param) { HRESULT hr = ::CoInitialize(NULL); IWebBrowser2* browser; LPSTREAM message_payload = reinterpret_cast<LPSTREAM>(param); hr = ::CoGetInterfaceAndReleaseStream(message_payload, IID_IWebBrowser2, reinterpret_cast<void**>(&browser)); hr = browser->GoForward(); return 0; }
void Win32WebControl::goForward() const { _webBrowser2->GoForward(); }