1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 DEFINE_GUID(GUID_IO_VOLUME_CHANGE,0x7373654a,0x812a,0x11d0,0xbe,0xc7,0x08,0x00,0x2b,0xe2,0x09,0x2f); 7 DEFINE_GUID(GUID_IO_VOLUME_DISMOUNT,0xd16a55e8,0x1059,0x11d2,0x8f,0xfd,0x00,0xa0,0xc9,0xa0,0x6d,0x32); 8 DEFINE_GUID(GUID_IO_VOLUME_DISMOUNT_FAILED,0xe3c5b178,0x105d,0x11d2,0x8f,0xfd,0x00,0xa0,0xc9,0xa0,0x6d,0x32); 9 DEFINE_GUID(GUID_IO_VOLUME_MOUNT,0xb5804878,0x1a96,0x11d2,0x8f,0xfd,0x00,0xa0,0xc9,0xa0,0x6d,0x32); 10 DEFINE_GUID(GUID_IO_VOLUME_LOCK,0x50708874,0xc9af,0x11d1,0x8f,0xef,0x00,0xa0,0xc9,0xa0,0x6d,0x32); 11 DEFINE_GUID(GUID_IO_VOLUME_LOCK_FAILED,0xae2eed10,0x0ba8,0x11d2,0x8f,0xfb,0x00,0xa0,0xc9,0xa0,0x6d,0x32); 12 DEFINE_GUID(GUID_IO_VOLUME_UNLOCK,0x9a8c3d68,0xd0cb,0x11d1,0x8f,0xef,0x00,0xa0,0xc9,0xa0,0x6d,0x32); 13 DEFINE_GUID(GUID_IO_VOLUME_NAME_CHANGE,0x2de97f83,0x4c06,0x11d2,0xa5,0x32,0x0,0x60,0x97,0x13,0x5,0x5a); 14 DEFINE_GUID(GUID_IO_VOLUME_PHYSICAL_CONFIGURATION_CHANGE,0x2de97f84,0x4c06,0x11d2,0xa5,0x32,0x0,0x60,0x97,0x13,0x5,0x5a); 15 DEFINE_GUID(GUID_IO_VOLUME_DEVICE_INTERFACE,0x53f5630d,0xb6bf,0x11d0,0x94,0xf2,0x00,0xa0,0xc9,0x1e,0xfb,0x8b); 16 DEFINE_GUID(GUID_IO_MEDIA_ARRIVAL,0xd07433c0,0xa98e,0x11d2,0x91,0x7a,0x00,0xa0,0xc9,0x06,0x8f,0xf3); 17 DEFINE_GUID(GUID_IO_MEDIA_REMOVAL,0xd07433c1,0xa98e,0x11d2,0x91,0x7a,0x00,0xa0,0xc9,0x06,0x8f,0xf3); 18 DEFINE_GUID(GUID_IO_DEVICE_BECOMING_READY,0xd07433f0,0xa98e,0x11d2,0x91,0x7a,0x00,0xa0,0xc9,0x06,0x8f,0xf3); 19 20 typedef struct _DEVICE_EVENT_BECOMING_READY { 21 ULONG Version; 22 ULONG Reason; 23 ULONG Estimated100msToReady; 24 } DEVICE_EVENT_BECOMING_READY,*PDEVICE_EVENT_BECOMING_READY; 25 26 DEFINE_GUID(GUID_IO_DEVICE_EXTERNAL_REQUEST,0xd07433d0,0xa98e,0x11d2,0x91,0x7a,0x00,0xa0,0xc9,0x06,0x8f,0xf3); 27 DEFINE_GUID(GUID_IO_MEDIA_EJECT_REQUEST,0xd07433d1,0xa98e,0x11d2,0x91,0x7a,0x00,0xa0,0xc9,0x06,0x8f,0xf3); 28 29 typedef struct _DEVICE_EVENT_EXTERNAL_REQUEST { 30 ULONG Version; 31 ULONG DeviceClass; 32 USHORT ButtonStatus; 33 USHORT Request; 34 LARGE_INTEGER SystemTime; 35 } DEVICE_EVENT_EXTERNAL_REQUEST,*PDEVICE_EVENT_EXTERNAL_REQUEST; 36 37 DEFINE_GUID(GUID_IO_DRIVE_REQUIRES_CLEANING,0x7207877c,0x90ed,0x44e5,0xa0,0x0,0x81,0x42,0x8d,0x4c,0x79,0xbb); 38 DEFINE_GUID(GUID_IO_TAPE_ERASE,0x852d11eb,0x4bb8,0x4507,0x9d,0x9b,0x41,0x7c,0xc2,0xb1,0xb4,0x38); 39 40 typedef struct _DEVICE_EVENT_GENERIC_DATA { 41 ULONG EventNumber; 42 } DEVICE_EVENT_GENERIC_DATA,*PDEVICE_EVENT_GENERIC_DATA; 43 44 DEFINE_GUID(GUID_DEVICE_EVENT_RBC,0xd0744792,0xa98e,0x11d2,0x91,0x7a,0x00,0xa0,0xc9,0x06,0x8f,0xf3); 45 46 typedef struct _DEVICE_EVENT_RBC_DATA { 47 ULONG EventNumber; 48 UCHAR SenseQualifier; 49 UCHAR SenseCode; 50 UCHAR SenseKey; 51 UCHAR Reserved; 52 ULONG Information; 53 } DEVICE_EVENT_RBC_DATA,*PDEVICE_EVENT_RBC_DATA; 54 55 DEFINE_GUID(GUID_IO_DISK_CLONE_ARRIVAL,0x6a61885b,0x7c39,0x43dd,0x9b,0x56,0xb8,0xac,0x22,0xa5,0x49,0xaa); 56 57 typedef struct _GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { 58 ULONG DiskNumber; 59 } GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION,*PGUID_IO_DISK_CLONE_ARRIVAL_INFORMATION; 60 61 DEFINE_GUID(GUID_IO_DISK_LAYOUT_CHANGE,0x11dff54c,0x8469,0x41f9,0xb3,0xde,0xef,0x83,0x64,0x87,0xc5,0x4a); 62