IBrowser::put_SelectedCodepage (Windows CE 5.0)
The SelectedCodepage property gets or sets the code page for the document currently displayed in the browser.
To get the value of the SelectedCodepage property, call the property method described here.
To set the value of the SelectedCodepage property, see the get_SelectedCodepage property method.
Syntax
HRESULT put_SelectedCodepage( long newVal);
Parameters
- newVal
[in] Variable that contains a code page identifier. See Remarks for the possible code page values.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully.
Remarks
The following table lists the possible values for the pVal parameter.
Name | Value | Description |
---|---|---|
CP_ACP | 0 | Specifies the system default ANSI code page. |
CP_OEMCP | 1 | Specifies the system default OEM code page. |
CP_MACCP | 2 | Specifies the system default MAC code page. |
CP_THREAD_ACP | 3 | Specifies the current thread's ANSI code page. |
CP_SYMBOL | 42 | Specifies symbol translations. |
CP_UTF7 | 65000 | Specifies UTF-7 translations. |
CP_UTF8 | 65001 | Specifies UTF-8 translations. |
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