Kernel32EnumSystemCodePages Method

Enumerates the code pages that are either installed on or supported by an operating 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("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool EnumSystemCodePages(
	DelegatesEnumCodePagesProc codePageEnumProc,
	EnumSystemCodePagesFlags flags
)

Parameters

codePageEnumProc  DelegatesEnumCodePagesProc
Pointer to an application-defined callback function.

The EnumSystemCodePages(DelegatesEnumCodePagesProc, EnumSystemCodePagesFlags) function enumerates code pages by making repeated calls to this callback function.

For more information, see DelegatesEnumCodePagesProc.

flags  EnumSystemCodePagesFlags
Flag specifying the code pages to enumerate.

Return Value

Boolean
Returns if successful, or otherwise.

Remarks

See Also