mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
[PSDK]
- Add some missing structures in ioevent.h [DDK] - Add some more missing definitions. svn path=/trunk/; revision=48863
This commit is contained in:
parent
d7d6e5e9c3
commit
7c9e442a28
2 changed files with 68 additions and 4 deletions
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
#include <scsi.h>
|
#include <scsi.h>
|
||||||
|
|
||||||
#define DEBUG_BUFFER_LENGTH 256
|
|
||||||
|
|
||||||
#define SRB_CLASS_FLAGS_LOW_PRIORITY 0x10000000
|
#define SRB_CLASS_FLAGS_LOW_PRIORITY 0x10000000
|
||||||
#define SRB_CLASS_FLAGS_PERSISTANT 0x20000000
|
#define SRB_CLASS_FLAGS_PERSISTANT 0x20000000
|
||||||
#define SRB_CLASS_FLAGS_PAGING 0x40000000
|
#define SRB_CLASS_FLAGS_PAGING 0x40000000
|
||||||
|
@ -54,6 +52,33 @@
|
||||||
#define ClassAcquireRemoveLock(devobj, tag) \
|
#define ClassAcquireRemoveLock(devobj, tag) \
|
||||||
ClassAcquireRemoveLockEx(devobj, tag, __FILE__, __LINE__)
|
ClassAcquireRemoveLockEx(devobj, tag, __FILE__, __LINE__)
|
||||||
|
|
||||||
|
#ifdef TRY
|
||||||
|
#undef TRY
|
||||||
|
#endif
|
||||||
|
#ifdef LEAVE
|
||||||
|
#undef LEAVE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef FINALLY
|
||||||
|
#undef FINALLY
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define TRY
|
||||||
|
#define LEAVE goto __tryLabel;
|
||||||
|
#define FINALLY __tryLabel:
|
||||||
|
|
||||||
|
#if defined DebugPrint
|
||||||
|
#undef DebugPrint
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if DBG
|
||||||
|
#define DebugPrint(x) ClassDebugPrint x
|
||||||
|
#else
|
||||||
|
#define DebugPrint(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define DEBUG_BUFFER_LENGTH 256
|
||||||
|
|
||||||
#define START_UNIT_TIMEOUT (60 * 4)
|
#define START_UNIT_TIMEOUT (60 * 4)
|
||||||
|
|
||||||
#define MEDIA_CHANGE_DEFAULT_TIME 1
|
#define MEDIA_CHANGE_DEFAULT_TIME 1
|
||||||
|
@ -658,6 +683,7 @@ typedef struct _FUNCTIONAL_DEVICE_EXTENSION {
|
||||||
ULONG_PTR Reserved2;
|
ULONG_PTR Reserved2;
|
||||||
ULONG_PTR Reserved3;
|
ULONG_PTR Reserved3;
|
||||||
ULONG_PTR Reserved4;
|
ULONG_PTR Reserved4;
|
||||||
|
|
||||||
#endif /* (NTDDI_VERSION <= NTDDI_WIN2K) */
|
#endif /* (NTDDI_VERSION <= NTDDI_WIN2K) */
|
||||||
|
|
||||||
} FUNCTIONAL_DEVICE_EXTENSION, *PFUNCTIONAL_DEVICE_EXTENSION;
|
} FUNCTIONAL_DEVICE_EXTENSION, *PFUNCTIONAL_DEVICE_EXTENSION;
|
||||||
|
|
|
@ -71,6 +71,44 @@ DEFINE_GUID(GUID_IO_DISK_CLONE_ARRIVAL,
|
||||||
DEFINE_GUID(GUID_IO_DISK_LAYOUT_CHANGE,
|
DEFINE_GUID(GUID_IO_DISK_LAYOUT_CHANGE,
|
||||||
0x11DFF54C, 0x8469, 0x41F9, 0xB3, 0xDE, 0xEF, 0x83, 0x64, 0x87, 0xC5, 0x4A);
|
0x11DFF54C, 0x8469, 0x41F9, 0xB3, 0xDE, 0xEF, 0x83, 0x64, 0x87, 0xC5, 0x4A);
|
||||||
|
|
||||||
|
typedef struct _DEVICE_EVENT_MOUNT {
|
||||||
|
ULONG Version;
|
||||||
|
ULONG Flags;
|
||||||
|
ULONG FileSystemNameLength;
|
||||||
|
ULONG FileSystemNameOffset;
|
||||||
|
} DEVICE_EVENT_MOUNT, *PDEVICE_EVENT_MOUNT;
|
||||||
|
|
||||||
|
typedef struct _DEVICE_EVENT_BECOMING_READY {
|
||||||
|
ULONG Version;
|
||||||
|
ULONG Reason;
|
||||||
|
ULONG Estimated100msToReady;
|
||||||
|
} DEVICE_EVENT_BECOMING_READY, *PDEVICE_EVENT_BECOMING_READY;
|
||||||
|
|
||||||
|
typedef struct _DEVICE_EVENT_EXTERNAL_REQUEST {
|
||||||
|
ULONG Version;
|
||||||
|
ULONG DeviceClass;
|
||||||
|
USHORT ButtonStatus;
|
||||||
|
USHORT Request;
|
||||||
|
LARGE_INTEGER SystemTime;
|
||||||
|
} DEVICE_EVENT_EXTERNAL_REQUEST, *PDEVICE_EVENT_EXTERNAL_REQUEST;
|
||||||
|
|
||||||
|
typedef struct _DEVICE_EVENT_GENERIC_DATA {
|
||||||
|
ULONG EventNumber;
|
||||||
|
} DEVICE_EVENT_GENERIC_DATA, *PDEVICE_EVENT_GENERIC_DATA;
|
||||||
|
|
||||||
|
typedef struct _DEVICE_EVENT_RBC_DATA {
|
||||||
|
ULONG EventNumber;
|
||||||
|
UCHAR SenseQualifier;
|
||||||
|
UCHAR SenseCode;
|
||||||
|
UCHAR SenseKey;
|
||||||
|
UCHAR Reserved;
|
||||||
|
ULONG Information;
|
||||||
|
} DEVICE_EVENT_RBC_DATA, *PDEVICE_EVENT_RBC_DATA;
|
||||||
|
|
||||||
|
typedef struct _GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION {
|
||||||
|
ULONG DiskNumber;
|
||||||
|
} GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION, *PGUID_IO_DISK_CLONE_ARRIVAL_INFORMATION;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue