OSDN Git Service

Correct project name references in w32api source files.
[mingw/mingw-org-wsl.git] / w32api / include / ddk / ntdddisk.h
index e82bea3..5cf72d1 100644 (file)
@@ -4,7 +4,7 @@
  * Driver Development Kit -- Disk IOCTL interface.
  *
  * Written by Casper S. Hornstrup  <chorns@users.sourceforge.net>
- * Copyright (C) 2002-2004, 2015, 2016, MinGW.org Project.
+ * Copyright (C) 2002-2004, 2015, 2016, 2022, MinGW.OSDN Project
  *
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -55,7 +55,7 @@
  */
 #define __IOCTL_DISK_(FN,M,A)                    CTL_CODE(IOCTL_DISK_BASE,(FN),(M),(A))
 
-#define IOCTL_DISK_BASE                          FILE_TYPE_DISK
+#define IOCTL_DISK_BASE                          FILE_DEVICE_DISK
 #define IOCTL_DISK_GET_DRIVE_GEOMETRY          __FILE_AM_BUFFERED(__IOCTL_DISK_,0x0000)
 #define IOCTL_DISK_GET_PARTITION_INFO          __FILE_RD_BUFFERED(__IOCTL_DISK_,0x0001)
 #define IOCTL_DISK_SET_PARTITION_INFO          __FILE_RW_BUFFERED(__IOCTL_DISK_,0x0002)