https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d82796778f91d61eaa9ca…
commit d82796778f91d61eaa9ca0e1086d263227b7fbe4
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Dec 16 21:43:49 2017 +0100
[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 064ebbfd76..9deb6abc79 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)