From d82796778f91d61eaa9ca0e1086d263227b7fbe4 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 16 Dec 2017 21:43:49 +0100 Subject: [PATCH] [PSDK] Add some missing defines CORE-14090 --- sdk/include/psdk/ntdddisk.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/include/psdk/ntdddisk.h b/sdk/include/psdk/ntdddisk.h index 064ebbfd767..9deb6abc793 100644 --- a/sdk/include/psdk/ntdddisk.h +++ b/sdk/include/psdk/ntdddisk.h @@ -109,6 +109,9 @@ extern "C" { #define IOCTL_DISK_INTERNAL_SET_VERIFY \ CTL_CODE(IOCTL_DISK_BASE, 0x0100, METHOD_NEITHER, FILE_ANY_ACCESS) +#define IOCTL_DISK_INTERNAL_SET_NOTIFY \ + CTL_CODE(IOCTL_DISK_BASE, 0x0102, METHOD_BUFFERED, FILE_ANY_ACCESS) + #define IOCTL_DISK_IS_WRITABLE \ CTL_CODE(IOCTL_DISK_BASE, 0x0009, METHOD_BUFFERED, FILE_ANY_ACCESS) @@ -185,6 +188,9 @@ extern "C" { #define IOCTL_DISK_COPY_DATA \ CTL_CODE(IOCTL_DISK_BASE, 0x0019, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) +#define IOCTL_DISK_SIMBAD \ + CTL_CODE(IOCTL_DISK_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + #define SMART_GET_VERSION \ CTL_CODE(IOCTL_DISK_BASE, 0x0020, METHOD_BUFFERED, FILE_READ_ACCESS)