Ioctl

Finding a constant from an IOCTL numeric value

Description

Have you ever tried to find the IOCTL constant of value 0x140FD3 ? Well, if yes, then you probably know that is nearly impossible to find the appropriate constant. The IOCTL constants are not defined in header files directly, but using the CTL_CODE macro:

#define IOCTL_STORAGE_CHECK_VERIFY CTL_CODE(IOCTL_STORAGE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)

Searching headers for the constant is useless. The Ioctl tool does this dirty work for you, just write this on the command line:

ioctl 0x140FD3 

Ioctl shows the following result:

Ioctl output

Download