Mercurial > minori
comparison dep/animia/src/fd/win32.cc @ 182:c413e475f496
dep/animia: various stylistic changes
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 04 Dec 2023 13:19:54 -0500 |
parents | e44b7c428d7c |
children | bc1ae1810855 |
comparison
equal
deleted
inserted
replaced
181:d26cd2c00270 | 182:c413e475f496 |
---|---|
30 | 30 |
31 /* SystemExtendedHandleInformation is only available in NT 5.1+ (XP and higher) and provides information for | 31 /* SystemExtendedHandleInformation is only available in NT 5.1+ (XP and higher) and provides information for |
32 * 32-bit PIDs, unlike SystemHandleInformation | 32 * 32-bit PIDs, unlike SystemHandleInformation |
33 */ | 33 */ |
34 constexpr SYSTEM_INFORMATION_CLASS SystemExtendedHandleInformation = static_cast<SYSTEM_INFORMATION_CLASS>(0x40); | 34 constexpr SYSTEM_INFORMATION_CLASS SystemExtendedHandleInformation = static_cast<SYSTEM_INFORMATION_CLASS>(0x40); |
35 | |
36 /* more constants not in winternl.h */ | |
37 constexpr NTSTATUS STATUS_INFO_LENGTH_MISMATCH = 0xC0000004UL; | 35 constexpr NTSTATUS STATUS_INFO_LENGTH_MISMATCH = 0xC0000004UL; |
38 | 36 |
39 /* this is filled in at runtime because it's not guaranteed to be (and isn't) | 37 /* this is filled in at runtime because it's not guaranteed to be (and isn't) |
40 constant between different versions of Windows */ | 38 constant between different versions of Windows */ |
41 static unsigned short file_type_index = 0; | 39 static unsigned short file_type_index = 0; |