pBuf (PVOID) - input
The output data for each function is shown in the following list (all lengths are in bytes):
┌──────────┬──────────┬────────────────────────────────────────┐ │Function │DataLen │Returned Information │ ├──────────┼──────────┼────────────────────────────────────────┤ │ 1 │ 2 │Total number of partitionable disks in │ │ │ │the system (1-based). │ ├──────────┼──────────┼────────────────────────────────────────┤ │ 2 │ 2 │Handle for the specified partitionable │ │ │ │disk for the Category 09h Physical Disk │ │ │ │Control IOCtl Commands. │ ├──────────┼──────────┼────────────────────────────────────────┤ │ 3 │ 0 │None - pointer must be zero. │ └──────────┴──────────┴────────────────────────────────────────┘