User32GetKBCodePage Method

Note: This API is now obsolete.
Retrieves the current code page.

Note: This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the GetOEMCodePage function to retrieve the OEM code-page identifier for the system.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", ExactSpelling = true)]
[ObsoleteAttribute("This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the 'NativeMethods.GetOEMCodePage' function to retrieve the OEM code-page identifier for the system", 
	true)]
public static uint GetKBCodePage()

Return Value

UInt32
The return value is an OEM code-page identifier, or it is the default identifier if the registry value is not readable.

Remarks

See Also