Kernel32GetAnsiCodePage Method
Retrieves the current Windows ANSI code page identifier for the operating system.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", EntryPoint = "GetACP", ExactSpelling = true)]
public static uint GetAnsiCodePage()
<DllImportAttribute("Kernel32.dll", EntryPoint := "GetACP", ExactSpelling := true>]
Public Shared Function GetAnsiCodePage As UInteger
Dim returnValue As UInteger
returnValue = Kernel32.GetAnsiCodePage()
public:
[DllImportAttribute(L"Kernel32.dll", EntryPoint = L"GetACP", ExactSpelling = true)]
static unsigned int GetAnsiCodePage()
[<DllImportAttribute("Kernel32.dll", EntryPoint = "GetACP", ExactSpelling = true)>]
static member GetAnsiCodePage : unit -> uint32
No code example is currently available or this language may not be supported.
Return Value
UInt32
Returns the current Windows ANSI code page (ACP) identifier for the operating system.