MCPcopy Index your code
hub / github.com/python/cpython / CPINFOEXW

Class CPINFOEXW

Lib/test/test_codecs.py:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 MAX_DEFAULTCHAR = 2 # single or double byte
46 MAX_PATH = 260
47 class CPINFOEXW(Structure):
48 _fields_ = [("MaxCharSize", UINT),
49 ("DefaultChar", BYTE*MAX_DEFAULTCHAR),
50 ("LeadByte", BYTE*MAX_LEADBYTES),
51 ("UnicodeDefaultChar", WCHAR),
52 ("CodePage", UINT),
53 ("CodePageName", WCHAR*MAX_PATH)]
54
55 prototype = WINFUNCTYPE(BOOL, UINT, DWORD, POINTER(CPINFOEXW))
56 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…