miniport.h header
This header is used by kernel.
For more information, see:
miniport.h contains the following programming interfaces:
Functions
_BitTest64 This topic describes the _BitTest64 function. |
_BitTestAndComplement64 This topic describes the _BitTestAndComplement64 function. |
_BitTestAndReset64 This topic describes the _BitTestAndReset64 function. |
_BitTestAndSet64 This topic describes the _BitTestAndSet64 function. |
_ReadWriteBarrier Describes the ReadWriteBarrier~r1 function (miniport.h). |
ARM64_SYSREG_CRM Returns the CRm field for a given ARM system register encoding value. For more information, see the ARM Architecture Reference Manual. |
ARM64_SYSREG_CRN Returns the CRn field for a given ARM system register encoding value. For more information, see the ARM Architecture Reference Manual. |
ARM64_SYSREG_OP1 Returns the op1 field for a given ARM system register encoding value. For more information, see the ARM Architecture Reference Manual. |
ARM64_SYSREG_OP2 Returns the op2 field for a given ARM system register encoding value. For more information, see the ARM Architecture Reference Manual. |
BarrierAfterRead Describes the BarrierAfterRead function (miniport.h). |
BarrierAfterRead Describes the BarrierAfterRead~r1 (miniport.h) function. |
BarrierAfterRead Describes the BarrierAfterRead~r2 function (miniport.h). |
FIELD_OFFSET The FIELD_OFFSET macro (miniport.h) returns the byte offset of the specified field in the specified known structure type. |
InterlockedAnd The InterlockedAnd (miniport.h) macro atomically computes a bitwise AND operation with the specified variable and specified value. |
InterlockedCompareExchange The InterlockedCompareExchange routine performs an atomic operation that compares the input value pointed to by Destination with the value of Comparand. |
InterlockedCompareExchangePointer The InterlockedCompareExchangePointer routine performs an atomic operation that compares the input pointer value pointed to by Destination with the pointer value Comparand. |
InterlockedDecrement The InterlockedDecrement function (miniport.h) decrements a caller-supplied variable of type LONG as an atomic operation. |
InterlockedExchange The InterlockedExchange function (miniport.h) sets an integer variable to a given value as an atomic operation. |
InterlockedExchangeAdd The InterlockedExchangeAdd function (miniport.h) adds a value to a given integer as an atomic operation and returns the original value of the given integer. |
InterlockedExchangePointer The InterlockedExchangePointer function (miniport.h) performs an atomic operation that sets a pointer to a new value. |
InterlockedIncrement The InterlockedIncrement function (miniport.h) increments a caller-supplied variable as an atomic operation. |
InterlockedOr The InterlockedOr function (miniport.h) atomically computes a bitwise OR operation with the specified variable and specified value. |
InterlockedXor The InterlockedXor function (miniport.h) atomically computes a bitwise exclusive OR operation with the specified variable and specified value. |
READ_PORT_BUFFER_UCHAR The READ_PORT_BUFFER_UCHAR function (miniport.h) reads a number of bytes from the specified port address into a buffer. |
READ_PORT_BUFFER_ULONG The READ_PORT_BUFFER_ULONG function (miniport.h) reads a number of ULONG values from the specified port address into a buffer. |
READ_PORT_BUFFER_USHORT The READ_PORT_BUFFER_USHORT function (miniport.h) reads a number of USHORT values from the specified port address into a buffer. |
READ_PORT_UCHAR The READ_PORT_UCHAR function (miniport.h) returns a byte that is read from the specified port address in resident, mapped device memory. |
READ_PORT_ULONG The READ_PORT_ULONG function (miniport.h) returns a ULONG value that is read from the specified port address in resident, mapped device memory. |
READ_PORT_USHORT The READ_PORT_USHORT function (miniport.h) returns a USHORT value that is read from the specified port address in resident, mapped device memory. |
READ_REGISTER_BUFFER_UCHAR The READ_REGISTER_BUFFER_UCHAR function (miniport.h) reads a number of bytes from the specified register address into a buffer. |
READ_REGISTER_BUFFER_ULONG The READ_REGISTER_BUFFER_ULONG function (miniport.h) reads a number of ULONG values from the specified register address into a buffer. |
READ_REGISTER_BUFFER_ULONG64 The READ_REGISTER_BUFFER_ULONG64 function (miniport.h) reads a number of ULONG64 values from the specified register address into a buffer. |
READ_REGISTER_BUFFER_USHORT The READ_REGISTER_BUFFER_USHORT function (miniport.h) reads a number of USHORT values from the specified register address into a buffer. |
READ_REGISTER_UCHAR The READ_REGISTER_UCHAR function (miniport.h) returns a byte read from the specified register address in resident, mapped device memory. |
READ_REGISTER_ULONG The READ_REGISTER_ULONG function (miniport.h) returns a ULONG value read from the specified register address in resident, mapped device memory. |
READ_REGISTER_ULONG64 The READ_REGISTER_ULONG64 function (miniport.h) reads a ULONG64 value from the specified register address. |
READ_REGISTER_USHORT The READ_REGISTER_USHORT function (miniport.h) returns a USHORT value read from the specified register address in resident, mapped device memory. |
ReadBooleanRaw Describes the ReadBooleanRaw function. |
ReadInt32Acquire This topic describes the ReadInt32Acquire function. |
ReadInt32NoFence This topic describes the ReadInt32NoFence function. |
ReadInt32Raw This topic describes the ReadInt32Raw function. |
ReadUInt32Acquire This topic describes the ReadUInt32Acquire function. |
ReadUInt32NoFence This topic describes the ReadUInt32NoFence function. |
ReadUInt32Raw This topic describes the ReadUInt32Raw function. |
WRITE_PORT_BUFFER_UCHAR The WRITE_PORT_BUFFER_UCHAR function (miniport.h) writes a number of bytes from a buffer to the specified port. |
WRITE_PORT_BUFFER_ULONG The WRITE_PORT_BUFFER_ULONG function (miniport.h) writes a number of ULONG values from a buffer to the specified port address. |
WRITE_PORT_BUFFER_USHORT The WRITE_PORT_BUFFER_USHORT function (miniport.h) writes a number of USHORT values from a buffer to the specified port address. |
WRITE_PORT_UCHAR The WRITE_PORT_UCHAR function (miniport.h) writes a byte to the specified port address in resident, mapped device memory. |
WRITE_PORT_ULONG The WRITE_PORT_ULONG function (miniport.h) writes a ULONG value to the specified port address in resident, mapped device memory. |
WRITE_PORT_USHORT The WRITE_PORT_USHORT function (miniport.h) writes a USHORT value to the specified port address in resident, mapped device memory. |
WRITE_REGISTER_BUFFER_UCHAR The WRITE_REGISTER_BUFFER_UCHAR function (miniport.h) writes a number of bytes from a buffer to the specified register. |
WRITE_REGISTER_BUFFER_ULONG The WRITE_REGISTER_BUFFER_ULONG function (miniport.h) writes a number of ULONG values from a buffer to the specified register. |
WRITE_REGISTER_BUFFER_ULONG64 The WRITE_REGISTER_BUFFER_ULONG64 function (miniport.h) writes a number of ULONG64 values from a buffer to the specified register. |
WRITE_REGISTER_BUFFER_USHORT The WRITE_REGISTER_BUFFER_USHORT function (miniport.h) writes a number of USHORT values from a buffer to the specified register. |
WRITE_REGISTER_UCHAR The WRITE_REGISTER_UCHAR function (miniport.h) writes a byte to the specified register address in resident, mapped device memory. |
WRITE_REGISTER_ULONG The WRITE_REGISTER_ULONG function (miniport.h) writes a ULONG value to the specified register address in resident, mapped device memory. |
WRITE_REGISTER_ULONG64 The WRITE_REGISTER_ULONG64 function (miniport.h) writes a ULONG64 value to the specified register address. |
WRITE_REGISTER_USHORT The WRITE_REGISTER_USHORT function (miniport.h) writes a USHORT value to the specified register address in resident, mapped device memory. |
WriteInt32NoFence This topic describes the WriteInt32NoFence function. |
WriteInt32Raw This topic describes the WriteInt32Raw function. |
WriteInt32Release This topic describes the WriteInt32Release function. |
WriteUInt32NoFence This topic describes the WriteUInt32NoFence function. |
WriteUInt32Raw This topic describes the WriteUInt32Raw function. |
WriteUInt32Release This topic describes the WriteUInt32Release function. |
Callback functions
PINTERFACE_DEREFERENCE The PINTERFACE_DEREFERENCE callback function (miniport.h) decrements the reference count on a driver-defined interface. |
PINTERFACE_REFERENCE The PINTERFACE_REFERENCE callback function (miniport.h) increments the reference count on a driver-defined interface. |
Structures
CM_EISA_FUNCTION_INFORMATION The _CM_EISA_FUNCTION_INFORMATION structure (miniport.h) defines detailed EISA configuration information returned by HalGetBusData or HalGetBusDataByOffset. |
CM_EISA_SLOT_INFORMATION The _CM_EISA_SLOT_INFORMATION structure (miniport.h) defines EISA configuration header information returned by HalGetBusData or by HalGetBusDataByOffset. |
CM_MCA_POS_DATA The _CM_MCA_POS_DATA structure (miniport.h) is obsolete. It defines IBM-compatible MCA POS configuration information for a slot. |
EMULATOR_ACCESS_ENTRY The _EMULATOR_ACCESS_ENTRY structure (miniport.h) defines a range of I/O ports and how they can be accessed by a V86 emulator on x86-based platforms. |
GROUP_AFFINITY The _GROUP_AFFINITY structure (miniport.h) specifies a group number and the processor affinity within that group. |
INTERFACE The _INTERFACE structure (miniport.h) describes an interface that is exported by a driver for use by other drivers. |
IO_RESOURCE_DESCRIPTOR The _IO_RESOURCE_DESCRIPTOR structure (miniport.h) describes a range of raw hardware resources, of one type, that can be used by a device. |
IO_RESOURCE_LIST The _IO_RESOURCE_LIST structure (miniport.h) describes a range of raw hardware resources, of various types, that can be used by a device. |
IO_RESOURCE_REQUIREMENTS_LIST The _IO_RESOURCE_REQUIREMENTS_LIST structure (miniport.h) describes sets of resource configurations representing raw resource types used by a device. |
PCI_CAPABILITIES_HEADER The _PCI_CAPABILITIES_HEADER structure (miniport.h) defines a header that is present in every PCI capability structure. |
PCI_COMMON_CONFIG TThe _PCI_COMMON_CONFIG structure (miniport.h) is obsolete. It defines standard PCI configuration information. |
PCI_EXPRESS_AER_CAPABILITIES The _PCI_EXPRESS_AER_CAPABILITIES union (miniport.h) describes a PCI Express (PCIe) advanced error capabilities and control register. |
PCI_EXPRESS_AER_CAPABILITY The _PCI_EXPRESS_AER_CAPABILITY structure (miniport.h) describes a PCI Express (PCIe) advanced error reporting capability structure. |
PCI_EXPRESS_BRIDGE_AER_CAPABILITY The _PCI_EXPRESS_BRIDGE_AER_CAPABILITY structure (miniport.h) defines the PCI Express (PCIe) advanced error reporting capabilities for a PCIe bridge device. |
PCI_EXPRESS_CAPABILITIES_REGISTER The PCI_EXPRESS_CAPABILITIES_REGISTER union (miniport.h) describes a PCI Express (PCIe) capabilities register of a PCIe capability structure. |
PCI_EXPRESS_CAPABILITY The _PCI_EXPRESS_CAPABILITY structure (miniport.h) describes a PCI Express (PCIe) capability structure. |
PCI_EXPRESS_CORRECTABLE_ERROR_MASK The _PCI_EXPRESS_CORRECTABLE_ERROR_MASK union (miniport.h) describes a PCI Express (PCIe) correctable error mask register used in advanced error reporting. |
PCI_EXPRESS_CORRECTABLE_ERROR_STATUS The _PCI_EXPRESS_CORRECTABLE_ERROR_STATUS union (miniport.h) describes a PCI Express (PCIe) correctable error status register for advanced error reporting. |
PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER The _PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER union (miniport.h) describes a PCI Express (PCIe) device capabilities register of a PCIe capability structure. |
PCI_EXPRESS_DEVICE_CONTROL_REGISTER The _PCI_EXPRESS_DEVICE_CONTROL_REGISTER union (miniport.h) describes a PCI Express (PCIe) device control register of a PCIe capability structure. |
PCI_EXPRESS_DEVICE_STATUS_REGISTER The _PCI_EXPRESS_DEVICE_STATUS_REGISTER union (miniport.h) describes a PCI Express (PCIe) device status register of a PCIe capability structure. |
PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER The _PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER structure (miniport.h) describes the header for a PCI Express (PCIe) extended capability structure. |
PCI_EXPRESS_ERROR_SOURCE_ID The _PCI_EXPRESS_ERROR_SOURCE_ID union (miniport.h) describes the IDs of the first correctable and first uncorrectable error in the error status register. |
PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER Describes the PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER union. |
PCI_EXPRESS_LINK_CAPABILITIES_REGISTER The _PCI_EXPRESS_LINK_CAPABILITIES_REGISTER union (miniport.h) describes a PCI Express (PCIe) link capabilities register of a PCIe capability structure. |
PCI_EXPRESS_LINK_CONTROL_2_REGISTER Describes the PCI_EXPRESS_LINK_CONTROL_2_REGISTER union. |
PCI_EXPRESS_LINK_CONTROL_REGISTER The _PCI_EXPRESS_LINK_CONTROL_REGISTER union (miniport.h) describes a PCI Express (PCIe) link control register of a PCIe capability structure. |
PCI_EXPRESS_LINK_STATUS_2_REGISTER Describes the PCI_EXPRESS_LINK_STATUS_2_REGISTER union. |
PCI_EXPRESS_LINK_STATUS_REGISTER The _PCI_EXPRESS_LINK_STATUS_REGISTER union (miniport.h) describes a PCI Express (PCIe) link status register of a PCIe capability structure. |
PCI_EXPRESS_PME_REQUESTOR_ID The _PCI_EXPRESS_PME_REQUESTOR_ID union (miniport.h) describes the identifier of the requester of a power management event (PME). |
PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER The PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER union (miniport.h) describes a PCI Express (PCIe) root capabilities register of a PCIe capability structure. |
PCI_EXPRESS_ROOT_CONTROL_REGISTER The _PCI_EXPRESS_ROOT_CONTROL_REGISTER union (miniport.h) describes a PCI Express (PCIe) root control register of a PCIe capability structure. |
PCI_EXPRESS_ROOT_ERROR_COMMAND The _PCI_EXPRESS_ROOT_ERROR_COMMAND union (miniport.h) describes a PCI Express (PCIe) root error command register for advanced error reporting. |
PCI_EXPRESS_ROOT_ERROR_STATUS The _PCI_EXPRESS_ROOT_ERROR_STATUS union (miniport.h) describes a PCI Express (PCIe) root error status register for advanced error reporting. |
PCI_EXPRESS_ROOT_STATUS_REGISTER The _PCI_EXPRESS_ROOT_STATUS_REGISTER union (miniport.h) describes a PCI Express (PCIe) root status register of a PCIe capability structure. |
PCI_EXPRESS_ROOTPORT_AER_CAPABILITY The _PCI_EXPRESS_ROOTPORT_AER_CAPABILITY structure (miniport.h) describes a PCI Express (PCIe) advanced error reporting capability structure. |
PCI_EXPRESS_SEC_AER_CAPABILITIES The _PCI_EXPRESS_SEC_AER_CAPABILITIES union (miniport.h) describes a PCI Express (PCIe) secondary error capabilities and control register. |
PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK The _PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK union (miniport.h) describes a PCI Express (PCIe) secondary uncorrectable error mask register. |
PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY The _PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY union (miniport.h) describes a PCI Express (PCIe) secondary uncorrectable error severity register. |
PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS The _PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS union (miniport.h) describes a PCI Express (PCIe) secondary uncorrectable error status register. |
PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY The _PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY structure (miniport.h) describes a serial number for a PCI Express (PCIe) device. |
PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER The _PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER union (miniport.h) describes a PCI Express (PCIe) slot capabilities register. |
PCI_EXPRESS_SLOT_CONTROL_REGISTER The _PCI_EXPRESS_SLOT_CONTROL_REGISTER union (miniport.h) describes a PCI Express (PCIe) slot control register. |
PCI_EXPRESS_SLOT_STATUS_REGISTER The _PCI_EXPRESS_SLOT_STATUS_REGISTER union (miniport.h) describes a PCI Express (PCIe) slot status register. |
PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK The _PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK structure (miniport.h) describes a PCI Express (PCIe) uncorrectable error mask register. |
PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY The _PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY union (miniport.h) describes a PCI Express (PCIe) uncorrectable error severity register. |
PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS The _PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS union (miniport.h) describes a PCI Express (PCIe) uncorrectable error status register. |
PCI_PM_CAPABILITY The _PCI_PM_CAPABILITY structure (miniport.h) contains fields that describe the power management capabilities of the device. |
PCI_PMC The _PCI_PMC structure (miniport.h) describes the contents of the power management capabilities register. |
PCI_PMCSR The _PCI_PMCSR structure (miniport.h) describes the contents of the device's power management control status register. |
PCI_PMCSR_BSE The _PCI_PMCSR_BSE structure (miniport.h) describes the contents of the power management control status register for PCI bridge support extensions. |
PCI_SEGMENT_BUS_NUMBER The PCI_SEGMENT_BUS_NUMBER structure contains information about the bus and segment numbers. |
PCI_SLOT_NUMBER The _PCI_SLOT_NUMBER structure (miniport.h) is obsolete. It defines the format of the Slot parameter to the obsolete HalXxxBusData routines. |
PCI_VENDOR_SPECIFIC_CAPABILITY This topic describes the PCI_VENDOR_SPECIFIC_CAPABILITY structure. |
PCI_X_CAPABILITY The PCI_X_CAPABILITY structure reports the contents of the command and status registers of a device that is compliant with the PCI-X Addendum to the PCI Local Bus Specification. |
PROCESSOR_NUMBER The _PROCESSOR_NUMBER structure (miniport.h) identifies a processor by its group number and group-relative processor number. |
Enumerations
BUS_DATA_TYPE The _BUS_DATA_TYPE enumeration (miniport.h) defines values that indicate the type of bus configuration space. |
INTERFACE_TYPE The _INTERFACE_TYPE enumeration (miniport.h) defines values that indicate the type of bus driver that published the interface. |
IRQ_DEVICE_POLICY The _IRQ_DEVICE_POLICY enumeration (miniport.h) type indicates the operating system policy used to assign interrupts from a device to different processors. |
IRQ_PRIORITY The _IRQ_PRIORITY enumeration (miniport.h) type indicates the priority the system should give to servicing a device's interrupts. |
KINTERRUPT_MODE The _KINTERRUPT_MODE enumeration (miniport.h) type indicates whether an interrupt is level-triggered or edge-triggered. |
KINTERRUPT_POLARITY The _KINTERRUPT_POLARITY enumeration (miniport.h) contains values that indicate how a device signals an interrupt request on an interrupt line. |
MEMORY_CACHING_TYPE The _MEMORY_CACHING_TYPE enumeration (miniport.h) type specifies the permitted caching behavior when allocating or mapping memory. |
PCI_BUS_WIDTH This topic describes the PCI_BUS_WIDTH enumeration. |
PCI_DEVICE_D3COLD_STATE_REASON This topic describes the PCI_DEVICE_D3COLD_STATE_REASON enumeration. |
PCI_EXPRESS_ASPM_CONTROL This topic describes the PCI_EXPRESS_ASPM_CONTROL enumeration. |
PCI_EXPRESS_ASPM_SUPPORT This topic describes the PCI_EXPRESS_ASPM_SUPPORT enumeration. |
PCI_EXPRESS_CARD_PRESENCE This topic describes the PCI_EXPRESS_CARD_PRESENCE enumeration. |
PCI_EXPRESS_DEVICE_TYPE This topic describes the PCI_EXPRESS_DEVICE_TYPE enumeration. |
PCI_EXPRESS_INDICATOR_STATE This topic describes the PCI_EXPRESS_INDICATOR_STATE enumeration. |
PCI_EXPRESS_L0s_EXIT_LATENCY This topic describes the PCI_EXPRESS_L0s_EXIT_LATENCY enumeration. |
PCI_EXPRESS_L1_EXIT_LATENCY This topic describes the PCI_EXPRESS_L1_EXIT_LATENCY enumeration. |
PCI_EXPRESS_LINK_SUBSTATE This topic describes the PCI_EXPRESS_LINK_SUBSTATE enumeration. |
PCI_EXPRESS_MAX_PAYLOAD_SIZE PCI_EXPRESS_MAX_PAYLOAD_SIZE enumerates the maximum data payload sizes for a PCI Express (PCIe) controller. |
PCI_EXPRESS_MRL_STATE This topic describes the PCI_EXPRESS_MRL_STATE enumeration. |
PCI_EXPRESS_POWER_STATE This topic describes the PCI_EXPRESS_POWER_STATE enumeration. |
PCI_EXPRESS_RCB This topic describes the PCI_EXPRESS_RCB enumeration. |