40 IWebBrowser2* webBrowser;
48 *browser = webBrowser;
90 unsigned int arraySize;
96 hResult = webBrowserUnknown->QueryInterface(
IID_PPV_ARG(IWebBrowser2, &webBrowser));
99 hResult = webBrowser->put_Visible(
TRUE);
103 hResult = serviceProvider->QueryService(SID_STopLevelBrowser,
107 hResult = oleWindow->GetWindow(&browserWindow);
118 hResult = webBrowser->Navigate2(&
args, &emptyVariant, &emptyVariant, &emptyVariant, &emptyVariant);
#define STDMETHODCALLTYPE
CComPtr< IUnknown > fSite
STDMETHOD() IsConnected() override
STDMETHOD() CreateNewWindow(long paramC) override
STDMETHOD() SetSite(IUnknown *paramC) override
STDMETHOD() NavigateToURL(long paramC, long param10) override
HRESULT FindBrowserWindow(IUnknown **browser)
STDMETHOD() NavigateToPIDL(LPCITEMIDLIST pidl) override
STDMETHOD() GetBrowserWindow(IUnknown **paramC) override
#define FAILED_UNEXPECTEDLY(hr)
SAFEARRAY *WINAPI SafeArrayCreateVector(VARTYPE vt, LONG lLbound, ULONG cElements)
HRESULT WINAPI IUnknown_QueryService(IUnknown *, REFGUID, REFIID, LPVOID *)
#define memcpy(s1, s2, n)
#define SID_IWebBrowserApp
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
_In_ ULONG _In_opt_ PVOID pvData
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI IsIconic(_In_ HWND)
#define IID_PPV_ARG(Itype, ppType)