struct _IO_STACK_LOCATION { unsigned char MajorFunction;/* 0x0 1 */ unsigned char MinorFunction;/* 0x1 1 */ unsigned char Flags;/* 0x2 1 */ unsigned char Control;/* 0x3 1 */ union { struct { struct _IO_SECURITY_CONTEXT* SecurityContext;/* 0x4 4 */ unsigned long Options;/* 0x8 4 */ unsigned short FileAttributes;/* 0xc 2 */ unsigned short ShareAccess;/* 0xe 2 */ unsigned long EaLength;/* 0x10 4 */ } Create;/* 0x4 16 */ struct { struct _IO_SECURITY_CONTEXT* SecurityContext;/* 0x4 4 */ unsigned long Options;/* 0x8 4 */ unsigned short Reserved;/* 0xc 2 */ unsigned short ShareAccess;/* 0xe 2 */ struct _NAMED_PIPE_CREATE_PARAMETERS* Parameters;/* 0x10 4 */ } CreatePipe;/* 0x4 16 */ struct { struct _IO_SECURITY_CONTEXT* SecurityContext;/* 0x4 4 */ unsigned long Options;/* 0x8 4 */ unsigned short Reserved;/* 0xc 2 */ unsigned short ShareAccess;/* 0xe 2 */ struct _MAILSLOT_CREATE_PARAMETERS* Parameters;/* 0x10 4 */ } CreateMailslot;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ unsigned long Key;/* 0x8 4 */ union _LARGE_INTEGER ByteOffset;/* 0xc 8 */ } Read;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ unsigned long Key;/* 0x8 4 */ union _LARGE_INTEGER ByteOffset;/* 0xc 8 */ } Write;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ struct _UNICODE_STRING* FileName;/* 0x8 4 */ enum _FILE_INFORMATION_CLASS FileInformationClass;/* 0xc 4 */ unsigned long FileIndex;/* 0x10 4 */ } QueryDirectory;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ unsigned long CompletionFilter;/* 0x8 4 */ } NotifyDirectory;/* 0x4 8 */ struct { unsigned long Length;/* 0x4 4 */ unsigned long CompletionFilter;/* 0x8 4 */ enum _DIRECTORY_NOTIFY_INFORMATION_CLASS DirectoryNotifyInformationClass;/* 0xc 4 */ } NotifyDirectoryEx;/* 0x4 12 */ struct { unsigned long Length;/* 0x4 4 */ enum _FILE_INFORMATION_CLASS FileInformationClass;/* 0x8 4 */ } QueryFile;/* 0x4 8 */ struct { unsigned long Length;/* 0x4 4 */ enum _FILE_INFORMATION_CLASS FileInformationClass;/* 0x8 4 */ struct _FILE_OBJECT* FileObject;/* 0xc 4 */ union { struct { unsigned char ReplaceIfExists;/* 0x10 1 */ unsigned char AdvanceOnly;/* 0x11 1 */ };/* 0x10 2 */ unsigned long ClusterCount;/* 0x10 4 */ void* DeleteHandle;/* 0x10 4 */ };/* 0x10 4 */ } SetFile;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ void* EaList;/* 0x8 4 */ unsigned long EaListLength;/* 0xc 4 */ unsigned long EaIndex;/* 0x10 4 */ } QueryEa;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ } SetEa;/* 0x4 4 */ struct { unsigned long Length;/* 0x4 4 */ enum _FSINFOCLASS FsInformationClass;/* 0x8 4 */ } QueryVolume;/* 0x4 8 */ struct { unsigned long Length;/* 0x4 4 */ enum _FSINFOCLASS FsInformationClass;/* 0x8 4 */ } SetVolume;/* 0x4 8 */ struct { unsigned long OutputBufferLength;/* 0x4 4 */ unsigned long InputBufferLength;/* 0x8 4 */ unsigned long FsControlCode;/* 0xc 4 */ void* Type3InputBuffer;/* 0x10 4 */ } FileSystemControl;/* 0x4 16 */ struct { union _LARGE_INTEGER* Length;/* 0x4 4 */ unsigned long Key;/* 0x8 4 */ union _LARGE_INTEGER ByteOffset;/* 0xc 8 */ } LockControl;/* 0x4 16 */ struct { unsigned long OutputBufferLength;/* 0x4 4 */ unsigned long InputBufferLength;/* 0x8 4 */ unsigned long IoControlCode;/* 0xc 4 */ void* Type3InputBuffer;/* 0x10 4 */ } DeviceIoControl;/* 0x4 16 */ struct { unsigned long SecurityInformation;/* 0x4 4 */ unsigned long Length;/* 0x8 4 */ } QuerySecurity;/* 0x4 8 */ struct { unsigned long SecurityInformation;/* 0x4 4 */ void* SecurityDescriptor;/* 0x8 4 */ } SetSecurity;/* 0x4 8 */ struct { struct _VPB* Vpb;/* 0x4 4 */ struct _DEVICE_OBJECT* DeviceObject;/* 0x8 4 */ } MountVolume;/* 0x4 8 */ struct { struct _VPB* Vpb;/* 0x4 4 */ struct _DEVICE_OBJECT* DeviceObject;/* 0x8 4 */ } VerifyVolume;/* 0x4 8 */ struct { struct _SCSI_REQUEST_BLOCK* Srb;/* 0x4 4 */ } Scsi;/* 0x4 4 */ struct { unsigned long Length;/* 0x4 4 */ void* StartSid;/* 0x8 4 */ struct _FILE_GET_QUOTA_INFORMATION* SidList;/* 0xc 4 */ unsigned long SidListLength;/* 0x10 4 */ } QueryQuota;/* 0x4 16 */ struct { unsigned long Length;/* 0x4 4 */ } SetQuota;/* 0x4 4 */ struct { enum _DEVICE_RELATION_TYPE Type;/* 0x4 4 */ } QueryDeviceRelations;/* 0x4 4 */ struct { const struct _GUID* InterfaceType;/* 0x4 4 */ unsigned short Size;/* 0x8 2 */ unsigned short Version;/* 0xa 2 */ struct _INTERFACE* Interface;/* 0xc 4 */ void* InterfaceSpecificData;/* 0x10 4 */ } QueryInterface;/* 0x4 16 */ struct { struct _DEVICE_CAPABILITIES* Capabilities;/* 0x4 4 */ } DeviceCapabilities;/* 0x4 4 */ struct { struct _IO_RESOURCE_REQUIREMENTS_LIST* IoResourceRequirementList;/* 0x4 4 */ } FilterResourceRequirements;/* 0x4 4 */ struct { unsigned long WhichSpace;/* 0x4 4 */ void* Buffer;/* 0x8 4 */ unsigned long Offset;/* 0xc 4 */ unsigned long Length;/* 0x10 4 */ } ReadWriteConfig;/* 0x4 16 */ struct { unsigned char Lock;/* 0x4 1 */ } SetLock;/* 0x4 1 */ struct { enum BUS_QUERY_ID_TYPE IdType;/* 0x4 4 */ } QueryId;/* 0x4 4 */ struct { enum DEVICE_TEXT_TYPE DeviceTextType;/* 0x4 4 */ unsigned long LocaleId;/* 0x8 4 */ } QueryDeviceText;/* 0x4 8 */ struct { unsigned char InPath;/* 0x4 1 */ unsigned char Reserved[3];/* 0x5 3 */ enum _DEVICE_USAGE_NOTIFICATION_TYPE Type;/* 0x8 4 */ } UsageNotification;/* 0x4 8 */ struct { enum _SYSTEM_POWER_STATE PowerState;/* 0x4 4 */ } WaitWake;/* 0x4 4 */ struct { struct _POWER_SEQUENCE* PowerSequence;/* 0x4 4 */ } PowerSequence;/* 0x4 4 */ struct { union { unsigned long SystemContext;/* 0x4 4 */ struct _SYSTEM_POWER_STATE_CONTEXT SystemPowerStateContext;/* 0x4 4 */ };/* 0x4 4 */ enum _POWER_STATE_TYPE Type;/* 0x8 4 */ union _POWER_STATE State;/* 0xc 4 */ enum POWER_ACTION ShutdownType;/* 0x10 4 */ } Power;/* 0x4 16 */ struct { struct _CM_RESOURCE_LIST* AllocatedResources;/* 0x4 4 */ struct _CM_RESOURCE_LIST* AllocatedResourcesTranslated;/* 0x8 4 */ } StartDevice;/* 0x4 8 */ struct { unsigned long ProviderId;/* 0x4 4 */ void* DataPath;/* 0x8 4 */ unsigned long BufferSize;/* 0xc 4 */ void* Buffer;/* 0x10 4 */ } WMI;/* 0x4 16 */ struct { void* Argument1;/* 0x4 4 */ void* Argument2;/* 0x8 4 */ void* Argument3;/* 0xc 4 */ void* Argument4;/* 0x10 4 */ } Others;/* 0x4 16 */ } Parameters;/* 0x4 16 */ struct _DEVICE_OBJECT* DeviceObject;/* 0x14 4 */ struct _FILE_OBJECT* FileObject;/* 0x18 4 */ long (*CompletionRoutine)(struct _DEVICE_OBJECT*, struct _IRP*, void*);/* 0x1c 4 */ void* Context;/* 0x20 4 */};size 36 (0x24)9 members0 holespadding 01 cacheline
Used in (1)