Mercurial > minori
comparison dep/animone/src/fd/win32.cc @ 285:65df2813d0de
dep/animone: header cleanup
| author | Paper <paper@paper.us.eu.org> | 
|---|---|
| date | Wed, 08 May 2024 16:43:32 -0400 | 
| parents | 09c5bd74fe93 | 
| children | b1f625b0227c | 
   comparison
  equal
  deleted
  inserted
  replaced
| 284:e66ffc338d82 | 285:65df2813d0de | 
|---|---|
| 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) | 
