MCPcopy Index your code
hub / github.com/RustPython/RustPython / CPINFOEXW

Class CPINFOEXW

Lib/test/test_codecs.py:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 MAX_DEFAULTCHAR = 2 # single or double byte
45 MAX_PATH = 260
46 class CPINFOEXW(Structure):
47 _fields_ = [("MaxCharSize", UINT),
48 ("DefaultChar", BYTE*MAX_DEFAULTCHAR),
49 ("LeadByte", BYTE*MAX_LEADBYTES),
50 ("UnicodeDefaultChar", WCHAR),
51 ("CodePage", UINT),
52 ("CodePageName", WCHAR*MAX_PATH)]
53
54 prototype = WINFUNCTYPE(BOOL, UINT, DWORD, POINTER(CPINFOEXW))
55 GetCPInfoEx = prototype(("GetCPInfoExW", WinDLL("kernel32")))

Callers 1

is_code_page_presentFunction · 0.85

Calls

no outgoing calls

Tested by 1

is_code_page_presentFunction · 0.68