Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This section provides detailed information about the mobile Internet browser API interfaces described in the following table.
Interface | Description |
---|---|
IBrowser | Provides methods for navigating to a URL, rendering an HTML page, and retrieving and changing characteristics of the user interface. |
IBrowser2 | Provides methods for ClearType support, fit-to-screen capability, changing page layouts, playing sounds, executing scripts, rendering images, and text zoom. |
IBrowser3 | Provides methods for enabling and disabling ActiveX® controls, context menus, focus rectangles, integral paging, text selection, and window sizing. |
_DPIEWebBrowserEvents2 | Provides a connection point so that an application can receive events fired by the browser object. |
Remarks
A browser object is created by calling the Windows CE CoCreateInstance function with a CLSID of CLSID_Browser.
hr = CoCreateInstance(CLSID_Browser, NULL, CLSCTX_INPROC_SERVER,
IID_IUnknown, (void**)&pUnknown);
if (FAILED (hr)) exit(0); // Replace with specific error handling.
hr = pUnknown->QueryInterface(IID_IBrowser, (void**)&pBrowser);
if (FAILED (hr)) exit(0); // Replace with specific error handling.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib
See Also
Send Feedback on this topic to the authors