Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TryGetACPCodePage()
static unsafe
bool
Interop.Kernel32.TryGetACPCodePage
(
out int
codePage
)
inline
static
package
Definition at line
33
of file
Interop.cs
.
34
{
35
Unsafe
.SkipInit(out CPINFOEXW cPINFOEXW);
36
if
(
GetCPInfoExW
(0u, 0u, &cPINFOEXW) != 0)
37
{
38
codePage = (int)cPINFOEXW.CodePage;
39
return
true
;
40
}
41
codePage = 0;
42
return
false
;
43
}
Interop.Kernel32.GetCPInfoExW
static unsafe BOOL GetCPInfoExW(uint CodePage, uint dwFlags, CPINFOEXW *lpCPInfoEx)
System.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:6
References
Interop.Kernel32.GetCPInfoExW()
.
Interop
Kernel32
Generated by
1.10.0