// rxcontx.h
typedef enum {
RX_CONTEXT_FLAG_FROM_POOL = 0x00000001,
RX_CONTEXT_FLAG_WAIT = 0x00000002,
RX_CONTEXT_FLAG_WRITE_THROUGH = 0x00000004,
RX_CONTEXT_FLAG_FLOPPY = 0x00000008,
RX_CONTEXT_FLAG_RECURSIVE_CALL = 0x00000010,
RX_CONTEXT_FLAG_THIS_DEVICE_TOP_LEVEL = 0x00000020,
RX_CONTEXT_FLAG_DEFERRED_WRITE = 0x00000040,
RX_CONTEXT_FLAG_VERIFY_READ = 0x00000080,
RX_CONTEXT_FLAG_STACK_IO_CONTEZT = 0x00000100,
RX_CONTEXT_FLAG_IN_FSP = 0x00000200,
RX_CONTEXT_FLAG_CREATE_MAILSLOT = 0x00000400,
RX_CONTEXT_FLAG_MAILSLOT_REPARSE = 0x00000800,
RX_CONTEXT_FLAG_ASYNC_OPERATION = 0x00001000,
RX_CONTEXT_FLAG_NO_COMPLETE_FROM_FSP = 0x00002000,
RX_CONTEXT_FLAG_POST_ON_STABLE_CONDITION = 0x00004000,
RX_CONTEXT_FLAG_FSP_DELAYED_OVERFLOW_QUEUE = 0x00008000,
RX_CONTEXT_FLAG_FSP_CRITICAL_OVERFLOW_QUEUE = 0x00010000,
RX_CONTEXT_FLAG_MINIRDR_INVOKED = 0x00020000,
RX_CONTEXT_FLAG_WAITING_FOR_RESOURCE = 0x00040000,
RX_CONTEXT_FLAG_CANCELLED = 0x00080000,
RX_CONTEXT_FLAG_SYNC_EVENT_WAITERS = 0x00100000,
RX_CONTEXT_FLAG_NO_PREPOSTING_NEEDED = 0x00200000,
RX_CONTEXT_FLAG_BYPASS_VALIDOP_CHECK = 0x00400000,
RX_CONTEXT_FLAG_BLOCKED_PIPE_RESUME = 0x00800000,
RX_CONTEXT_FLAG_IN_SERIALIZATION_QUEUE = 0x01000000,
RX_CONTEXT_FLAG_NO_EXCEPTION_BREAKPOINT = 0x02000000,
RX_CONTEXT_FLAG_NEEDRECONNECT = 0x04000000,
RX_CONTEXT_FLAG_MUST_SUCCEED = 0x08000000,
RX_CONTEXT_FLAG_MUST_SUCCEED_NONBLOCKING = 0x10000000,
RX_CONTEXT_FLAG_MUST_SUCCEED_ALLOCATED = 0x20000000,
RX_CONTEXT_FLAG_MINIRDR_INITIATED = 0x80000000
} RX_CONTEXT_FLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
The RX_CONTEXT_FLAGS enumeration specifies flags set by RDBSS during context creation.
RX_CONTEXT_FLAG_FROM_POOL:0x00000001The context was allocated from pool memory.
RX_CONTEXT_FLAG_WAIT:0x00000002The operation should wait for completion.
RX_CONTEXT_FLAG_WRITE_THROUGH:0x00000004The data must actually be transfered to the file before any requested write operation is considered complete.
RX_CONTEXT_FLAG_FLOPPY:0x00000008The operation involves a floppy disk.
RX_CONTEXT_FLAG_RECURSIVE_CALL:0x00000010Indicates that the call is a recursive call.
RX_CONTEXT_FLAG_THIS_DEVICE_TOP_LEVEL:0x00000020Set when the TopLevelIrp field in the thread local storage isn't the current IRP.
RX_CONTEXT_FLAG_DEFERRED_WRITE:0x00000040The write operation is deferred.
RX_CONTEXT_FLAG_VERIFY_READ:0x00000080The read operation should be verified.
RX_CONTEXT_FLAG_STACK_IO_CONTEZT:0x00000100The I/O context is on the stack.
RX_CONTEXT_FLAG_IN_FSP:0x00000200The operation is being processed by the file system process.
RX_CONTEXT_FLAG_CREATE_MAILSLOT:0x00000400A mailslot is being created.
RX_CONTEXT_FLAG_MAILSLOT_REPARSE:0x00000800Indicates a mailslot reparse operation.
RX_CONTEXT_FLAG_ASYNC_OPERATION:0x00001000The operation is asynchronous.
RX_CONTEXT_FLAG_NO_COMPLETE_FROM_FSP:0x00002000The operation should not be completed by the file system process.
RX_CONTEXT_FLAG_POST_ON_STABLE_CONDITION:0x00004000Post the operation only when the condition is stable.
RX_CONTEXT_FLAG_FSP_DELAYED_OVERFLOW_QUEUE:0x00008000The operation is in the file system process delayed overflow queue.
RX_CONTEXT_FLAG_FSP_CRITICAL_OVERFLOW_QUEUE:0x00010000The operation is in the file system process critical overflow queue.
RX_CONTEXT_FLAG_MINIRDR_INVOKED:0x00020000Indicates that the mini-redirector invoked the operation.
RX_CONTEXT_FLAG_WAITING_FOR_RESOURCE:0x00040000The operation is waiting for a resource.
RX_CONTEXT_FLAG_CANCELLED:0x00080000The operation was cancelled.
RX_CONTEXT_FLAG_SYNC_EVENT_WAITERS:0x00100000There are waiters on a synchronous event.
RX_CONTEXT_FLAG_NO_PREPOSTING_NEEDED:0x00200000No preposting is needed for the operation.
RX_CONTEXT_FLAG_BYPASS_VALIDOP_CHECK:0x00400000Bypass the valid operation check.
RX_CONTEXT_FLAG_BLOCKED_PIPE_RESUME:0x00800000A blocked pipe operation is being resumed.
RX_CONTEXT_FLAG_IN_SERIALIZATION_QUEUE:0x01000000The operation is in the serialization queue.
RX_CONTEXT_FLAG_NO_EXCEPTION_BREAKPOINT:0x02000000Prevent an exception breakpoint.
RX_CONTEXT_FLAG_NEEDRECONNECT:0x04000000A reconnect is needed.
RX_CONTEXT_FLAG_MUST_SUCCEED:0x08000000The operation must succeed.
RX_CONTEXT_FLAG_MUST_SUCCEED_NONBLOCKING:0x10000000The operation must succeed without blocking.
RX_CONTEXT_FLAG_MUST_SUCCEED_ALLOCATED:0x20000000Resources must be allocated for the operation to succeed.
RX_CONTEXT_FLAG_MINIRDR_INITIATED:0x80000000The operation was initiated by the mini-redirector.