Mercurial > libanimone
comparison src/fd/win32.cc @ 12:52927e5118f9
dep/animone: header cleanup
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Wed, 08 May 2024 16:43:32 -0400 |
| parents | aa55bcfb5b79 |
| children | 27b988a1048c |
comparison
equal
deleted
inserted
replaced
| 11:89adf9798083 | 12:52927e5118f9 |
|---|---|
| 28 * at least, so it's unlikely to be changed much ever. | 28 * at least, so it's unlikely to be changed much ever. |
| 29 */ | 29 */ |
| 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 * | |
| 34 * TODO: implement SystemHandleInformation for systems older than XP | |
| 35 */ | 33 */ |
| 36 static constexpr SYSTEM_INFORMATION_CLASS SystemExtendedHandleInformation = static_cast<SYSTEM_INFORMATION_CLASS>(0x40); | 34 static constexpr SYSTEM_INFORMATION_CLASS SystemExtendedHandleInformation = static_cast<SYSTEM_INFORMATION_CLASS>(0x40); |
| 37 static constexpr NTSTATUS STATUS_INFO_LENGTH_MISMATCH = 0xC0000004UL; | 35 static 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) |
