alpha / ntoskrnl /

_IO_STACK_LOCATION

← 4.0.1381.1 2 builds latest →
struct _IO_STACK_LOCATION {
unsigned char MajorFunction;/* 0x0 1 */
unsigned char MinorFunction;/* 0x1 1 */
unsigned char Flags;/* 0x2 1 */
unsigned char Control;/* 0x3 1 */
/* 4 bytes padding */
union {
struct {
unsigned long Options;/* 0xc 4 */
unsigned short FileAttributes;/* 0x10 2 */
unsigned short ShareAccess;/* 0x12 2 */
unsigned long EaLength;/* 0x14 4 */
} Create;/* 0x8 16 */
struct {
unsigned long Options;/* 0xc 4 */
unsigned short Reserved;/* 0x10 2 */
unsigned short ShareAccess;/* 0x12 2 */
} CreatePipe;/* 0x8 16 */
struct {
unsigned long Options;/* 0xc 4 */
unsigned short Reserved;/* 0x10 2 */
unsigned short ShareAccess;/* 0x12 2 */
} CreateMailslot;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
unsigned long Key;/* 0xc 4 */
} Read;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
unsigned long Key;/* 0xc 4 */
} Write;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
int FileInformationClass;/* 0x10 4 */
unsigned long FileIndex;/* 0x14 4 */
} QueryDirectory;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
unsigned long CompletionFilter;/* 0xc 4 */
} NotifyDirectory;/* 0x8 8 */
struct {
unsigned long Length;/* 0x8 4 */
int FileInformationClass;/* 0xc 4 */
} QueryFile;/* 0x8 8 */
struct {
unsigned long Length;/* 0x8 4 */
int FileInformationClass;/* 0xc 4 */
union {
struct {
unsigned char ReplaceIfExists;/* 0x14 1 */
unsigned char AdvanceOnly;/* 0x15 1 */
};/* 0x14 2 */
unsigned long ClusterCount;/* 0x14 4 */
void* DeleteHandle;/* 0x14 4 */
};/* 0x14 4 */
} SetFile;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
void* EaList;/* 0xc 4 */
unsigned long EaListLength;/* 0x10 4 */
unsigned long EaIndex;/* 0x14 4 */
} QueryEa;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
} SetEa;/* 0x8 4 */
struct {
unsigned long Length;/* 0x8 4 */
int FsInformationClass;/* 0xc 4 */
} QueryVolume;/* 0x8 8 */
struct {
unsigned long Length;/* 0x8 4 */
int FsInformationClass;/* 0xc 4 */
} SetVolume;/* 0x8 8 */
struct {
unsigned long OutputBufferLength;/* 0x8 4 */
unsigned long InputBufferLength;/* 0xc 4 */
unsigned long FsControlCode;/* 0x10 4 */
void* Type3InputBuffer;/* 0x14 4 */
} FileSystemControl;/* 0x8 16 */
struct {
unsigned long Key;/* 0xc 4 */
} LockControl;/* 0x8 16 */
struct {
unsigned long OutputBufferLength;/* 0x8 4 */
unsigned long InputBufferLength;/* 0xc 4 */
unsigned long IoControlCode;/* 0x10 4 */
void* Type3InputBuffer;/* 0x14 4 */
} DeviceIoControl;/* 0x8 16 */
struct {
unsigned long SecurityInformation;/* 0x8 4 */
unsigned long Length;/* 0xc 4 */
} QuerySecurity;/* 0x8 8 */
struct {
unsigned long SecurityInformation;/* 0x8 4 */
void* SecurityDescriptor;/* 0xc 4 */
} SetSecurity;/* 0x8 8 */
struct {
} MountVolume;/* 0x8 8 */
struct {
} VerifyVolume;/* 0x8 8 */
struct {
} Scsi;/* 0x8 4 */
struct {
unsigned long Length;/* 0x8 4 */
void* StartSid;/* 0xc 4 */
unsigned long SidListLength;/* 0x14 4 */
} QueryQuota;/* 0x8 16 */
struct {
unsigned long Length;/* 0x8 4 */
} SetQuota;/* 0x8 4 */
struct {
int Type;/* 0x8 4 */
} QueryDeviceRelations;/* 0x8 4 */
struct {
unsigned short Size;/* 0xc 2 */
unsigned short Version;/* 0xe 2 */
void* InterfaceSpecificData;/* 0x14 4 */
} QueryInterface;/* 0x8 16 */
struct {
} DeviceCapabilities;/* 0x8 4 */
struct {
} FilterResourceRequirements;/* 0x8 4 */
struct {
unsigned long WhichSpace;/* 0x8 4 */
void* Buffer;/* 0xc 4 */
unsigned long Offset;/* 0x10 4 */
unsigned long Length;/* 0x14 4 */
} ReadWriteConfig;/* 0x8 16 */
struct {
unsigned char Lock;/* 0x8 1 */
} SetLock;/* 0x8 1 */
struct {
int IdType;/* 0x8 4 */
} QueryId;/* 0x8 4 */
struct {
int DeviceTextType;/* 0x8 4 */
unsigned long LocaleId;/* 0xc 4 */
} QueryDeviceText;/* 0x8 8 */
struct {
unsigned char InPath;/* 0x8 1 */
unsigned char Reserved[3];/* 0x9 3 */
int Type;/* 0xc 4 */
} UsageNotification;/* 0x8 8 */
struct {
int PowerState;/* 0x8 4 */
} WaitWake;/* 0x8 4 */
struct {
} PowerSequence;/* 0x8 4 */
struct {
unsigned long SystemContext;/* 0x8 4 */
int Type;/* 0xc 4 */
int ShutdownType;/* 0x14 4 */
} Power;/* 0x8 16 */
struct {
} StartDevice;/* 0x8 8 */
struct {
unsigned long ProviderId;/* 0x8 4 */
void* DataPath;/* 0xc 4 */
unsigned long BufferSize;/* 0x10 4 */
void* Buffer;/* 0x14 4 */
} WMI;/* 0x8 16 */
struct {
void* Argument1;/* 0x8 4 */
void* Argument2;/* 0xc 4 */
void* Argument3;/* 0x10 4 */
void* Argument4;/* 0x14 4 */
} Others;/* 0x8 16 */
} Parameters;/* 0x8 16 */
long (*CompletionRoutine)(struct _DEVICE_OBJECT*, struct _IRP*, void*);/* 0x20 4 */
void* Context;/* 0x24 4 */
};
/* source: Windows 2000 RC2 DDK Alpha libcntpr.lib CodeView type records; build 2128 per the DDK's ntverp.h */
size 40 (0x28)9 members1 hole (4 bytes)padding 01 cacheline
Used in (1)