System-Defined Enumerations and Constants

The Windows kernel defines enumerations and constants that kernel-mode drivers use to implement standard driver routines and to call driver support routines.

This section describes the following enumerations and constants:

In this section

TopicDescription

BDCB_CALLBACK_TYPE

The BDCB_CALLBACK_TYPE enumeration specifies whether the callback being passed to a BOOT_DRIVER_CALLBACK_FUNCTION routine is a status update or a boot-start driver initialization notification.

BDCB_CLASSIFICATION

The BDCB_CLASSIFICATION enumeration lists different classifications of boot start images.

BDCB_STATUS_UPDATE_TYPE

The BDCB_STATUS_UPDATE_TYPE enumeration lists the types of boot-driver callback status updates.

BOUND_CALLBACK_STATUS

The BOUND_CALLBACK_STATUS enumeration indicates how a user-mode bounds exception was processed by the BoundCallback function.

BUS_DATA_TYPE

The BUS_DATA_TYPE enumeration indicates the type of bus configuration space.

CLFS_CONTEXT_MODE

The CLFS_CONTEXT_MODE enumeration indicates the type of sequence that the Common Log File System (CLFS) driver follows when it reads a set of records from a stream.

CLFS_LOG_INFORMATION_CLASS

The CLFS_LOG_INFORMATION_CLASS enumeration indicates the type of information that is requested by a call to ClfsQueryLogFileInformation.

CLFS_MGMT_POLICY_TYPE

The CLFS_MGMT_POLICY_TYPE enumeration type identifies the type of a CLFS management policy.

D3COLD_LAST_TRANSITION_STATUS

The D3COLD_LAST_TRANSITION_STATUS enumeration indicates whether the most recent transition to the D3hot device power state was followed by a transition to the D3cold device power state.

DEVICE_INSTALL_STATE

The DEVICE_INSTALL_STATE enumeration describes a device's installation state.

DEVICE_POWER_STATE

The DEVICE_POWER_STATE enumeration type indicates a device power state.

DEVICE_REGISTRY_PROPERTY

The DEVICE_REGISTRY_PROPERTY enumeration identifies device properties that are stored in the registry.

DEVICE_REMOVAL_POLICY

The DEVICE_REMOVAL_POLICY enumeration describes a device's removal policy.

DEVICE_RESET_TYPE

The DEVICE_RESET_TYPE enumeration specifies the type of device reset that is being requested by a call to the DeviceReset routine of the GUID_DEVICE_RESET_INTERFACE_STANDARD interface.

DEVICE_WAKE_DEPTH

The DEVICE_WAKE_DEPTH enumeration specifies the deepest device power state from which a device can trigger a wake signal.

DMA_COMPLETION_STATUS

The DMA_COMPLETION_STATUS enumeration describes the completion status of a DMA transfer.

INTERFACE_TYPE

The INTERFACE_TYPE enumeration indicates the bus type.

IO_ACCESS_MODE

Defines the types of access mode for Scheduled File I/O (SFIO).

IO_ACCESS_TYPE

Defines the access rights for Scheduled File I/O (SFIO).

IO_ALLOCATION_ACTION

The IO_ALLOCATION_ACTION enumerated type is used to specify return values for AdapterControl and ControllerControl routines.

IO_CONTAINER_INFORMATION_CLASS

The IO_CONTAINER_INFORMATION_CLASS enumeration contains constants that indicate the classes of system information that a kernel-mode driver can request.

IO_CONTAINER_NOTIFICATION_CLASS

The IO_CONTAINER_NOTIFICATION_CLASS enumeration contains constants that indicate the classes of events for which a kernel-mode driver can register to receive notifications.

IO_PAGING_PRIORITY

The IO_PAGING_PRIORITY enumeration describes the priority value for a paging I/O IRP.

IO_PRIORITY_HINT

The IO_PRIORITY_HINT enumeration type specifies the priority hint for an IRP.

IO_SESSION_EVENT

The IO_SESSION_EVENT enumeration indicates the type of session event for which a driver is receiving notification.

IO_SESSION_STATE

The IO_SESSION_STATE enumeration contains constants that indicate the current state of a user session.

IRQ_DEVICE_POLICY

The IRQ_DEVICE_POLICY enumeration type indicates the policy the operating system can use to assign the interrupts from a device to different processors.

IRQ_PRIORITY

The IRQ_PRIORITY enumeration type indicates the priority the system should give to servicing a device's interrupts.

KBUGCHECK_CALLBACK_REASON

The KBUGCHECK_CALLBACK_REASON enumeration type specifies the situations in which a bug-check callback executes.

KBUGCHECK_DUMP_IO_TYPE

The KBUGCHECK_DUMP_IO_TYPE enumeration type identifies the type of a section of data within a crash dump file.

KEY_INFORMATION_CLASS

The KEY_INFORMATION_CLASS enumeration type represents the type of information to supply about a registry key.

KEY_SET_INFORMATION_CLASS

The KEY_SET_INFORMATION_CLASS enumeration type represents the type of information to set for a registry key.

KEY_VALUE_INFORMATION_CLASS

The KEY_VALUE_INFORMATION_CLASS enumeration type specifies the type of information to supply about the value of a registry key.

KINTERRUPT_MODE

The KINTERRUPT_MODE enumeration type indicates whether an interrupt is level-triggered or edge-triggered.

KINTERRUPT_POLARITY

The KINTERRUPT_POLARITY enumeration indicates how a device signals an interrupt request on an interrupt line.

MEMORY_CACHING_TYPE

The MEMORY_CACHING_TYPE enumeration type specifies the permitted caching behavior when allocating or mapping memory.

MEMORY_INFORMATION_CLASS

Defines classes of memory information that can be retrieved by using the ZwQueryVirtualMemory function.

MONITOR_DISPLAY_STATE

Indicates the power state of the monitor being displayed on.

PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE

The PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration contains constants that indicate the type of hardware performance counter resource that is described by a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.

POOL_TYPE

The POOL_TYPE enumeration type specifies the type of system memory to allocate.

POWER_INFORMATION_LEVEL

Indicates power level information.

POWER_REQUEST_TYPE

The POWER_REQUEST_TYPE enumeration indicates the power request type.

POWER_STATE_TYPE

The POWER_STATE_TYPE enumeration type indicates that a power state value is a system power state or a device power state.

PSCREATEPROCESSNOTIFYTYPE

Indicates the type of process notification. This enumeration is used in PsSetCreateProcessNotifyRoutineEx2 to register callback notifications.

PSCREATETHREADNOTIFYTYPE

Indicates the type of thread notification. This enumeration is used in PsSetCreateThreadNotifyRoutineEx to register callback notifications associated with thread creation or deletion.

REG_NOTIFY_CLASS

The REG_NOTIFY_CLASS enumeration type specifies the type of registry operation that the configuration manager is passing to a RegistryCallback routine.

SUBSYSTEM_INFORMATION_TYPE

Indicates the type of subsystem for a process or thread. This enumeration is used in NtQueryInformationProcess and NtQueryInformationThread calls.

SYSTEM_POWER_STATE

The SYSTEM_POWER_STATE enumeration type is used to indicate a system power state.

TRACE_INFORMATION_CLASS

The TRACE_INFORMATION_CLASS enumeration type is used to indicate types of information associated with a WMI event tracing session.

WORK_QUEUE_TYPE

The WORK_QUEUE_TYPE enumeration type indicates the type of system worker thread that handles a work item.

 

 

 

Send comments about this topic to Microsoft

Show: