[NTOS:IO] Reformat iorsrce.c, no functional code changes.

- Fix whitespace; add SAL annotations, doxygen documentation...

- Deduplicate the array of description strings corresponding to
  IO_QUERY_DEVICE_DATA_FORMAT.

- Unhardcode the "[3]" into 'IoQueryDeviceMaxData': the maximum number
  of device data queried.
This commit is contained in:
Hermès Bélusca-Maïto 2023-05-27 22:48:50 +02:00
parent 509359b3ec
commit 2674e26cbb
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 920 additions and 805 deletions

View file

@ -1492,7 +1492,7 @@ IoQueryDeviceDescription(
_In_opt_ PCONFIGURATION_TYPE PeripheralType,
_In_opt_ PULONG PeripheralNumber,
_In_ PIO_QUERY_DEVICE_ROUTINE CalloutRoutine,
_Inout_opt_ PVOID Context);
_In_opt_ PVOID Context);
_IRQL_requires_max_(APC_LEVEL)
NTKERNELAPI