windows-nt/Source/XPSP1/NT/base/pnp/test/pnptest/pnptest.h
2020-09-26 16:20:57 +08:00

18 lines
747 B
C

#define PNPTEST_IOCTL_INDEX 0x950
#define IOCTL_SET CTL_CODE(FILE_DEVICE_CONTROLLER, \
PNPTEST_IOCTL_INDEX, \
METHOD_BUFFERED, \
FILE_ANY_ACCESS)
#define IOCTL_CLEAR CTL_CODE(FILE_DEVICE_CONTROLLER, \
PNPTEST_IOCTL_INDEX+1, \
METHOD_BUFFERED, \
FILE_ANY_ACCESS)
#define IOCTL_GET_PROP CTL_CODE(FILE_DEVICE_CONTROLLER, \
PNPTEST_IOCTL_INDEX+2, \
METHOD_BUFFERED, \
FILE_ANY_ACCESS)