Adds some NT functions (#1358)

This commit is contained in:
A2va 2025-02-08 17:08:08 +01:00 committed by GitHub
parent 12cb0669fb
commit 42a9ed0131
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 195 additions and 0 deletions

13
libc/nt/struct/cpinfoex.h Normal file
View file

@ -0,0 +1,13 @@
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CPINFOEX_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_CPINFOEX_H_
struct NtCpInfoEx {
uint32_t MaxCharSize;
uint8_t DefaultChar[2];
uint8_t LeadByte[12];
char16_t UnicodeDefaultChar;
uint32_t CodePage;
char16_t CodePageName[260];
};
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_CPINFOEX_H_ */