https://git.reactos.org/?p=reactos.git;a=commitdiff;h=63d46228b8e9c70c2510d…
commit 63d46228b8e9c70c2510d049371600a68acefef3
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun Dec 3 18:09:43 2017 +0100
[PSDK] Define the IOCTL_CDROM_EJECT_MEDIA IOCTL
---
sdk/include/psdk/ntddcdrm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sdk/include/psdk/ntddcdrm.h b/sdk/include/psdk/ntddcdrm.h
index c23487dade..ce6766299a 100644
--- a/sdk/include/psdk/ntddcdrm.h
+++ b/sdk/include/psdk/ntddcdrm.h
@@ -91,6 +91,9 @@ extern "C" {
#define IOCTL_CDROM_STOP_AUDIO \
CTL_CODE(IOCTL_CDROM_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS)
+#define IOCTL_CDROM_EJECT_MEDIA \
+ CTL_CODE(IOCTL_CDROM_BASE, 0x0202, METHOD_BUFFERED, FILE_READ_ACCESS)
+
#define MAXIMUM_NUMBER_TRACKS 100
#define MAXIMUM_CDROM_SIZE 804