ReactOS 0.4.16-dev-401-g45b008d
ndis.h File Reference
#include "ntddk.h"
#include "netpnp.h"
#include "ntstatus.h"
#include "netevent.h"
#include <qos.h>
#include "ntddndis.h"
#include <xfilter.h>
Include dependency graph for ndis.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _REFERENCE
 
struct  _NDIS_SPIN_LOCK
 
struct  _NDIS_EVENT
 
union  _NDIS_RW_LOCK_REFCOUNT
 
struct  _NDIS_RW_LOCK
 
struct  _LOCK_STATE
 
struct  _NDIS_TIMER
 
struct  _NDIS_PACKET_PRIVATE
 
struct  _NDIS_PACKET
 
struct  _NDIS_PACKET_STACK
 
struct  _MEDIA_SPECIFIC_INFORMATION
 
struct  _NDIS_PACKET_OOB_DATA
 
struct  _NDIS_REQUEST
 
union  _NDIS_REQUEST::_DATA
 
struct  _NDIS_REQUEST::_DATA::QUERY_INFORMATION
 
struct  _NDIS_REQUEST::_DATA::SET_INFORMATION
 
struct  _NDIS_WAN_PACKET
 
struct  _NDIS_DMA_DESCRIPTION
 
struct  _NDIS_DMA_BLOCK
 
struct  _BINARY_DATA
 
struct  _NDIS_CONFIGURATION_PARAMETER
 
struct  _NDIS_PHYSICAL_ADDRESS_UNIT
 
struct  _NDIS_WAN_LINE_DOWN
 
struct  _NDIS_WAN_LINE_UP
 
struct  _CO_ADDRESS_FAMILY
 
struct  _CO_SPECIFIC_PARAMETERS
 
struct  _CO_CALL_MANAGER_PARAMETERS
 
struct  _CO_MEDIA_PARAMETERS
 
struct  _CO_CALL_PARAMETERS
 
struct  _CO_SAP
 
struct  _NDIS_IPSEC_PACKET_INFO
 
struct  _NDIS_MAC_FRAGMENT
 
struct  _NDIS_MAC_LINE_DOWN
 
struct  _NDIS_MAC_LINE_UP
 
struct  _NDIS_PACKET_8021Q_INFO
 
struct  _NDIS_PACKET_EXTENSION
 
struct  _NDIS_ENCAPSULATION_FORMAT
 
struct  _NDIS_TASK_OFFLOAD_HEADER
 
struct  _NDIS_TASK_OFFLOAD
 
struct  _NDIS_TASK_TCP_IP_CHECKSUM
 
struct  _NDIS_TASK_TCP_LARGE_SEND
 
struct  _NDIS_TASK_IPSEC
 
struct  _NDIS_TCP_IP_CHECKSUM_PACKET_INFO
 
struct  _NDIS_WAN_CO_FRAGMENT
 
struct  _NDIS_WAN_FRAGMENT
 
struct  _WAN_CO_LINKPARAMS
 
struct  _NDIS_WAN_GET_STATS
 
struct  _NDIS_CALL_MANAGER_CHARACTERISTICS
 
struct  _NDIS_CLIENT_CHARACTERISTICS
 
struct  _NDIS30_PROTOCOL_CHARACTERISTICS
 
struct  _NDIS40_PROTOCOL_CHARACTERISTICS
 
struct  _NDIS50_PROTOCOL_CHARACTERISTICS
 
struct  _NDIS30_MINIPORT_CHARACTERISTICS
 
struct  _NDIS40_MINIPORT_CHARACTERISTICS
 
struct  _NDIS50_MINIPORT_CHARACTERISTICS
 
struct  _NDIS51_MINIPORT_CHARACTERISTICS
 
struct  _NDIS_MINIPORT_CHARACTERISTICS
 
struct  _NDIS_MINIPORT_INTERRUPT
 
struct  _NDIS_MINIPORT_TIMER
 
struct  _NDIS_INTERRUPT
 
struct  _NDIS_MINIPORT_WORK_ITEM
 
struct  _NDIS_WORK_ITEM
 
struct  _NDIS_BIND_PATHS
 
struct  _NDIS_LOG
 
struct  _FILTERDBS
 
struct  _NDIS_MINIPORT_BLOCK
 
struct  _NDIS_COMMON_OPEN_BLOCK
 
struct  _NDIS_OPEN_BLOCK
 
struct  _NDIS_MAC_CHARACTERISTICS
 

Macros

#define NDIS_WDM   0
 
#define NDIS40
 
#define NDIS_PROTOCOL_MAJOR_VERSION   4
 
#define NDIS_PROTOCOL_MINOR_VERSION   0
 
#define NDIS_LEGACY_MINIPORT   0
 
#define NDIS_LEGACY_PROTOCOL   1
 
#define NDIS_LEGACY_DRIVER   1
 
#define NDIS_SUPPORT_NDIS6   0
 
#define NDIS_SUPPORT_NDIS61   0
 
#define NDIS_SUPPORT_NDIS620   0
 
#define NDIS_SUPPORT_60_COMPATIBLE_API   1
 
#define NDISAPI   DECLSPEC_IMPORT
 
#define NDIS_STATUS_SUCCESS   ((NDIS_STATUS)STATUS_SUCCESS)
 
#define NDIS_STATUS_PENDING   ((NDIS_STATUS)STATUS_PENDING)
 
#define NDIS_STATUS_NOT_RECOGNIZED   ((NDIS_STATUS)0x00010001L)
 
#define NDIS_STATUS_NOT_COPIED   ((NDIS_STATUS)0x00010002L)
 
#define NDIS_STATUS_NOT_ACCEPTED   ((NDIS_STATUS)0x00010003L)
 
#define NDIS_STATUS_CALL_ACTIVE   ((NDIS_STATUS)0x00010007L)
 
#define NDIS_STATUS_INDICATION_REQUIRED   ((NDIS_STATUS)STATUS_NDIS_INDICATION_REQUIRED)
 
#define NDIS_STATUS_ONLINE   ((NDIS_STATUS)0x40010003L)
 
#define NDIS_STATUS_RESET_START   ((NDIS_STATUS)0x40010004L)
 
#define NDIS_STATUS_RESET_END   ((NDIS_STATUS)0x40010005L)
 
#define NDIS_STATUS_RING_STATUS   ((NDIS_STATUS)0x40010006L)
 
#define NDIS_STATUS_CLOSED   ((NDIS_STATUS)0x40010007L)
 
#define NDIS_STATUS_WAN_LINE_UP   ((NDIS_STATUS)0x40010008L)
 
#define NDIS_STATUS_WAN_LINE_DOWN   ((NDIS_STATUS)0x40010009L)
 
#define NDIS_STATUS_WAN_FRAGMENT   ((NDIS_STATUS)0x4001000AL)
 
#define NDIS_STATUS_MEDIA_CONNECT   ((NDIS_STATUS)0x4001000BL)
 
#define NDIS_STATUS_MEDIA_DISCONNECT   ((NDIS_STATUS)0x4001000CL)
 
#define NDIS_STATUS_HARDWARE_LINE_UP   ((NDIS_STATUS)0x4001000DL)
 
#define NDIS_STATUS_HARDWARE_LINE_DOWN   ((NDIS_STATUS)0x4001000EL)
 
#define NDIS_STATUS_INTERFACE_UP   ((NDIS_STATUS)0x4001000FL)
 
#define NDIS_STATUS_INTERFACE_DOWN   ((NDIS_STATUS)0x40010010L)
 
#define NDIS_STATUS_MEDIA_BUSY   ((NDIS_STATUS)0x40010011L)
 
#define NDIS_STATUS_MEDIA_SPECIFIC_INDICATION   ((NDIS_STATUS)0x40010012L)
 
#define NDIS_STATUS_WW_INDICATION   NDIS_STATUS_MEDIA_SPECIFIC_INDICATION
 
#define NDIS_STATUS_LINK_SPEED_CHANGE   ((NDIS_STATUS)0x40010013L)
 
#define NDIS_STATUS_WAN_GET_STATS   ((NDIS_STATUS)0x40010014L)
 
#define NDIS_STATUS_WAN_CO_FRAGMENT   ((NDIS_STATUS)0x40010015L)
 
#define NDIS_STATUS_WAN_CO_LINKPARAMS   ((NDIS_STATUS)0x40010016L)
 
#define NDIS_STATUS_WAN_CO_MTULINKPARAMS   ((NDIS_STATUS)0x40010025L)
 
#define NDIS_STATUS_NOT_RESETTABLE   ((NDIS_STATUS)0x80010001L)
 
#define NDIS_STATUS_SOFT_ERRORS   ((NDIS_STATUS)0x80010003L)
 
#define NDIS_STATUS_HARD_ERRORS   ((NDIS_STATUS)0x80010004L)
 
#define NDIS_STATUS_BUFFER_OVERFLOW   ((NDIS_STATUS)STATUS_BUFFER_OVERFLOW)
 
#define NDIS_STATUS_FAILURE   ((NDIS_STATUS)STATUS_UNSUCCESSFUL)
 
#define NDIS_STATUS_RESOURCES   ((NDIS_STATUS)STATUS_INSUFFICIENT_RESOURCES)
 
#define NDIS_STATUS_CLOSING   ((NDIS_STATUS)0xC0010002L)
 
#define NDIS_STATUS_BAD_VERSION   ((NDIS_STATUS)0xC0010004L)
 
#define NDIS_STATUS_BAD_CHARACTERISTICS   ((NDIS_STATUS)0xC0010005L)
 
#define NDIS_STATUS_ADAPTER_NOT_FOUND   ((NDIS_STATUS)0xC0010006L)
 
#define NDIS_STATUS_OPEN_FAILED   ((NDIS_STATUS)0xC0010007L)
 
#define NDIS_STATUS_DEVICE_FAILED   ((NDIS_STATUS)0xC0010008L)
 
#define NDIS_STATUS_MULTICAST_FULL   ((NDIS_STATUS)0xC0010009L)
 
#define NDIS_STATUS_MULTICAST_EXISTS   ((NDIS_STATUS)0xC001000AL)
 
#define NDIS_STATUS_MULTICAST_NOT_FOUND   ((NDIS_STATUS)0xC001000BL)
 
#define NDIS_STATUS_REQUEST_ABORTED   ((NDIS_STATUS)0xC001000CL)
 
#define NDIS_STATUS_RESET_IN_PROGRESS   ((NDIS_STATUS)0xC001000DL)
 
#define NDIS_STATUS_CLOSING_INDICATING   ((NDIS_STATUS)0xC001000EL)
 
#define NDIS_STATUS_NOT_SUPPORTED   ((NDIS_STATUS)STATUS_NOT_SUPPORTED)
 
#define NDIS_STATUS_INVALID_PACKET   ((NDIS_STATUS)0xC001000FL)
 
#define NDIS_STATUS_OPEN_LIST_FULL   ((NDIS_STATUS)0xC0010010L)
 
#define NDIS_STATUS_ADAPTER_NOT_READY   ((NDIS_STATUS)0xC0010011L)
 
#define NDIS_STATUS_ADAPTER_NOT_OPEN   ((NDIS_STATUS)0xC0010012L)
 
#define NDIS_STATUS_NOT_INDICATING   ((NDIS_STATUS)0xC0010013L)
 
#define NDIS_STATUS_INVALID_LENGTH   ((NDIS_STATUS)0xC0010014L)
 
#define NDIS_STATUS_INVALID_DATA   ((NDIS_STATUS)0xC0010015L)
 
#define NDIS_STATUS_BUFFER_TOO_SHORT   ((NDIS_STATUS)0xC0010016L)
 
#define NDIS_STATUS_INVALID_OID   ((NDIS_STATUS)0xC0010017L)
 
#define NDIS_STATUS_ADAPTER_REMOVED   ((NDIS_STATUS)0xC0010018L)
 
#define NDIS_STATUS_UNSUPPORTED_MEDIA   ((NDIS_STATUS)0xC0010019L)
 
#define NDIS_STATUS_GROUP_ADDRESS_IN_USE   ((NDIS_STATUS)0xC001001AL)
 
#define NDIS_STATUS_FILE_NOT_FOUND   ((NDIS_STATUS)0xC001001BL)
 
#define NDIS_STATUS_ERROR_READING_FILE   ((NDIS_STATUS)0xC001001CL)
 
#define NDIS_STATUS_ALREADY_MAPPED   ((NDIS_STATUS)0xC001001DL)
 
#define NDIS_STATUS_RESOURCE_CONFLICT   ((NDIS_STATUS)0xC001001EL)
 
#define NDIS_STATUS_NO_CABLE   ((NDIS_STATUS)0xC001001FL)
 
#define NDIS_STATUS_INVALID_SAP   ((NDIS_STATUS)0xC0010020L)
 
#define NDIS_STATUS_SAP_IN_USE   ((NDIS_STATUS)0xC0010021L)
 
#define NDIS_STATUS_INVALID_ADDRESS   ((NDIS_STATUS)0xC0010022L)
 
#define NDIS_STATUS_VC_NOT_ACTIVATED   ((NDIS_STATUS)0xC0010023L)
 
#define NDIS_STATUS_DEST_OUT_OF_ORDER   ((NDIS_STATUS)0xC0010024L)
 
#define NDIS_STATUS_VC_NOT_AVAILABLE   ((NDIS_STATUS)0xC0010025L)
 
#define NDIS_STATUS_CELLRATE_NOT_AVAILABLE   ((NDIS_STATUS)0xC0010026L)
 
#define NDIS_STATUS_INCOMPATABLE_QOS   ((NDIS_STATUS)0xC0010027L)
 
#define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED   ((NDIS_STATUS)0xC0010028L)
 
#define NDIS_STATUS_NO_ROUTE_TO_DESTINATION   ((NDIS_STATUS)0xC0010029L)
 
#define NDIS_STATUS_TOKEN_RING_OPEN_ERROR   ((NDIS_STATUS)0xC0011000L)
 
#define NDIS_STATUS_INVALID_DEVICE_REQUEST   ((NDIS_STATUS)STATUS_INVALID_DEVICE_REQUEST)
 
#define NDIS_STATUS_NETWORK_UNREACHABLE   ((NDIS_STATUS)STATUS_NETWORK_UNREACHABLE)
 
#define NDIS_STATUS_HOST_UNREACHABLE   ((NDIS_STATUS)STATUS_HOST_UNREACHABLE)
 
#define NDIS_ERROR_CODE   ULONG
 
#define NDIS_ERROR_CODE_RESOURCE_CONFLICT   EVENT_NDIS_RESOURCE_CONFLICT
 
#define NDIS_ERROR_CODE_OUT_OF_RESOURCES   EVENT_NDIS_OUT_OF_RESOURCE
 
#define NDIS_ERROR_CODE_HARDWARE_FAILURE   EVENT_NDIS_HARDWARE_FAILURE
 
#define NDIS_ERROR_CODE_ADAPTER_NOT_FOUND   EVENT_NDIS_ADAPTER_NOT_FOUND
 
#define NDIS_ERROR_CODE_INTERRUPT_CONNECT   EVENT_NDIS_INTERRUPT_CONNECT
 
#define NDIS_ERROR_CODE_DRIVER_FAILURE   EVENT_NDIS_DRIVER_FAILURE
 
#define NDIS_ERROR_CODE_BAD_VERSION   EVENT_NDIS_BAD_VERSION
 
#define NDIS_ERROR_CODE_TIMEOUT   EVENT_NDIS_TIMEOUT
 
#define NDIS_ERROR_CODE_NETWORK_ADDRESS   EVENT_NDIS_NETWORK_ADDRESS
 
#define NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION   EVENT_NDIS_UNSUPPORTED_CONFIGURATION
 
#define NDIS_ERROR_CODE_INVALID_VALUE_FROM_ADAPTER   EVENT_NDIS_INVALID_VALUE_FROM_ADAPTER
 
#define NDIS_ERROR_CODE_MISSING_CONFIGURATION_PARAMETER   EVENT_NDIS_MISSING_CONFIGURATION_PARAMETER
 
#define NDIS_ERROR_CODE_BAD_IO_BASE_ADDRESS   EVENT_NDIS_BAD_IO_BASE_ADDRESS
 
#define NDIS_ERROR_CODE_RECEIVE_SPACE_SMALL   EVENT_NDIS_RECEIVE_SPACE_SMALL
 
#define NDIS_ERROR_CODE_ADAPTER_DISABLED   EVENT_NDIS_ADAPTER_DISABLED
 
#define NDIS_MEMORY_CONTIGUOUS   0x00000001
 
#define NDIS_MEMORY_NONCACHED   0x00000002
 
#define NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT   0x00000001
 
#define NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT   0x00000002
 
#define NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS   0x00000004
 
#define NDIS_ATTRIBUTE_BUS_MASTER   0x00000008
 
#define NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER   0x00000010
 
#define NDIS_ATTRIBUTE_DESERIALIZE   0x00000020
 
#define NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND   0x00000040
 
#define NDIS_ATTRIBUTE_SURPRISE_REMOVE_OK   0x00000080
 
#define NDIS_ATTRIBUTE_NOT_CO_NDIS   0x00000100
 
#define NDIS_ATTRIBUTE_USES_SAFE_BUFFER_APIS   0x00000200
 
#define READABLE_LOCAL_CLOCK   0x00000001
 
#define CLOCK_NETWORK_DERIVED   0x00000002
 
#define CLOCK_PRECISION   0x00000004
 
#define RECEIVE_TIME_INDICATION_CAPABLE   0x00000008
 
#define TIMED_SEND_CAPABLE   0x00000010
 
#define TIME_STAMP_CAPABLE   0x00000020
 
#define NDIS_PACKET_TYPE_DIRECTED   0x00000001
 
#define NDIS_PACKET_TYPE_MULTICAST   0x00000002
 
#define NDIS_PACKET_TYPE_ALL_MULTICAST   0x00000004
 
#define NDIS_PACKET_TYPE_BROADCAST   0x00000008
 
#define NDIS_PACKET_TYPE_SOURCE_ROUTING   0x00000010
 
#define NDIS_PACKET_TYPE_PROMISCUOUS   0x00000020
 
#define NDIS_PACKET_TYPE_SMT   0x00000040
 
#define NDIS_PACKET_TYPE_ALL_LOCAL   0x00000080
 
#define NDIS_PACKET_TYPE_GROUP   0x00001000
 
#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL   0x00002000
 
#define NDIS_PACKET_TYPE_FUNCTIONAL   0x00004000
 
#define NDIS_PACKET_TYPE_MAC_FRAME   0x00008000
 
#define NDIS_PROT_OPTION_ESTIMATED_LENGTH   0x00000001
 
#define NDIS_PROT_OPTION_NO_LOOPBACK   0x00000002
 
#define NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT   0x00000004
 
#define NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA   0x00000001
 
#define NDIS_MAC_OPTION_RECEIVE_SERIALIZED   0x00000002
 
#define NDIS_MAC_OPTION_TRANSFERS_NOT_PEND   0x00000004
 
#define NDIS_MAC_OPTION_NO_LOOPBACK   0x00000008
 
#define NDIS_MAC_OPTION_FULL_DUPLEX   0x00000010
 
#define NDIS_MAC_OPTION_EOTX_INDICATION   0x00000020
 
#define NDIS_MAC_OPTION_8021P_PRIORITY   0x00000040
 
#define NDIS_MAC_OPTION_RESERVED   0x80000000
 
#define NDIS_GUID_TO_OID   0x00000001
 
#define NDIS_GUID_TO_STATUS   0x00000002
 
#define NDIS_GUID_ANSI_STRING   0x00000004
 
#define NDIS_GUID_UNICODE_STRING   0x00000008
 
#define NDIS_GUID_ARRAY   0x00000010
 
#define fPACKET_WRAPPER_RESERVED   0x3f
 
#define fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO   0x40
 
#define fPACKET_ALLOCATED_BY_NDIS   0x80
 
#define NDIS_FLAGS_PROTOCOL_ID_MASK   0x0000000f
 
#define NDIS_FLAGS_MULTICAST_PACKET   0x00000010
 
#define NDIS_FLAGS_RESERVED2   0x00000020
 
#define NDIS_FLAGS_RESERVED3   0x00000040
 
#define NDIS_FLAGS_DONT_LOOPBACK   0x00000080
 
#define NDIS_FLAGS_IS_LOOPBACK_PACKET   0x00000100
 
#define NDIS_FLAGS_LOOPBACK_ONLY   0x00000200
 
#define NDIS_FLAGS_RESERVED4   0x00000400
 
#define NDIS_FLAGS_DOUBLE_BUFFERED   0x00000800
 
#define NDIS_FLAGS_SENT_AT_DPC   0x00001000
 
#define NDIS_FLAGS_USES_SG_BUFFER_LIST   0x00002000
 
#define NDIS_FLAGS_USES_ORIGINAL_PACKET   0x00004000
 
#define NDIS_FLAGS_PADDED   0x00010000
 
#define NDIS_FLAGS_XLATE_AT_TOP   0x00020000
 
#define NDIS_DMA_24BITS   ((NDIS_DMA_SIZE)0)
 
#define NDIS_DMA_32BITS   ((NDIS_DMA_SIZE)1)
 
#define NDIS_DMA_64BITS   ((NDIS_DMA_SIZE)2)
 
#define NdisInterruptLevelSensitive   LevelSensitive
 
#define NdisInterruptLatched   Latched
 
#define NDIS_DEVICE_NOT_STOPPABLE   0x00000001
 
#define NDIS_DEVICE_NOT_REMOVEABLE   0x00000002
 
#define NDIS_DEVICE_NOT_SUSPENDABLE   0x00000004
 
#define NDIS_DEVICE_DISABLE_PM   0x00000008
 
#define NDIS_DEVICE_DISABLE_WAKE_UP   0x00000010
 
#define NDIS_DEVICE_DISABLE_WAKE_ON_RECONNECT   0x00000020
 
#define NDIS_DEVICE_RESERVED   0x00000040
 
#define NDIS_DEVICE_DISABLE_WAKE_ON_MAGIC_PACKET   0x00000080
 
#define NDIS_DEVICE_DISABLE_WAKE_ON_PATTERN_MATCH   0x00000100
 
#define NDIS_PROTOCOL_ID_DEFAULT   0x00
 
#define NDIS_PROTOCOL_ID_TCP_IP   0x02
 
#define NDIS_PROTOCOL_ID_IPX   0x06
 
#define NDIS_PROTOCOL_ID_NBF   0x07
 
#define NDIS_PROTOCOL_ID_MAX   0x0F
 
#define NDIS_PROTOCOL_ID_MASK   0x0F
 
#define CO_ADDRESS_FAMILY_Q2931   ((NDIS_AF)0x1)
 
#define CO_ADDRESS_FAMILY_PSCHED   ((NDIS_AF)0x2)
 
#define CO_ADDRESS_FAMILY_L2TP   ((NDIS_AF)0x3)
 
#define CO_ADDRESS_FAMILY_IRDA   ((NDIS_AF)0x4)
 
#define CO_ADDRESS_FAMILY_1394   ((NDIS_AF)0x5)
 
#define CO_ADDRESS_FAMILY_PPP   ((NDIS_AF)0x6)
 
#define CO_ADDRESS_FAMILY_INFINIBAND   ((NDIS_AF)0x7)
 
#define CO_ADDRESS_FAMILY_TAPI   ((NDIS_AF)0x800)
 
#define CO_ADDRESS_FAMILY_TAPI_PROXY   ((NDIS_AF)0x801)
 
#define CO_ADDRESS_FAMILY_PROXY   0x80000000
 
#define RECEIVE_TIME_INDICATION   0x00000001
 
#define USE_TIME_STAMPS   0x00000002
 
#define TRANSMIT_VC   0x00000004
 
#define RECEIVE_VC   0x00000008
 
#define INDICATE_ERRED_PACKETS   0x00000010
 
#define INDICATE_END_OF_TX   0x00000020
 
#define RESERVE_RESOURCES_VC   0x00000040
 
#define ROUND_DOWN_FLOW   0x00000080
 
#define ROUND_UP_FLOW   0x00000100
 
#define PERMANENT_VC   0x00000001
 
#define CALL_PARAMETERS_CHANGED   0x00000002
 
#define QUERY_CALL_PARAMETERS   0x00000004
 
#define BROADCAST_VC   0x00000008
 
#define MULTIPOINT_VC   0x00000010
 
#define WAN_ERROR_CRC   0x00000001
 
#define WAN_ERROR_FRAMING   0x00000002
 
#define WAN_ERROR_HARDWAREOVERRUN   0x00000004
 
#define WAN_ERROR_BUFFEROVERRUN   0x00000008
 
#define WAN_ERROR_TIMEOUT   0x00000010
 
#define WAN_ERROR_ALIGNMENT   0x00000020
 
#define NDIS_TASK_TCP_LARGE_SEND_V0   0
 
#define IPSEC_TPT_UDPESP_ENCAPTYPE_IKE   0x00000001
 
#define IPSEC_TUN_UDPESP_ENCAPTYPE_IKE   0x00000002
 
#define IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_IKE   0x00000004
 
#define IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_IKE   0x00000008
 
#define IPSEC_TPT_UDPESP_ENCAPTYPE_OTHER   0x00000010
 
#define IPSEC_TUN_UDPESP_ENCAPTYPE_OTHER   0x00000020
 
#define IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_OTHER   0x00000040
 
#define IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_OTHER   0x00000080
 
#define NDIS_GET_ORIGINAL_PACKET(Packet)    NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, OriginalPacketInfo)
 
#define NDIS_GET_PACKET_CANCEL_ID(Packet)    NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, PacketCancelId)
 
#define NDIS_PACKET_EXTENSION_FROM_PACKET(Packet)
 
#define NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, InfoType)
 
#define NDIS_SET_ORIGINAL_PACKET(Packet, OriginalPacket)    NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, OriginalPacketInfo) = (OriginalPacket)
 
#define NDIS_SET_PACKET_CANCEL_ID(Packet, CancelId)    NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, PacketCancelId) = (CancelId)
 
#define NdisSetPacketCancelId(_Packet, _CancelId)   NDIS_SET_PACKET_CANCEL_ID(_Packet, _CancelId)
 
#define NdisGetPacketCancelId(_Packet)   NDIS_GET_PACKET_CANCEL_ID(_Packet)
 
#define NDIS_TASK_OFFLOAD_VERSION   1
 
#define MAX_HASHES   4
 
#define TRUNCATED_HASH_LEN   12
 
#define CRYPTO_SUCCESS   0
 
#define CRYPTO_GENERIC_ERROR   1
 
#define CRYPTO_TRANSPORT_AH_AUTH_FAILED   2
 
#define CRYPTO_TRANSPORT_ESP_AUTH_FAILED   3
 
#define CRYPTO_TUNNEL_AH_AUTH_FAILED   4
 
#define CRYPTO_TUNNEL_ESP_AUTH_FAILED   5
 
#define CRYPTO_INVALID_PACKET_SYNTAX   6
 
#define CRYPTO_INVALID_PROTOCOL   7
 
#define PROTOCOL_RESERVED_SIZE_IN_PACKET   (4 * sizeof(PVOID))
 
#define NDIS30_PROTOCOL_CHARACTERISTICS_S
 
#define NDIS30_MINIPORT_CHARACTERISTICS_S
 
#define NDIS40_MINIPORT_CHARACTERISTICS_S
 
#define NDIS50_MINIPORT_CHARACTERISTICS_S
 
#define NDIS51_MINIPORT_CHARACTERISTICS_S
 
#define NUMBER_OF_WORK_ITEM_TYPES   NdisMaxWorkItems
 
#define NUMBER_OF_SINGLE_WORK_ITEMS   6
 
#define FILTERDBS_ARCNET_S    PVOID XXXDB;
 
#define FILTERDBS_S
 
#define NDIS_COMMON_OPEN_BLOCK_WRAPPER_S
 
#define NDIS_COMMON_OPEN_BLOCK_S
 
#define NDIS_M_MAX_LOOKAHEAD   526
 
#define NdisFreeBuffer   IoFreeMdl
 
#define NdisReinitializePacket(Packet)
 
#define NdisQueryBuffer(_Buffer, _VirtualAddress, _Length)
 
#define NdisGetFirstBufferFromPacketSafe(_Packet, _FirstBuffer, _FirstBufferVA, _FirstBufferLength, _TotalBufferLength, _Priority)
 
#define NdisRecalculatePacketCounts(Packet)
 
#define NdisChainBufferAtFront(Packet, Buffer)
 
#define NdisChainBufferAtBack(Packet, Buffer)
 
#define NdisInitializeWorkItem(_WI_, _R_, _C_)
 
#define NdisFlushBuffer(Buffer, WriteToDevice)    KeFlushIoBuffers((Buffer),!(WriteToDevice), TRUE)
 
#define NdisCopyLookaheadData(Destination, Source, Length, MacOptions)
 
#define NdisAdjustBufferLength(Buffer, Length)    (((Buffer)->ByteCount) = (Length))
 
#define NdisBufferLength   MmGetMdlByteCount
 
#define NdisBufferVirtualAddress   MmGetSystemAddressForMdl
 
#define NdisBufferVirtualAddressSafe   MmGetSystemAddressForMdlSafe
 
#define NdisGetBufferPhysicalArraySize(Buffer, ArraySize)    (*(ArraySize) = NDIS_BUFFER_TO_SPAN_PAGES(Buffer))
 
#define NdisQueryBufferOffset(_Buffer, _Offset, _Length)
 
#define NDIS_BUFFER_LINKAGE(Buffer)   (Buffer)->Next
 
#define NdisGetNextBuffer(CurrentBuffer, NextBuffer)
 
#define NDIS_PACKET_FIRST_NDIS_BUFFER(_Packet)   ((_Packet)->Private.Head)
 
#define NDIS_PACKET_LAST_NDIS_BUFFER(_Packet)   ((_Packet)->Private.Tail)
 
#define NDIS_PACKET_VALID_COUNTS(_Packet)   ((_Packet)->Private.ValidCounts)
 
#define NdisGetPacketFlags(Packet)   (Packet)->Private.Flags
 
#define NDIS_GET_PACKET_PROTOCOL_TYPE(_Packet)    ((_Packet)->Private.Flags & NDIS_PROTOCOL_ID_MASK)
 
#define NDIS_OOB_DATA_FROM_PACKET(_Packet)
 
#define NDIS_GET_PACKET_HEADER_SIZE(_Packet)
 
#define NDIS_GET_PACKET_STATUS(_Packet)
 
#define NDIS_GET_PACKET_TIME_TO_SEND(_Packet)
 
#define NDIS_GET_PACKET_TIME_SENT(_Packet)
 
#define NDIS_GET_PACKET_TIME_RECEIVED(_Packet)
 
#define NDIS_GET_PACKET_MEDIA_SPECIFIC_INFO(_Packet, _pMediaSpecificInfo, _pSizeMediaSpecificInfo)
 
#define NDIS_SET_PACKET_HEADER_SIZE(_Packet, _HdrSize)
 
#define NDIS_SET_PACKET_STATUS(_Packet, _Status)
 
#define NDIS_SET_PACKET_TIME_TO_SEND(_Packet, _TimeToSend)
 
#define NDIS_SET_PACKET_TIME_SENT(_Packet, _TimeSent)
 
#define NDIS_SET_PACKET_TIME_RECEIVED(_Packet, _TimeReceived)
 
#define NDIS_SET_PACKET_MEDIA_SPECIFIC_INFO(_Packet, _MediaSpecificInfo, _SizeMediaSpecificInfo)
 
#define NdisSetPacketFlags(Packet, Flags)   (Packet)->Private.Flags |= (Flags)
 
#define NdisClearPacketFlags(Packet, Flags)   (Packet)->Private.Flags &= ~(Flags)
 
#define NdisQueryPacketLength(_Packet, _TotalPacketLength)
 
#define NdisCreateLookaheadBufferFromSharedMemory(_S, _L, _B)   ((*(_B)) = (_S))
 
#define NdisMoveMappedMemory(Destination, Source, Length)
 
#define NdisZeroMappedMemory(Destination, Length)
 
#define NdisMoveFromMappedMemory(Destination, Source, Length)    NdisMoveMappedMemory(Destination, Source, Length)
 
#define NdisMoveToMappedMemory(Destination, Source, Length)    NdisMoveMappedMemory(Destination, Source, Length)
 
#define NdisMUpdateSharedMemory(_H, _L, _V, _P)    NdisUpdateSharedMemory(_H, _L, _V, _P)
 
#define NdisGetPhysicalAddressHigh(PhysicalAddress)    ((PhysicalAddress).HighPart)
 
#define NdisSetPhysicalAddressHigh(PhysicalAddress, Value)    ((PhysicalAddress).HighPart) = (Value)
 
#define NdisGetPhysicalAddressLow(PhysicalAddress)    ((PhysicalAddress).LowPart)
 
#define NdisSetPhysicalAddressLow(PhysicalAddress, Value)    ((PhysicalAddress).LowPart) = (Value)
 
#define NDIS_PHYSICAL_ADDRESS_CONST(Low, High)    { {(ULONG)(Low), (LONG)(High)} }
 
#define NdisEqualMemory(Source1, Source2, Length)    RtlEqualMemory(Source1, Source2, Length)
 
#define NdisFillMemory(Destination, Length, Fill)    RtlFillMemory(Destination, Length, Fill)
 
#define NdisMoveMemory(Destination, Source, Length)    RtlCopyMemory(Destination, Source, Length)
 
#define NdisRetrieveUlong(DestinationAddress, SourceAddress)    RtlRetrieveUlong(DestinationAddress, SourceAddress)
 
#define NdisStoreUlong(DestinationAddress, Value)    RtlStoreUlong(DestinationAddress, Value)
 
#define NdisZeroMemory(Destination, Length)    RtlZeroMemory(Destination, Length)
 
#define NdisAnsiStringToUnicodeString(_us, _as)   RtlAnsiStringToUnicodeString(_us, _as, FALSE)
 
#define NdisEqualString   RtlEqualString
 
#define NdisEqualUnicodeString   RtlEqualUnicodeString
 
#define NdisInitAnsiString   RtlInitString
 
#define NdisUnicodeStringToAnsiString(_as, _us)   RtlUnicodeStringToAnsiString(_as, _us, FALSE)
 
#define NdisFreeString(_s)   NdisFreeMemory((_s).Buffer, (_s).MaximumLength, 0)
 
#define NdisPrintString(_s)   DbgPrint("%ls", (_s).Buffer)
 
#define NdisAllocateSpinLock(_SpinLock)   KeInitializeSpinLock(&(_SpinLock)->SpinLock)
 
#define NdisFreeSpinLock(_SpinLock)
 
#define NdisAcquireSpinLock(_SpinLock)   KeAcquireSpinLock(&(_SpinLock)->SpinLock, &(_SpinLock)->OldIrql)
 
#define NdisReleaseSpinLock(_SpinLock)   KeReleaseSpinLock(&(_SpinLock)->SpinLock,(_SpinLock)->OldIrql)
 
#define NdisDprAcquireSpinLock(_SpinLock)   KeAcquireSpinLockAtDpcLevel(&(_SpinLock)->SpinLock)
 
#define NdisDprReleaseSpinLock(_SpinLock)   KeReleaseSpinLockFromDpcLevel(&(_SpinLock)->SpinLock)
 
#define NdisRawReadPortBufferUchar(Port, Buffer, Length)    READ_PORT_BUFFER_UCHAR((PUCHAR)(Port), (PUCHAR)(Buffer), (Length))
 
#define NdisRawReadPortBufferUlong(Port, Buffer, Length)    READ_PORT_BUFFER_ULONG((PULONG)(Port), (PULONG)(Buffer), (Length))
 
#define NdisRawReadPortBufferUshort(Port, Buffer, Length)    READ_PORT_BUFFER_USHORT((PUSHORT)(Port), (PUSHORT)(Buffer), (Length))
 
#define NdisRawReadPortUchar(Port, Data)    *(Data) = READ_PORT_UCHAR((PUCHAR)(Port))
 
#define NdisRawReadPortUlong(Port, Data)    *(Data) = READ_PORT_ULONG((PULONG)(Port))
 
#define NdisRawReadPortUshort(Port, Data)    *(Data) = READ_PORT_USHORT((PUSHORT)(Port))
 
#define NdisRawWritePortBufferUchar(Port, Buffer, Length)    WRITE_PORT_BUFFER_UCHAR((PUCHAR)(Port), (PUCHAR)(Buffer), (Length))
 
#define NdisRawWritePortBufferUlong(Port, Buffer, Length)    WRITE_PORT_BUFFER_ULONG((PULONG)(Port), (PULONG)(Buffer), (Length))
 
#define NdisRawWritePortBufferUshort(Port, Buffer, Length)    WRITE_PORT_BUFFER_USHORT((PUSHORT)(Port), (PUSHORT)(Buffer), (Length))
 
#define NdisRawWritePortUchar(Port, Data)    WRITE_PORT_UCHAR((PUCHAR)(Port), (UCHAR)(Data))
 
#define NdisRawWritePortUlong(Port, Data)    WRITE_PORT_ULONG((PULONG)(Port), (ULONG)(Data))
 
#define NdisRawWritePortUshort(Port, Data)    WRITE_PORT_USHORT((PUSHORT)(Port), (USHORT)(Data))
 
#define NdisReadRegisterUchar(Register, Data)    *(Data) = *((volatile UCHAR * const) (Register))
 
#define NdisReadRegisterUlong(Register, Data)    *(Data) = *((volatile ULONG * const) (Register))
 
#define NdisReadRegisterUshort(Register, Data)    *(Data) = *((volatile USHORT * const) (Register))
 
#define NdisWriteRegisterUchar(Register, Data)    WRITE_REGISTER_UCHAR((Register), (Data))
 
#define NdisWriteRegisterUlong(Register, Data)    WRITE_REGISTER_ULONG((Register), (Data))
 
#define NdisWriteRegisterUshort(Register, Data)    WRITE_REGISTER_USHORT((Register), (Data))
 
#define NdisInitializeListHead   InitializeListHead
 
#define NdisInterlockedInsertHeadList(_ListHead, _ListEntry, _SpinLock)    ExInterlockedInsertHeadList(_ListHead, _ListEntry, &(_SpinLock)->SpinLock)
 
#define NdisInterlockedInsertTailList(_ListHead, _ListEntry, _SpinLock)    ExInterlockedInsertTailList(_ListHead, _ListEntry, &(_SpinLock)->SpinLock)
 
#define NdisInterlockedRemoveHeadList(_ListHead, _SpinLock)    ExInterlockedRemoveHeadList(_ListHead, &(_SpinLock)->SpinLock)
 
#define NdisInitializeSListHead(SListHead)   ExInitializeSListHead(SListHead)
 
#define NdisQueryDepthSList(SListHead)   ExQueryDepthSList(SListHead)
 
#define NdisInterlockedPushEntryList(ListHead, ListEntry, Lock)    ExInterlockedPushEntryList(ListHead, ListEntry, &(Lock)->SpinLock)
 
#define NdisInterlockedPopEntryList(ListHead, Lock)    ExInterlockedPopEntryList(ListHead, &(Lock)->SpinLock)
 
#define NdisInitializeNPagedLookasideList(_L, _AR, _FR, _Fl, _S, _T, _D)    ExInitializeNPagedLookasideList(_L, _AR, _FR, _Fl, _S, _T, _D)
 
#define NdisDeleteNPagedLookasideList(_L)   ExDeleteNPagedLookasideList(_L)
 
#define NdisAllocateFromNPagedLookasideList(_L)   ExAllocateFromNPagedLookasideList(_L)
 
#define NdisFreeToNPagedLookasideList(_L, _E)   ExFreeToNPagedLookasideList(_L, _E)
 
#define NdisInterlockedDecrement(Addend)   InterlockedDecrement(Addend)
 
#define NdisInterlockedIncrement(Addend)   InterlockedIncrement(Addend)
 
#define NdisInterlockedAddUlong(_Addend, _Increment, _SpinLock)    ExInterlockedAddUlong(_Addend, _Increment, &(_SpinLock)->SpinLock)
 
#define NdisStallExecution   KeStallExecutionProcessor
 
#define NdisGetCurrentSystemTime   KeQuerySystemTime
 
#define NDIS_INIT_FUNCTION(FunctionName)    alloc_text(INIT, FunctionName)
 
#define NDIS_PAGEABLE_FUNCTION(FunctionName)    alloc_text(PAGE, FunctionName)
 
#define NDIS_PAGABLE_FUNCTION   NDIS_PAGEABLE_FUNCTION
 
#define NdisInterlockedPopEntrySList(SListHead, Lock)    ExInterlockedPopEntrySList(SListHead, &(Lock)->SpinLock)
 
#define NdisInterlockedPushEntrySList(SListHead, SListEntry, Lock)    ExInterlockedPushEntrySList(SListHead, SListEntry, &(Lock)->SpinLock)
 
#define NdisInterlockedFlushSList(SListHead)   ExInterlockedFlushSList(SListHead)
 
#define NdisQueryBufferSafe(_Buffer, _VirtualAddress, _Length, _Priority)
 
#define NdisMArcIndicateReceive(MiniportAdapterHandle, HeaderBuffer, DataBuffer, Length)
 
#define NdisMArcIndicateReceiveComplete(MiniportAdapterHandle)
 
#define NdisMEthIndicateReceive(MiniportAdapterHandle, MiniportReceiveContext, HeaderBuffer, HeaderBufferSize, LookaheadBuffer, LookaheadBufferSize, PacketSize)
 
#define NdisMEthIndicateReceiveComplete(MiniportAdapterHandle)
 
#define NdisMFddiIndicateReceive(MiniportAdapterHandle, MiniportReceiveContext, HeaderBuffer, HeaderBufferSize, LookaheadBuffer, LookaheadBufferSize, PacketSize)
 
#define NdisMFddiIndicateReceiveComplete(MiniportAdapterHandle)
 
#define NdisMIndicateReceivePacket(MiniportAdapterHandle, ReceivePackets, NumberOfPackets)
 
#define NdisMIndicateStatus(MiniportAdapterHandle, GeneralStatus, StatusBuffer, StatusBufferSize)
 
#define NdisMIndicateStatusComplete(MiniportAdapterHandle)
 
#define NdisMInitializeWrapper(NdisWrapperHandle, SystemSpecific1, SystemSpecific2, SystemSpecific3)
 
#define NdisMQueryInformationComplete(MiniportAdapterHandle, Status)    (*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->QueryCompleteHandler)(MiniportAdapterHandle, Status)
 
#define NdisMResetComplete(MiniportAdapterHandle, Status, AddressingReset)
 
#define NdisMSendComplete(MiniportAdapterHandle, Packet, Status)
 
#define NdisMSendResourcesAvailable(MiniportAdapterHandle)
 
#define NdisMTransferDataComplete(MiniportAdapterHandle, Packet, Status, BytesTransferred)
 
#define NdisMSetAttributes(MiniportAdapterHandle, MiniportAdapterContext, BusMaster, AdapterType)
 
#define NdisMSetInformationComplete(MiniportAdapterHandle, Status)
 
#define NdisMTrIndicateReceive(MiniportAdapterHandle, MiniportReceiveContext, HeaderBuffer, HeaderBufferSize, LookaheadBuffer, LookaheadBufferSize, PacketSize)
 
#define NdisMTrIndicateReceiveComplete(MiniportAdapterHandle)
 
#define NdisIMInitializeDeviceInstance(DriverHandle, DeviceInstance)    NdisIMInitializeDeviceInstanceEx(DriverHandle, DeviceInstance, NULL)
 
#define NdisUpcaseUnicodeString(_d, _s)   RtlUpcaseUnicodeString(_d, _s, FALSE)
 
#define NdisSetSendFlags(_Packet, _Flags)   (_Packet)->Private.Flags = (_Flags)
 
#define NdisQuerySendFlags(_Packet, _Flags)   *(_Flags) = (_Packet)->Private.Flags
 

Typedefs

typedef * PNDIS_STATUS
 
typedef unsigned int UINT = NULL
 
typedef unsigned intPUINT
 
typedef struct _X_FILTER FDDI_FILTER
 
typedef struct _X_FILTER * PFDDI_FILTER
 
typedef struct _X_FILTER TR_FILTER
 
typedef struct _X_FILTER * PTR_FILTER
 
typedef struct _X_FILTER NULL_FILTER
 
typedef struct _X_FILTER * PNULL_FILTER
 
typedef struct _NDIS_MINIPORT_BLOCK NDIS_MINIPORT_BLOCK
 
typedef struct _NDIS_MINIPORT_BLOCKPNDIS_MINIPORT_BLOCK
 
typedef struct _REFERENCE REFERENCE
 
typedef struct _REFERENCEPREFERENCE
 
typedef struct _NDIS_SPIN_LOCK NDIS_SPIN_LOCK
 
typedef struct _NDIS_SPIN_LOCKPNDIS_SPIN_LOCK
 
typedef struct _NDIS_EVENT NDIS_EVENT
 
typedef struct _NDIS_EVENTPNDIS_EVENT
 
typedef PVOID NDIS_HANDLE
 
typedef PVOIDPNDIS_HANDLE
 
typedef ANSI_STRING NDIS_ANSI_STRING
 
typedef ANSI_STRINGPNDIS_ANSI_STRING
 
typedef UNICODE_STRING NDIS_STRING
 
typedef UNICODE_STRINGPNDIS_STRING
 
typedef MDL NDIS_BUFFER
 
typedef MDLPNDIS_BUFFER
 
typedef union _NDIS_RW_LOCK_REFCOUNT NDIS_RW_LOCK_REFCOUNT
 
typedef struct _NDIS_RW_LOCK NDIS_RW_LOCK
 
typedef struct _NDIS_RW_LOCKPNDIS_RW_LOCK
 
typedef struct _LOCK_STATE LOCK_STATE
 
typedef struct _LOCK_STATEPLOCK_STATE
 
typedef NDIS_TIMER_FUNCTION * PNDIS_TIMER_FUNCTION
 
typedef struct _NDIS_TIMER NDIS_TIMER
 
typedef struct _NDIS_TIMERPNDIS_TIMER
 
typedef CM_MCA_POS_DATA NDIS_MCA_POS_DATA
 
typedef CM_MCA_POS_DATAPNDIS_MCA_POS_DATA
 
typedef CM_EISA_SLOT_INFORMATION NDIS_EISA_SLOT_INFORMATION
 
typedef CM_EISA_SLOT_INFORMATIONPNDIS_EISA_SLOT_INFORMATION
 
typedef CM_EISA_FUNCTION_INFORMATION NDIS_EISA_FUNCTION_INFORMATION
 
typedef CM_EISA_FUNCTION_INFORMATIONPNDIS_EISA_FUNCTION_INFORMATION
 
typedef CM_PARTIAL_RESOURCE_LIST NDIS_RESOURCE_LIST
 
typedef CM_PARTIAL_RESOURCE_LISTPNDIS_RESOURCE_LIST
 
typedef NDIS_HANDLE PNDIS_PACKET_POOL
 
typedef struct _NDIS_PACKET_PRIVATE NDIS_PACKET_PRIVATE
 
typedef struct _NDIS_PACKET_PRIVATEPNDIS_PACKET_PRIVATE
 
typedef struct _NDIS_PACKET NDIS_PACKET
 
typedef struct _NDIS_PACKETPNDIS_PACKET
 
typedef struct _NDIS_PACKET ** PPNDIS_PACKET
 
typedef struct _NDIS_PACKET_STACK NDIS_PACKET_STACK
 
typedef struct _NDIS_PACKET_STACKPNDIS_PACKET_STACK
 
typedef enum _NDIS_CLASS_ID NDIS_CLASS_ID
 
typedef struct _MEDIA_SPECIFIC_INFORMATION MEDIA_SPECIFIC_INFORMATION
 
typedef struct _MEDIA_SPECIFIC_INFORMATIONPMEDIA_SPECIFIC_INFORMATION
 
typedef struct _NDIS_PACKET_OOB_DATA NDIS_PACKET_OOB_DATA
 
typedef struct _NDIS_PACKET_OOB_DATAPNDIS_PACKET_OOB_DATA
 
typedef enum _NDIS_REQUEST_TYPE NDIS_REQUEST_TYPE
 
typedef enum _NDIS_REQUEST_TYPEPNDIS_REQUEST_TYPE
 
typedef struct _NDIS_REQUEST NDIS_REQUEST
 
typedef struct _NDIS_REQUESTPNDIS_REQUEST
 
typedef struct _NDIS_WAN_PACKET NDIS_WAN_PACKET
 
typedef struct _NDIS_WAN_PACKETPNDIS_WAN_PACKET
 
typedef struct _NDIS_DMA_DESCRIPTION NDIS_DMA_DESCRIPTION
 
typedef struct _NDIS_DMA_DESCRIPTIONPNDIS_DMA_DESCRIPTION
 
typedef struct _NDIS_DMA_BLOCK NDIS_DMA_BLOCK
 
typedef struct _NDIS_DMA_BLOCKPNDIS_DMA_BLOCK
 
typedef UCHAR NDIS_DMA_SIZE
 
typedef enum _NDIS_PROCESSOR_TYPE NDIS_PROCESSOR_TYPE
 
typedef enum _NDIS_PROCESSOR_TYPEPNDIS_PROCESSOR_TYPE
 
typedef enum _NDIS_ENVIRONMENT_TYPE NDIS_ENVIRONMENT_TYPE
 
typedef enum _NDIS_ENVIRONMENT_TYPEPNDIS_ENVIRONMENT_TYPE
 
typedef enum _NDIS_INTERFACE_TYPE NDIS_INTERFACE_TYPE
 
typedef enum _NDIS_INTERFACE_TYPEPNDIS_INTERFACE_TYPE
 
typedef KINTERRUPT_MODE NDIS_INTERRUPT_MODE
 
typedef KINTERRUPT_MODEPNDIS_INTERRUPT_MODE
 
typedef enum _NDIS_PARAMETER_TYPE NDIS_PARAMETER_TYPE
 
typedef enum _NDIS_PARAMETER_TYPEPNDIS_PARAMETER_TYPE
 
typedef struct _BINARY_DATA BINARY_DATA
 
typedef struct _NDIS_CONFIGURATION_PARAMETER NDIS_CONFIGURATION_PARAMETER
 
typedef struct _NDIS_CONFIGURATION_PARAMETERPNDIS_CONFIGURATION_PARAMETER
 
typedef PHYSICAL_ADDRESS NDIS_PHYSICAL_ADDRESS
 
typedef PHYSICAL_ADDRESSPNDIS_PHYSICAL_ADDRESS
 
typedef struct _NDIS_PHYSICAL_ADDRESS_UNIT NDIS_PHYSICAL_ADDRESS_UNIT
 
typedef struct _NDIS_PHYSICAL_ADDRESS_UNITPNDIS_PHYSICAL_ADDRESS_UNIT
 
typedef struct _NDIS_WAN_LINE_DOWN NDIS_WAN_LINE_DOWN
 
typedef struct _NDIS_WAN_LINE_DOWNPNDIS_WAN_LINE_DOWN
 
typedef struct _NDIS_WAN_LINE_UP NDIS_WAN_LINE_UP
 
typedef struct _NDIS_WAN_LINE_UPPNDIS_WAN_LINE_UP
 
typedef NTSTATUS(NTAPITDI_REGISTER_CALLBACK) (_In_ PUNICODE_STRING DeviceName, _Out_ HANDLE *TdiHandle)
 
typedef NTSTATUS(NTAPITDI_PNP_HANDLER) (_In_ PUNICODE_STRING UpperComponent, _In_ PUNICODE_STRING LowerComponent, _In_ PUNICODE_STRING BindList, _In_ PVOID ReconfigBuffer, _In_ UINT ReconfigBufferSize, _In_ UINT Operation)
 
typedef struct _OID_LIST OID_LIST
 
typedef struct _OID_LIST * POID_LIST
 
typedef enum _NDIS_PNP_DEVICE_STATE NDIS_PNP_DEVICE_STATE
 
typedef enum _NDIS_DEVICE_PNP_EVENT NDIS_DEVICE_PNP_EVENT
 
typedef enum _NDIS_DEVICE_PNP_EVENTPNDIS_DEVICE_PNP_EVENT
 
typedef enum _NDIS_POWER_PROFILE NDIS_POWER_PROFILE
 
typedef enum _NDIS_POWER_PROFILEPNDIS_POWER_PROFILE
 
typedef ULONG NDIS_AF
 
typedef ULONGPNDIS_AF
 
typedef struct _CO_ADDRESS_FAMILY CO_ADDRESS_FAMILY
 
typedef struct _CO_ADDRESS_FAMILYPCO_ADDRESS_FAMILY
 
typedef struct _CO_SPECIFIC_PARAMETERS CO_SPECIFIC_PARAMETERS
 
typedef struct _CO_SPECIFIC_PARAMETERSPCO_SPECIFIC_PARAMETERS
 
typedef struct _CO_CALL_MANAGER_PARAMETERS CO_CALL_MANAGER_PARAMETERS
 
typedef struct _CO_CALL_MANAGER_PARAMETERSPCO_CALL_MANAGER_PARAMETERS
 
typedef struct _CO_MEDIA_PARAMETERS CO_MEDIA_PARAMETERS
 
typedef struct _CO_MEDIA_PARAMETERSPCO_MEDIA_PARAMETERS
 
typedef struct _CO_CALL_PARAMETERS CO_CALL_PARAMETERS
 
typedef struct _CO_CALL_PARAMETERSPCO_CALL_PARAMETERS
 
typedef struct _CO_SAP CO_SAP
 
typedef struct _CO_SAPPCO_SAP
 
typedef struct _NDIS_IPSEC_PACKET_INFO NDIS_IPSEC_PACKET_INFO
 
typedef struct _NDIS_IPSEC_PACKET_INFOPNDIS_IPSEC_PACKET_INFO
 
typedef struct _NDIS_MAC_FRAGMENT NDIS_MAC_FRAGMENT
 
typedef struct _NDIS_MAC_FRAGMENTPNDIS_MAC_FRAGMENT
 
typedef struct _NDIS_MAC_LINE_DOWN NDIS_MAC_LINE_DOWN
 
typedef struct _NDIS_MAC_LINE_DOWNPNDIS_MAC_LINE_DOWN
 
typedef struct _NDIS_MAC_LINE_UP NDIS_MAC_LINE_UP
 
typedef struct _NDIS_MAC_LINE_UPPNDIS_MAC_LINE_UP
 
typedef struct _NDIS_PACKET_8021Q_INFO NDIS_PACKET_8021Q_INFO
 
typedef struct _NDIS_PACKET_8021Q_INFOPNDIS_PACKET_8021Q_INFO
 
typedef enum _NDIS_PER_PACKET_INFO NDIS_PER_PACKET_INFO
 
typedef enum _NDIS_PER_PACKET_INFOPNDIS_PER_PACKET_INFO
 
typedef struct _NDIS_PACKET_EXTENSION NDIS_PACKET_EXTENSION
 
typedef struct _NDIS_PACKET_EXTENSIONPNDIS_PACKET_EXTENSION
 
typedef enum _NDIS_TASK NDIS_TASK
 
typedef enum _NDIS_TASKPNDIS_TASK
 
typedef enum _NDIS_ENCAPSULATION NDIS_ENCAPSULATION
 
typedef struct _NDIS_ENCAPSULATION_FORMAT NDIS_ENCAPSULATION_FORMAT
 
typedef struct _NDIS_ENCAPSULATION_FORMATPNDIS_ENCAPSULATION_FORMAT
 
typedef struct _NDIS_TASK_OFFLOAD_HEADER NDIS_TASK_OFFLOAD_HEADER
 
typedef struct _NDIS_TASK_OFFLOAD_HEADERPNDIS_TASK_OFFLOAD_HEADER
 
typedef struct _NDIS_TASK_OFFLOAD NDIS_TASK_OFFLOAD
 
typedef struct _NDIS_TASK_OFFLOADPNDIS_TASK_OFFLOAD
 
typedef struct _NDIS_TASK_TCP_IP_CHECKSUM NDIS_TASK_TCP_IP_CHECKSUM
 
typedef struct _NDIS_TASK_TCP_IP_CHECKSUMPNDIS_TASK_TCP_IP_CHECKSUM
 
typedef struct _NDIS_TASK_TCP_LARGE_SEND NDIS_TASK_TCP_LARGE_SEND
 
typedef struct _NDIS_TASK_TCP_LARGE_SENDPNDIS_TASK_TCP_LARGE_SEND
 
typedef struct _NDIS_TASK_IPSEC NDIS_TASK_IPSEC
 
typedef struct _NDIS_TASK_IPSECPNDIS_TASK_IPSEC
 
typedef struct _NDIS_TCP_IP_CHECKSUM_PACKET_INFO NDIS_TCP_IP_CHECKSUM_PACKET_INFO
 
typedef struct _NDIS_TCP_IP_CHECKSUM_PACKET_INFOPNDIS_TCP_IP_CHECKSUM_PACKET_INFO
 
typedef struct _NDIS_WAN_CO_FRAGMENT NDIS_WAN_CO_FRAGMENT
 
typedef struct _NDIS_WAN_CO_FRAGMENTPNDIS_WAN_CO_FRAGMENT
 
typedef struct _NDIS_WAN_FRAGMENT NDIS_WAN_FRAGMENT
 
typedef struct _NDIS_WAN_FRAGMENTPNDIS_WAN_FRAGMENT
 
typedef struct _WAN_CO_LINKPARAMS WAN_CO_LINKPARAMS
 
typedef struct _WAN_CO_LINKPARAMSPWAN_CO_LINKPARAMS
 
typedef struct _NDIS_WAN_GET_STATS NDIS_WAN_GET_STATS
 
typedef struct _NDIS_WAN_GET_STATSPNDIS_WAN_GET_STATS
 
typedef VOID(NTAPICM_ACTIVATE_VC_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE CallMgrVcContext, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef NDIS_STATUS(NTAPICM_ADD_PARTY_HANDLER) (IN NDIS_HANDLE CallMgrVcContext, IN OUT PCO_CALL_PARAMETERS CallParameters, IN NDIS_HANDLE NdisPartyHandle, OUT PNDIS_HANDLE CallMgrPartyContext)
 
typedef NDIS_STATUS(NTAPICM_CLOSE_AF_HANDLER) (IN NDIS_HANDLE CallMgrAfContext)
 
typedef NDIS_STATUS(NTAPICM_CLOSE_CALL_HANDLER) (IN NDIS_HANDLE CallMgrVcContext, IN NDIS_HANDLE CallMgrPartyContext OPTIONAL, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)
 
typedef NDIS_STATUS(NTAPICM_DEREG_SAP_HANDLER) (IN NDIS_HANDLE CallMgrSapContext)
 
typedef VOID(NTAPICM_DEACTIVATE_VC_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE CallMgrVcContext)
 
typedef NDIS_STATUS(NTAPICM_DROP_PARTY_HANDLER) (IN NDIS_HANDLE CallMgrPartyContext, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)
 
typedef VOID(NTAPICM_INCOMING_CALL_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE CallMgrVcContext, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef NDIS_STATUS(NTAPICM_MAKE_CALL_HANDLER) (IN NDIS_HANDLE CallMgrVcContext, IN OUT PCO_CALL_PARAMETERS CallParameters, IN NDIS_HANDLE NdisPartyHandle OPTIONAL, OUT PNDIS_HANDLE CallMgrPartyContext OPTIONAL)
 
typedef NDIS_STATUS(NTAPICM_MODIFY_CALL_QOS_HANDLER) (IN NDIS_HANDLE CallMgrVcContext, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef NDIS_STATUS(NTAPICM_OPEN_AF_HANDLER) (IN NDIS_HANDLE CallMgrBindingContext, IN PCO_ADDRESS_FAMILY AddressFamily, IN NDIS_HANDLE NdisAfHandle, OUT PNDIS_HANDLE CallMgrAfContext)
 
typedef NDIS_STATUS(NTAPICM_REG_SAP_HANDLER) (IN NDIS_HANDLE CallMgrAfContext, IN PCO_SAP Sap, IN NDIS_HANDLE NdisSapHandle, OUT PNDIS_HANDLE CallMgrSapContext)
 
typedef NDIS_STATUS(NTAPICO_CREATE_VC_HANDLER) (IN NDIS_HANDLE ProtocolAfContext, IN NDIS_HANDLE NdisVcHandle, OUT PNDIS_HANDLE ProtocolVcContext)
 
typedef NDIS_STATUS(NTAPICO_DELETE_VC_HANDLER) (IN NDIS_HANDLE ProtocolVcContext)
 
typedef struct _NDIS_CALL_MANAGER_CHARACTERISTICS NDIS_CALL_MANAGER_CHARACTERISTICS
 
typedef struct _NDIS_CALL_MANAGER_CHARACTERISTICSPNDIS_CALL_MANAGER_CHARACTERISTICS
 
typedef VOID(* CL_OPEN_AF_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolAfContext, IN NDIS_HANDLE NdisAfHandle)
 
typedef VOID(NTAPICL_CLOSE_AF_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolAfContext)
 
typedef VOID(NTAPICL_REG_SAP_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolSapContext, IN PCO_SAP Sap, IN NDIS_HANDLE NdisSapHandle)
 
typedef VOID(NTAPICL_DEREG_SAP_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolSapContext)
 
typedef VOID(NTAPICL_MAKE_CALL_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolVcContext, IN NDIS_HANDLE NdisPartyHandle OPTIONAL, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef VOID(NTAPICL_MODIFY_CALL_QOS_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolVcContext, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef VOID(NTAPICL_CLOSE_CALL_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolVcContext, IN NDIS_HANDLE ProtocolPartyContext OPTIONAL)
 
typedef VOID(NTAPICL_ADD_PARTY_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolPartyContext, IN NDIS_HANDLE NdisPartyHandle, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef VOID(NTAPICL_DROP_PARTY_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolPartyContext)
 
typedef NDIS_STATUS(NTAPICL_INCOMING_CALL_HANDLER) (IN NDIS_HANDLE ProtocolSapContext, IN NDIS_HANDLE ProtocolVcContext, IN OUT PCO_CALL_PARAMETERS CallParameters)
 
typedef VOID(NTAPICL_INCOMING_CALL_QOS_CHANGE_HANDLER) (IN NDIS_HANDLE ProtocolVcContext, IN PCO_CALL_PARAMETERS CallParameters)
 
typedef VOID(NTAPICL_INCOMING_CLOSE_CALL_HANDLER) (IN NDIS_STATUS CloseStatus, IN NDIS_HANDLE ProtocolVcContext, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)
 
typedef VOID(NTAPICL_INCOMING_DROP_PARTY_HANDLER) (IN NDIS_STATUS DropStatus, IN NDIS_HANDLE ProtocolPartyContext, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)
 
typedef VOID(NTAPICL_CALL_CONNECTED_HANDLER) (IN NDIS_HANDLE ProtocolVcContext)
 
typedef struct _NDIS_CLIENT_CHARACTERISTICS NDIS_CLIENT_CHARACTERISTICS
 
typedef struct _NDIS_CLIENT_CHARACTERISTICSPNDIS_CLIENT_CHARACTERISTICS
 
typedef VOID(NTAPIOPEN_ADAPTER_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status, _In_ NDIS_STATUS OpenErrorStatus)
 
typedef VOID(NTAPICLOSE_ADAPTER_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPIRESET_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPIREQUEST_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_REQUEST NdisRequest, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPISTATUS_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS GeneralStatus, _In_ PVOID StatusBuffer, _In_ UINT StatusBufferSize)
 
typedef VOID(NTAPISTATUS_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext)
 
typedef VOID(NTAPISEND_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_PACKET Packet, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPIWAN_SEND_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_WAN_PACKET Packet, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPITRANSFER_DATA_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_PACKET Packet, _In_ NDIS_STATUS Status, _In_ UINT BytesTransferred)
 
typedef VOID(NTAPIWAN_TRANSFER_DATA_COMPLETE_HANDLER) (VOID)
 
typedef NDIS_STATUS(NTAPIRECEIVE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_HANDLE MacReceiveContext, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookAheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)
 
typedef NDIS_STATUS(NTAPIWAN_RECEIVE_HANDLER) (_In_ NDIS_HANDLE NdisLinkHandle, _In_ PUCHAR Packet, _In_ ULONG PacketSize)
 
typedef VOID(NTAPIRECEIVE_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext)
 
typedef struct _NDIS30_PROTOCOL_CHARACTERISTICS NDIS30_PROTOCOL_CHARACTERISTICS
 
typedef struct _NDIS30_PROTOCOL_CHARACTERISTICSPNDIS30_PROTOCOL_CHARACTERISTICS
 
typedef INT(NTAPIRECEIVE_PACKET_HANDLER) (IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET Packet)
 
typedef VOID(NTAPIBIND_HANDLER) (OUT PNDIS_STATUS Status, IN NDIS_HANDLE BindContext, IN PNDIS_STRING DeviceName, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2)
 
typedef VOID(NTAPIUNBIND_HANDLER) (OUT PNDIS_STATUS Status, IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_HANDLE UnbindContext)
 
typedef NDIS_STATUS(NTAPIPNP_EVENT_HANDLER) (IN NDIS_HANDLE ProtocolBindingContext, IN PNET_PNP_EVENT NetPnPEvent)
 
typedef VOID(NTAPIUNLOAD_PROTOCOL_HANDLER) (VOID)
 
typedef struct _NDIS40_PROTOCOL_CHARACTERISTICS NDIS40_PROTOCOL_CHARACTERISTICS
 
typedef IN PCO_ADDRESS_FAMILY AddressFamily
 
typedef PROTCOL_CO_AF_REGISTER_NOTIFY * CO_AF_REGISTER_NOTIFY_HANDLER
 
typedef struct _NDIS50_PROTOCOL_CHARACTERISTICS NDIS50_PROTOCOL_CHARACTERISTICS
 
typedef NDIS40_PROTOCOL_CHARACTERISTICS NDIS_PROTOCOL_CHARACTERISTICS
 
typedef NDIS_PROTOCOL_CHARACTERISTICSPNDIS_PROTOCOL_CHARACTERISTICS
 
typedef BOOLEAN(NTAPIW_CHECK_FOR_HANG_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef VOID(NTAPIW_DISABLE_INTERRUPT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef VOID(NTAPIW_ENABLE_INTERRUPT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef VOID(NTAPIW_HALT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef VOID(NTAPIW_HANDLE_INTERRUPT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef NDIS_STATUS(NTAPIW_INITIALIZE_HANDLER) (_Out_ PNDIS_STATUS OpenErrorStatus, _Out_ PUINT SelectedMediumIndex, _In_ PNDIS_MEDIUM MediumArray, _In_ UINT MediumArraySize, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE WrapperConfigurationContext)
 
typedef VOID(NTAPIW_ISR_HANDLER) (_Out_ PBOOLEAN InterruptRecognized, _Out_ PBOOLEAN QueueMiniportHandleInterrupt, _In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef NDIS_STATUS(NTAPIW_QUERY_INFORMATION_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_OID Oid, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength, _Out_ PULONG BytesWritten, _Out_ PULONG BytesNeeded)
 
typedef NDIS_STATUS(NTAPIW_RECONFIGURE_HANDLER) (_Out_ PNDIS_STATUS OpenErrorStatus, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE WrapperConfigurationContext)
 
typedef NDIS_STATUS(NTAPIW_RESET_HANDLER) (_Out_ PBOOLEAN AddressingReset, _In_ NDIS_HANDLE MiniportAdapterContext)
 
typedef NDIS_STATUS(NTAPIW_SEND_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet, _In_ UINT Flags)
 
typedef NDIS_STATUS(NTAPIWM_SEND_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE NdisLinkHandle, _In_ PNDIS_WAN_PACKET Packet)
 
typedef NDIS_STATUS(NTAPIW_SET_INFORMATION_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_OID Oid, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength, _Out_ PULONG BytesRead, _Out_ PULONG BytesNeeded)
 
typedef NDIS_STATUS(NTAPIW_TRANSFER_DATA_HANDLER) (_Out_ PNDIS_PACKET Packet, _Out_ PUINT BytesTransferred, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE MiniportReceiveContext, _In_ UINT ByteOffset, _In_ UINT BytesToTransfer)
 
typedef NDIS_STATUS(NTAPIWM_TRANSFER_DATA_HANDLER) (VOID)
 
typedef VOID(NTAPIADAPTER_SHUTDOWN_HANDLER) (_In_ PVOID ShutdownContext)
 
typedef VOID(NTAPIW_RETURN_PACKET_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet)
 
typedef VOID(NTAPIW_SEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)
 
typedef VOID(NTAPIW_ALLOCATE_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PVOID VirtualAddress, _In_ PNDIS_PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG Length, _In_ PVOID Context)
 
typedef struct _NDIS30_MINIPORT_CHARACTERISTICS NDIS30_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS30_MINIPORT_CHARACTERISTICSPSNDIS30_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS40_MINIPORT_CHARACTERISTICS NDIS40_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS40_MINIPORT_CHARACTERISTICSPNDIS40_MINIPORT_CHARACTERISTICS
 
typedef MINIPORT_CO_CREATE_VC * W_CO_CREATE_VC_HANDLER
 
typedef MINIPORT_CO_DELETE_VC * W_CO_DELETE_VC_HANDLER
 
typedef MINIPORT_CO_ACTIVATE_VC * W_CO_ACTIVATE_VC_HANDLER
 
typedef MINIPORT_CO_DEACTIVATE_VC * W_CO_DEACTIVATE_VC_HANDLER
 
typedef VOID(NTAPIW_CO_SEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportVcContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)
 
typedef NDIS_STATUS(NTAPIW_CO_REQUEST_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_opt_ NDIS_HANDLE MiniportVcContext, _Inout_ PNDIS_REQUEST NdisRequest)
 
typedef struct _NDIS50_MINIPORT_CHARACTERISTICS NDIS50_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS50_MINIPORT_CHARACTERISTICSPSNDIS50_MINIPORT_CHARACTERISTICS
 
typedef VOID(NTAPIW_CANCEL_SEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PVOID CancelId)
 
typedef VOID(NTAPIW_PNP_EVENT_NOTIFY_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_DEVICE_PNP_EVENT PnPEvent, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength)
 
typedef VOID(NTAPIW_MINIPORT_SHUTDOWN_HANDLER) (_In_ PVOID ShutdownContext)
 
typedef struct _NDIS51_MINIPORT_CHARACTERISTICS NDIS51_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS51_MINIPORT_CHARACTERISTICSPSNDIS51_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS_MINIPORT_CHARACTERISTICS NDIS_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS_MINIPORT_CHARACTERISTICSPNDIS_MINIPORT_CHARACTERISTICS
 
typedef struct _NDIS_MINIPORT_INTERRUPT NDIS_MINIPORT_INTERRUPT
 
typedef struct _NDIS_MINIPORT_INTERRUPTPNDIS_MINIPORT_INTERRUPT
 
typedef BOOLEAN(NTAPIPNDIS_INTERRUPT_SERVICE) (IN PVOID InterruptContext)
 
typedef VOID(NTAPIPNDIS_DEFERRED_PROCESSING) (IN PVOID SystemSpecific1, IN PVOID InterruptContext, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)
 
typedef struct _NDIS_WRAPPER_HANDLE NDIS_WRAPPER_HANDLE
 
typedef struct _NDIS_WRAPPER_HANDLE * PNDIS_WRAPPER_HANDLE
 
typedef struct _NDIS_PROTOCOL_BLOCK NDIS_PROTOCOL_BLOCK
 
typedef struct _NDIS_PROTOCOL_BLOCK * PNDIS_PROTOCOL_BLOCK
 
typedef struct _NDIS_OPEN_BLOCK NDIS_OPEN_BLOCK
 
typedef struct _NDIS_OPEN_BLOCKPNDIS_OPEN_BLOCK
 
typedef struct _NDIS_M_DRIVER_BLOCK NDIS_M_DRIVER_BLOCK
 
typedef struct _NDIS_M_DRIVER_BLOCKPNDIS_M_DRIVER_BLOCK
 
typedef struct _NDIS_OFFLOAD NDIS_OFFLOAD
 
typedef struct _NDIS_OFFLOAD * PNDIS_OFFLOAD
 
typedef struct _NDIS_AF_LIST NDIS_AF_LIST
 
typedef struct _NDIS_AF_LIST * PNDIS_AF_LIST
 
typedef struct _X_FILTER ETH_FILTER
 
typedef struct _X_FILTER * PETH_FILTER
 
typedef struct _NDIS_MINIPORT_TIMER NDIS_MINIPORT_TIMER
 
typedef struct _NDIS_MINIPORT_TIMERPNDIS_MINIPORT_TIMER
 
typedef struct _NDIS_INTERRUPT NDIS_INTERRUPT
 
typedef struct _NDIS_INTERRUPTPNDIS_INTERRUPT
 
typedef enum _NDIS_WORK_ITEM_TYPE NDIS_WORK_ITEM_TYPE
 
typedef enum _NDIS_WORK_ITEM_TYPEPNDIS_WORK_ITEM_TYPE
 
typedef struct _NDIS_MINIPORT_WORK_ITEM NDIS_MINIPORT_WORK_ITEM
 
typedef struct _NDIS_MINIPORT_WORK_ITEMPNDIS_MINIPORT_WORK_ITEM
 
typedef VOID(NTAPINDIS_PROC) (struct _NDIS_WORK_ITEM *, PVOID)
 
typedef struct _NDIS_WORK_ITEM NDIS_WORK_ITEM
 
typedef struct _NDIS_WORK_ITEMPNDIS_WORK_ITEM
 
typedef struct _NDIS_BIND_PATHS NDIS_BIND_PATHS
 
typedef struct _NDIS_BIND_PATHSPNDIS_BIND_PATHS
 
typedef VOID(NTAPIETH_RCV_COMPLETE_HANDLER) (_In_ PETH_FILTER Filter)
 
typedef VOID(NTAPIETH_RCV_INDICATE_HANDLER) (_In_ PETH_FILTER Filter, _In_ NDIS_HANDLE MacReceiveContext, _In_ PCHAR Address, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookaheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)
 
typedef VOID(NTAPIFDDI_RCV_COMPLETE_HANDLER) (IN PFDDI_FILTER Filter)
 
typedef VOID(NTAPIFDDI_RCV_INDICATE_HANDLER) (IN PFDDI_FILTER Filter, IN NDIS_HANDLE MacReceiveContext, IN PCHAR Address, IN UINT AddressLength, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookaheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize)
 
typedef VOID(NTAPIFILTER_PACKET_INDICATION_HANDLER) (_In_ NDIS_HANDLE Miniport, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)
 
typedef VOID(NTAPITR_RCV_COMPLETE_HANDLER) (_In_ PTR_FILTER Filter)
 
typedef VOID(NTAPITR_RCV_INDICATE_HANDLER) (_In_ PTR_FILTER Filter, _In_ NDIS_HANDLE MacReceiveContext, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookaheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)
 
typedef VOID(NTAPIWAN_RCV_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_HANDLE NdisLinkContext)
 
typedef VOID(NTAPIWAN_RCV_HANDLER) (_Out_ PNDIS_STATUS Status, _In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_HANDLE NdisLinkContext, _In_ PUCHAR Packet, _In_ ULONG PacketSize)
 
typedef VOID(FASTCALLNDIS_M_DEQUEUE_WORK_ITEM) (IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, OUT PVOID *WorkItemContext)
 
typedef NDIS_STATUS(FASTCALLNDIS_M_QUEUE_NEW_WORK_ITEM) (IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, IN PVOID WorkItemContext)
 
typedef NDIS_STATUS(FASTCALLNDIS_M_QUEUE_WORK_ITEM) (IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, IN PVOID WorkItemContext)
 
typedef VOID(NTAPINDIS_M_REQ_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPINDIS_M_RESET_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_STATUS Status, _In_ BOOLEAN AddressingReset)
 
typedef VOID(NTAPINDIS_M_SEND_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ PNDIS_PACKET Packet, _In_ NDIS_STATUS Status)
 
typedef VOID(NTAPINDIS_M_SEND_RESOURCES_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle)
 
typedef BOOLEAN(FASTCALLNDIS_M_START_SENDS) (_In_ PNDIS_MINIPORT_BLOCK Miniport)
 
typedef VOID(NTAPINDIS_M_STATUS_HANDLER) (_In_ NDIS_HANDLE MiniportHandle, _In_ NDIS_STATUS GeneralStatus, _In_ PVOID StatusBuffer, _In_ UINT StatusBufferSize)
 
typedef VOID(NTAPINDIS_M_STS_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle)
 
typedef VOID(NTAPINDIS_M_TD_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ PNDIS_PACKET Packet, _In_ NDIS_STATUS Status, _In_ UINT BytesTransferred)
 
typedef VOID(NTAPINDIS_WM_SEND_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ PVOID Packet, _In_ NDIS_STATUS Status)
 
typedef struct _NDIS_LOG NDIS_LOG
 
typedef struct _NDIS_LOGPNDIS_LOG
 
typedef struct _FILTERDBS FILTERDBS
 
typedef struct _FILTERDBSPFILTERDBS
 
typedef NDIS_STATUS(NTAPIWAN_SEND_HANDLER) (_In_ NDIS_HANDLE MacBindingHandle, _In_ NDIS_HANDLE LinkHandle, _In_ PVOID Packet)
 
typedef VOID(NTAPISEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)
 
typedef NDIS_STATUS(NTAPISEND_HANDLER) (_In_ NDIS_HANDLE NdisBindingHandle, _In_ PNDIS_PACKET Packet)
 
typedef NDIS_STATUS(NTAPITRANSFER_DATA_HANDLER) (_In_ NDIS_HANDLE NdisBindingHandle, _In_ NDIS_HANDLE MacReceiveContext, _In_ UINT ByteOffset, _In_ UINT BytesToTransfer, _Out_ PNDIS_PACKET Packet, _Out_ PUINT BytesTransferred)
 
typedef NDIS_STATUS(NTAPIRESET_HANDLER) (_In_ NDIS_HANDLE NdisBindingHandle)
 
typedef NDIS_STATUS(NTAPIREQUEST_HANDLER) (_In_ NDIS_HANDLE NdisBindingHandle, _In_ PNDIS_REQUEST NdisRequest)
 
typedef struct _NDIS_COMMON_OPEN_BLOCK NDIS_COMMON_OPEN_BLOCK
 
typedef VOID(NTAPINDIS_BLOCK_INITIALIZER) (IN PUCHAR Block, IN SIZE_T NumberOfBytes)
 
typedef VOID(NTAPIW_MINIPORT_CALLBACK) (IN NDIS_HANDLE MiniportAdapterContext, IN PVOID CallbackContext)
 
typedef NDIS_STATUS(* OPEN_ADAPTER_HANDLER) (OUT PNDIS_STATUS OpenErrorStatus, OUT NDIS_HANDLE *MacBindingHandle, OUT PUINT SelectedMediumIndex, IN PNDIS_MEDIUM MediumArray, IN UINT MediumArraySize, IN NDIS_HANDLE NdisBindingContext, IN NDIS_HANDLE MacAdapterContext, IN UINT OpenOptions, IN PSTRING AddressingInformation OPTIONAL)
 
typedef NDIS_STATUS(NTAPICLOSE_ADAPTER_HANDLER) (IN NDIS_HANDLE MacBindingHandle)
 
typedef NDIS_STATUS(NTAPIWAN_TRANSFER_DATA_HANDLER) (VOID)
 
typedef NDIS_STATUS(NTAPIQUERY_GLOBAL_STATISTICS_HANDLER) (IN NDIS_HANDLE MacAdapterContext, IN PNDIS_REQUEST NdisRequest)
 
typedef VOID(NTAPIUNLOAD_MAC_HANDLER) (IN NDIS_HANDLE MacMacContext)
 
typedef NDIS_STATUS(NTAPIADD_ADAPTER_HANDLER) (IN NDIS_HANDLE MacMacContext, IN NDIS_HANDLE WrapperConfigurationContext, IN PNDIS_STRING AdapterName)
 
typedef VOID(* REMOVE_ADAPTER_HANDLER) (IN NDIS_HANDLE MacAdapterContext)
 
typedef struct _NDIS_MAC_CHARACTERISTICS NDIS_MAC_CHARACTERISTICS
 
typedef struct _NDIS_MAC_CHARACTERISTICSPNDIS_MAC_CHARACTERISTICS
 
typedef NDIS_MAC_CHARACTERISTICS NDIS_WAN_MAC_CHARACTERISTICS
 
typedef NDIS_WAN_MAC_CHARACTERISTICSPNDIS_WAN_MAC_CHARACTERISTICS
 

Enumerations

enum  _NDIS_CLASS_ID { NdisClass802_3Priority , NdisClassWirelessWanMbxMailbox , NdisClassIrdaPacketInfo , NdisClassAtmAALInfo }
 
enum  _NDIS_REQUEST_TYPE {
  NdisRequestQueryInformation , NdisRequestSetInformation , NdisRequestQueryStatistics , NdisRequestOpen ,
  NdisRequestClose , NdisRequestSend , NdisRequestTransferData , NdisRequestReset ,
  NdisRequestGeneric1 , NdisRequestGeneric2 , NdisRequestGeneric3 , NdisRequestGeneric4
}
 
enum  _NDIS_PROCESSOR_TYPE {
  NdisProcessorX86 , NdisProcessorMips , NdisProcessorAlpha , NdisProcessorPpc ,
  NdisProcessorAmd64 , NdisProcessorIA64
}
 
enum  _NDIS_ENVIRONMENT_TYPE { NdisEnvironmentWindows , NdisEnvironmentWindowsNt }
 
enum  _NDIS_INTERFACE_TYPE {
  NdisInterfaceInternal = Internal , NdisInterfaceIsa = Isa , NdisInterfaceEisa = Eisa , NdisInterfaceMca = MicroChannel ,
  NdisInterfaceTurboChannel = TurboChannel , NdisInterfacePci = PCIBus , NdisInterfacePcMcia = PCMCIABus , NdisInterfaceCBus = CBus ,
  NdisInterfaceMPIBus = MPIBus , NdisInterfaceMPSABus = MPSABus , NdisInterfaceProcessorInternal = ProcessorInternal , NdisInterfaceInternalPowerBus = InternalPowerBus ,
  NdisInterfacePNPISABus = PNPISABus , NdisInterfacePNPBus = PNPBus , NdisInterfaceUSB , NdisInterfaceIrda ,
  NdisInterface1394 , NdisMaximumInterfaceType
}
 
enum  _NDIS_PARAMETER_TYPE {
  NdisParameterInteger , NdisParameterHexInteger , NdisParameterString , NdisParameterMultiString ,
  NdisParameterBinary
}
 
enum  _NDIS_PNP_DEVICE_STATE {
  NdisPnPDeviceAdded , NdisPnPDeviceStarted , NdisPnPDeviceQueryStopped , NdisPnPDeviceStopped ,
  NdisPnPDeviceQueryRemoved , NdisPnPDeviceRemoved , NdisPnPDeviceSurpriseRemoved
}
 
enum  _NDIS_DEVICE_PNP_EVENT {
  NdisDevicePnPEventQueryRemoved , NdisDevicePnPEventRemoved , NdisDevicePnPEventSurpriseRemoved , NdisDevicePnPEventQueryStopped ,
  NdisDevicePnPEventStopped , NdisDevicePnPEventPowerProfileChanged , NdisDevicePnPEventMaximum
}
 
enum  _NDIS_POWER_PROFILE { NdisPowerProfileBattery , NdisPowerProfileAcOnLine }
 
enum  _NDIS_PER_PACKET_INFO {
  TcpIpChecksumPacketInfo , IpSecPacketInfo , TcpLargeSendPacketInfo , ClassificationHandlePacketInfo ,
  NdisReserved , ScatterGatherListPacketInfo , Ieee8021QInfo , OriginalPacketInfo ,
  PacketCancelId , OriginalNetBufferList , CachedNetBufferList , ShortPacketPaddingInfo ,
  MaxPerPacketInfo
}
 
enum  _NDIS_TASK { TcpIpChecksumNdisTask , IpSecNdisTask , TcpLargeSendNdisTask , MaxNdisTask }
 
enum  _NDIS_ENCAPSULATION {
  UNSPECIFIED_Encapsulation , NULL_Encapsulation , IEEE_802_3_Encapsulation , IEEE_802_5_Encapsulation ,
  LLC_SNAP_ROUTED_Encapsulation , LLC_SNAP_BRIDGED_Encapsulation
}
 
enum  _NDIS_WORK_ITEM_TYPE {
  NdisWorkItemRequest , NdisWorkItemSend , NdisWorkItemReturnPackets , NdisWorkItemResetRequested ,
  NdisWorkItemResetInProgress , NdisWorkItemHalt , NdisWorkItemSendLoopback , NdisWorkItemMiniportCallback ,
  NdisMaxWorkItems
}
 

Functions

typedef _Return_type_success_ (return >=0) int NDIS_STATUS
 
 __drv_Mode_impl (NDIS_INCLUDED) typedef PVOID QUEUED_CLOSE
 
 _IRQL_requires_ (DISPATCH_LEVEL) _IRQL_requires_same_ _Function_class_(NDIS_TIMER_FUNCTION) typedef VOID(NTAPI NDIS_TIMER_FUNCTION)(_In_ PVOID SystemSpecific1
 
 _IRQL_requires_ (PASSIVE_LEVEL) typedef VOID(NTAPI *CO_SEND_COMPLETE_HANDLER)(_In_ NDIS_STATUS Status
 Sends a synchronous IOCTL to the specified device object.
 
 _IRQL_requires_max_ (DISPATCH_LEVEL) typedef VOID(NTAPI *CO_STATUS_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext
 
typedef VOID (NTAPI PROTCOL_CO_AF_REGISTER_NOTIFY)(IN NDIS_HANDLE ProtocolBindingContext
 
NDISAPI VOID NTAPI NdisSetPeriodicTimer (_In_ PNDIS_TIMER NdisTimer, _In_ UINT MillisecondsPeriod)
 
_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE _In_reads_bytes_ (Length) PVOID VirtualAddress
 
NDISAPI VOID NTAPI NdisGetFirstBufferFromPacket (IN PNDIS_PACKET _Packet, OUT PNDIS_BUFFER *_FirstBuffer, OUT PVOID *_FirstBufferVA, OUT PUINT _FirstBufferLength, OUT PUINT _TotalBufferLength)
 
NDISAPI VOID NTAPI NdisUnchainBufferAtFront (IN OUT PNDIS_PACKET Packet, OUT PNDIS_BUFFER *Buffer)
 
NDISAPI VOID NTAPI NdisUnchainBufferAtBack (IN OUT PNDIS_PACKET Packet, OUT PNDIS_BUFFER *Buffer)
 
NDISAPI VOID NTAPI NdisCopyFromPacketToPacketSafe (IN PNDIS_PACKET Destination, IN UINT DestinationOffset, IN UINT BytesToCopy, IN PNDIS_PACKET Source, IN UINT SourceOffset, OUT PUINT BytesCopied, IN MM_PAGE_PRIORITY Priority)
 
Obsolete NDISAPI NDIS_STATUS NTAPI NdisAllocateMemory (_At_(*VirtualAddress, __drv_allocatesMem(Mem)) _Outptr_result_bytebuffer_(Length) PVOID *VirtualAddress, _In_ UINT Length, _In_ UINT MemoryFlags, _In_ NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress)
 
NDISAPI ULONG NTAPI NDIS_BUFFER_TO_SPAN_PAGES (IN PNDIS_BUFFER Buffer)
 
static __inline VOID NdisQueryPacket (IN PNDIS_PACKET Packet, OUT PUINT PhysicalBufferCount OPTIONAL, OUT PUINT BufferCount OPTIONAL, OUT PNDIS_BUFFER *FirstBuffer OPTIONAL, OUT PUINT TotalPacketLength OPTIONAL)
 
NDISAPI VOID NTAPI NdisDestroyLookaheadBufferFromSharedMemory (IN PVOID pLookaheadBuffer)
 
 _When_ (MemoryFlags==0, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(MemoryFlags
 
 _IRQL_requires_max_ (APC_LEVEL)) NDISAPI VOID NTAPI NdisFreeMemory(_In_reads_bytes_(Length) __drv_freesMem(Mem) PVOID VirtualAddress
 Probes and locks virtual pages in memory for the specified process.
 
_In_ UINT _In_ _Pre_satisfies_ (MemoryFlags==0||MemoryFlags==NDIS_MEMORY_NONCACHED||MemoryFlags==NDIS_MEMORY_CONTIGUOUS) UINT MemoryFlags)
 
NDISAPI VOID NTAPI NdisFreeMemoryWithTag (IN PVOID VirtualAddress, IN ULONG Tag)
 
NDISAPI VOID NTAPI NdisImmediateReadSharedMemory (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, OUT PUCHAR Buffer, IN ULONG Length)
 
NDISAPI VOID NTAPI NdisImmediateWriteSharedMemory (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, IN PUCHAR Buffer, IN ULONG Length)
 
_In_ ULONG _In_ BOOLEAN _Outptr_result_bytebuffer_ (Length) _At_(*VirtualAddress
 
NDISAPI VOID NTAPI NdisUpdateSharedMemory (IN NDIS_HANDLE NdisAdapterHandle, IN ULONG Length, IN PVOID VirtualAddress, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress)
 
NDISAPI VOID NTAPI NdisReadEisaSlotInformation (OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT SlotNumber, OUT PNDIS_EISA_FUNCTION_INFORMATION EisaData)
 
NDISAPI VOID NTAPI NdisReadEisaSlotInformationEx (OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT SlotNumber, OUT PNDIS_EISA_FUNCTION_INFORMATION *EisaData, OUT PUINT NumberOfFunctions)
 
NDISAPI VOID NTAPI NdisInitUnicodeString (IN OUT PNDIS_STRING DestinationString, IN PCWSTR SourceString)
 
NDISAPI VOID NTAPI NdisGetCurrentProcessorCpuUsage (OUT PULONG pCpuUsage)
 
NDISAPI VOID NTAPI NdisMWanIndicateReceive (OUT PNDIS_STATUS Status, IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext, IN PUCHAR PacketBuffer, IN UINT PacketSize)
 
NDISAPI VOID NTAPI NdisMWanIndicateReceiveComplete (IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext)
 
NDISAPI VOID NTAPI NdisMWanSendComplete (IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_WAN_PACKET Packet, IN NDIS_STATUS Status)
 
NDISAPI NDIS_STATUS NTAPI NdisPciAssignResources (IN NDIS_HANDLE NdisMacHandle, IN NDIS_HANDLE NdisWrapperHandle, IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SlotNumber, OUT PNDIS_RESOURCE_LIST *AssignedResources)
 
 __drv_allocatesMem (Mem)) _Outptr_result_bytebuffer_(Length) PVOID *VirtualAddress
 
NDISAPI VOID NTAPI NdisGetSystemUpTime (OUT PULONG pSystemUpTime)
 
_Acquires_exclusive_lock_ Lock _When_ (!fWrite, _Acquires_shared_lock_(*Lock)) NDISAPI VOID NTAPI NdisAcquireReadWriteLock(_Inout_ PNDIS_RW_LOCK Lock
 
_In_ PNDIS_STRING _In_ PNDIS_STRING _In_reads_ (IRP_MJ_PNP) PDRIVER_DISPATCH *MajorFunctions
 
_Must_inspect_result_ NDISAPI NDIS_STATUS NTAPI NdisQueryBindInstanceName (_Out_ PNDIS_STRING pAdapterInstanceName, _In_ NDIS_HANDLE BindingContext)
 
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG _In_reads_bytes_opt_ (DataSize) PVOID Data)
 
_Must_inspect_result_ _In_opt_ NDIS_HANDLE _In_reads_bytes_opt_ (Size) PVOID Buffer
 
NDISAPI NDIS_STATUS NTAPI NdisMCmRegisterAddressFamily (IN NDIS_HANDLE MiniportAdapterHandle, IN PCO_ADDRESS_FAMILY AddressFamily, IN PNDIS_CALL_MANAGER_CHARACTERISTICS CmCharacteristics, IN UINT SizeOfCmCharacteristics)
 
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS _In_reads_bytes_opt_ (StatusBufferSize) PVOID StatusBuffer
 
NDISAPI VOID NTAPI NdisIMCopySendCompletePerPacketInfo (IN PNDIS_PACKET DstPacket, IN PNDIS_PACKET SrcPacket)
 
NDISAPI VOID NTAPI NdisIMCopySendPerPacketInfo (IN PNDIS_PACKET DstPacket, IN PNDIS_PACKET SrcPacket)
 
NDISAPI VOID NTAPI NdisInitializeWrapper (OUT PNDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)
 
_Must_inspect_result_ See details in NdisMAllocateMapRegisters documentation NDISAPI NDIS_STATUS NTAPI NdisMAllocateMapRegisters (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ UINT DmaChannel, _In_ NDIS_DMA_SIZE DmaSize, _In_ ULONG PhysicalMapRegistersNeeded, _In_ ULONG MaximumPhysicalMapping)
 
NDISAPI VOID NTAPI NdisMDeregisterAdapterShutdownHandler (_In_ NDIS_HANDLE MiniportHandle)
 
NDISAPI VOID NTAPI NdisMSetTimer (IN PNDIS_MINIPORT_TIMER Timer, IN UINT MillisecondsToDelay)
 
NDISAPI VOID NTAPI NdisMSetAttributesEx (IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE MiniportAdapterContext, IN UINT CheckForHangTimeInSeconds OPTIONAL, IN ULONG AttributeFlags, IN NDIS_INTERFACE_TYPE AdapterType)
 
 _In_reads_bytes_ (LogBufferSize) PVOID LogBuffer
 
 _When_ (MsToWait !=0, _Check_return_) _IRQL_requires_(PASSIVE_LEVEL) NDISAPI BOOLEAN NTAPI NdisWaitEvent(_In_ PNDIS_EVENT Event
 
NDISAPI VOID NTAPI NdisFreeDmaChannel (IN PNDIS_HANDLE NdisDmaHandle)
 
NDISAPI VOID NTAPI NdisSetupDmaTransfer (OUT PNDIS_STATUS Status, IN PNDIS_HANDLE NdisDmaHandle, IN PNDIS_BUFFER Buffer, IN ULONG Offset, IN ULONG Length, IN BOOLEAN WriteToDevice)
 
NDISAPI NDIS_STATUS NTAPI NdisIMRegisterLayeredMiniport (_In_ NDIS_HANDLE NdisWrapperHandle, _In_ PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics, _In_ UINT CharacteristicsLength, _Out_ PNDIS_HANDLE DriverHandle)
 
NDISAPI VOID NTAPI NdisTransferData (OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisBindingHandle, IN NDIS_HANDLE MacReceiveContext, IN UINT ByteOffset, IN UINT BytesToTransfer, IN OUT PNDIS_PACKET Packet, OUT PUINT BytesTransferred)
 
NDISAPI VOID NTAPI NdisSend (OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisBindingHandle, IN PNDIS_PACKET Packet)
 
NDISAPI VOID NTAPI NdisSendPackets (IN NDIS_HANDLE NdisBindingHandle, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_reads_ (MediumArraySize) PNDIS_MEDIUM MediumArray
 
NDISAPI VOID NTAPI NdisSetProtocolFilter (_At_(*Status, _Must_inspect_result_) _Out_ PNDIS_STATUS Status, _In_ NDIS_HANDLE NdisBindingHandle, _In_ RECEIVE_HANDLER ReceiveHandler, _In_ RECEIVE_PACKET_HANDLER ReceivePacketHandler, _In_ NDIS_MEDIUM Medium, _In_ UINT Offset, _In_ UINT Size, _In_ PUCHAR Pattern)
 
NDISAPI VOID NTAPI NdisRegisterTdiCallBack (_In_ TDI_REGISTER_CALLBACK RegisterCallback, _In_ TDI_PNP_HANDLER PnPHandler)
 
NDISAPI VOID NTAPI NdisDeregisterTdiCallBack (VOID)
 

Variables

_In_ PVOID FunctionContext
 
_In_ PVOID _In_ PVOID SystemSpecific2
 
_In_ PVOID _In_ PVOID _In_ PVOID SystemSpecific3
 
_In_ NDIS_HANDLE ProtocolVcContext
 
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
 
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS GeneralStatus
 
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS _In_ PVOID StatusBuffer
 
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS _In_ PVOID _In_ UINT StatusBufferSize
 
_In_opt_ NDIS_HANDLE _In_opt_ NDIS_HANDLE ProtocolPartyContext
 
_In_opt_ NDIS_HANDLE _In_opt_ NDIS_HANDLE _Inout_ PNDIS_REQUEST NdisRequest
 
_In_opt_ NDIS_HANDLE ProtocolAfContext
 
_In_ NDIS_HANDLE NdisVcHandle
 
_In_ NDIS_HANDLE _Out_ PNDIS_HANDLE MiniportVcContext
 
_Inout_ PCO_CALL_PARAMETERS CallParameters
 
_In_ PNDIS_TIMER_FUNCTION TimerFunction
 
_Out_ _At_ TimerCancelled PBOOLEAN TimerCancelled
 
_In_ UINT MillisecondsToDelay
 
_Out_ PNDIS_BUFFERBuffer
 
_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE PoolHandle
 
_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE _In_ UINT Length
 
_Out_ PNDIS_HANDLE _In_ UINT NumberOfDescriptors
 
_Out_ PNDIS_HANDLE _In_ UINT _In_ UINT ProtocolReservedLength
 
_Out_ PNDIS_HANDLE _In_ UINT _In_ UINT NumberOfOverflowDescriptors
 
_In_ UINT ProtocolId
 
_Out_ BOOLEANStacksRemaining
 
_In_ UINT DestinationOffset
 
_In_ UINT _In_ UINT BytesToCopy
 
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
 
_In_ UINT _In_ UINT _In_ PNDIS_PACKET _In_ UINT SourceOffset
 
_In_ UINT _In_ UINT _In_ PNDIS_PACKET _In_ UINT _Out_ PUINT BytesCopied
 
_In_ NDIS_STATUS Status
 
_In_ NDIS_STATUS _In_ NDIS_HANDLE Handle
 
_In_ NDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG Code
 
_Out_ PNDIS_HANDLE FileHandle
 
_Out_ PNDIS_HANDLE _Out_ PUINT FileLength
 
_Out_ PNDIS_HANDLE _Out_ PUINT _In_ PNDIS_STRING FileName
 
_Out_ PNDIS_HANDLE _Out_ PUINT _In_ PNDIS_STRING _In_ NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress
 
_Out_ PVOIDMappedBuffer
 
_Out_ PNDIS_BUFFER _In_ NDIS_HANDLE _In_ PVOID MemoryDescriptor
 
_Out_ PNDIS_BUFFER _In_ NDIS_HANDLE _In_ PVOID _In_ UINT Offset
 
_In_ ULONG _In_ BOOLEAN Cached
 
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOIDVirtualAddress
 
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOID _Out_ _At_ PhysicalAddress PNDIS_PHYSICAL_ADDRESS PhysicalAddress
 
_In_ ULONG _In_ BOOLEAN _In_ PVOID Context
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE ConfigurationHandle
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _In_ NDIS_HANDLE WrapperConfigurationContext
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Outptr_result_bytebuffer_to_ NetworkAddressLength PVOIDNetworkAddress
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Outptr_result_bytebuffer_to_ NetworkAddressLength PVOID _Out_ PUINT NetworkAddressLength
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_CONFIGURATION_PARAMETERParameterValue
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_CONFIGURATION_PARAMETER _In_ NDIS_HANDLE _In_ PNDIS_STRING Keyword
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_CONFIGURATION_PARAMETER _In_ NDIS_HANDLE _In_ PNDIS_STRING _In_ NDIS_PARAMETER_TYPE ParameterType
 
_In_ NDIS_ERROR_CODE ErrorCode
 
_In_ NDIS_ERROR_CODE _In_ ULONG NumberOfErrorValues
 
_In_ UINT _In_ ULONG Tag
 
_Out_ PULONG pKernelAndUser
 
_Out_ PULONG _Out_ PULONG pIndex
 
_Acquires_exclusive_lock_ Lock _In_ BOOLEAN fWrite
 
_Acquires_exclusive_lock_ Lock _In_ BOOLEAN _Out_ _IRQL_saves_ PLOCK_STATE LockState
 
_Inout_opt_ PDEVICE_OBJECTPhysicalDeviceObject
 
_Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECTFunctionalDeviceObject
 
_Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECTNextDeviceObject
 
_Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PCM_RESOURCE_LISTAllocatedResources
 
_Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PDEVICE_OBJECT _Inout_opt_ PCM_RESOURCE_LIST _Inout_opt_ PCM_RESOURCE_LISTAllocatedResourcesTranslated
 
_In_ BOOLEAN Dma64BitAddresses
 
_In_ BOOLEAN _In_ ULONG MaximumPhysicalMapping
 
_In_ NDIS_HANDLE MiniportAdapterHandle
 
_In_ PNDIS_STRING DeviceName
 
_In_ PNDIS_STRING _In_ PNDIS_STRING SymbolicName
 
_In_ PNDIS_STRING _In_ PNDIS_STRING _Out_ PDEVICE_OBJECTpDeviceObject
 
_In_ PNDIS_STRING _In_ PNDIS_STRING _Out_ PDEVICE_OBJECT _Out_ NDIS_HANDLENdisDeviceHandle
 
_In_ PDRIVER_UNLOAD UnloadHandler
 
_In_ NDIS_HANDLE PrimaryMiniportAdapterHandle
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG Index
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING KeyName
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ PNDIS_STRING SubKeyName
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ PNDIS_STRING _Out_ PNDIS_HANDLE SubKeyHandle
 
_Must_inspect_result_ _In_ NDIS_HANDLE NdisBindingHandle
 
_In_ NDIS_STATUS EventCode
 
_In_ NDIS_STATUS _In_ ULONG UniqueEventValue
 
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT NumStrings
 
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID StringsList
 
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
 
_Must_inspect_result_ _In_ NDIS_HANDLE _In_ PCO_CALL_PARAMETERS _Out_ PNDIS_HANDLE NdisPartyHandle
 
_Must_inspect_result_ _In_opt_ NDIS_HANDLE _In_ UINT Size
 
_Must_inspect_result_ _In_ PCO_ADDRESS_FAMILY _In_ NDIS_HANDLE _In_ PNDIS_CLIENT_CHARACTERISTICS ClCharacteristics
 
_Must_inspect_result_ _In_ PCO_ADDRESS_FAMILY _In_ NDIS_HANDLE _In_ PNDIS_CLIENT_CHARACTERISTICS _In_ UINT SizeOfClCharacteristics
 
_Must_inspect_result_ _In_ PCO_ADDRESS_FAMILY _In_ NDIS_HANDLE _In_ PNDIS_CLIENT_CHARACTERISTICS _In_ UINT _Out_ PNDIS_HANDLE NdisAfHandle
 
_Must_inspect_result_ _In_ NDIS_HANDLE ProtocolSapContext
 
_Must_inspect_result_ _In_ NDIS_HANDLE _In_ PCO_SAP Sap
 
_Must_inspect_result_ _In_ NDIS_HANDLE _In_ PCO_SAP _Out_ PNDIS_HANDLE NdisSapHandle
 
_In_ NDIS_HANDLE _In_opt_ NDIS_HANDLE CallMgrPartyContext
 
_In_ NDIS_HANDLE _In_ NDIS_HANDLE CallMgrAfContext
 
_Must_inspect_result_ _In_ PCO_ADDRESS_FAMILY _In_ PNDIS_CALL_MANAGER_CHARACTERISTICS CmCharacteristics
 
_Must_inspect_result_ _In_ PCO_ADDRESS_FAMILY _In_ PNDIS_CALL_MANAGER_CHARACTERISTICS _In_ UINT SizeOfCmCharacteristics
 
_In_ NDIS_HANDLE _In_ NDIS_HANDLE CallMgrSapContext
 
_In_ PPNDIS_PACKET PacketArray
 
_In_ PPNDIS_PACKET _In_ UINT NumberOfPackets
 
_In_ NDIS_HANDLE _In_ PNDIS_REQUEST Request
 
_In_ NDIS_HANDLE ProtocolHandle
 
_In_ PNDIS_STRING DeviceInstance
 
_In_ PNDIS_STRING DriverInstance
 
_In_ PNDIS_STRING _In_opt_ NDIS_HANDLE DeviceContext
 
_In_ UINT _Out_ PNDIS_HANDLE LogHandle
 
_In_ UINT InitialPort
 
_In_ UINT _In_ UINT NumberOfPorts
 
_In_ UINT _In_ UINT _In_ PVOID PortOffset
 
_In_ UINT MillisecondPeriod
 
_In_ UINT LogBufferSize
 
_In_ NDIS_HANDLE _Out_ PNDIS_RESOURCE_LIST ResourceList
 
_In_ NDIS_HANDLE _Out_ PNDIS_RESOURCE_LIST _Inout_ PUINT BufferSize
 
_In_opt_ PVOID SystemSpecific
 
_In_ UINT MsToWait
 
_In_ NDIS_HANDLE NdisProtocolHandle
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS OpenErrorStatus
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT SelectedMediumIndex
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT MediumArraySize
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE ProtocolBindingContext
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE _In_ PNDIS_STRING AdapterName
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE _In_ PNDIS_STRING _In_ UINT OpenOptions
 
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _Out_ PUINT _In_ UINT _In_ NDIS_HANDLE _In_ NDIS_HANDLE _In_ PNDIS_STRING _In_ UINT _In_opt_ PSTRING AddressingInformation
 
_In_ NDIS_STATUS _In_ NDIS_STATUS OpenStatus
 
_Out_ PNDIS_HANDLE NdisDriverHandle
 
_Out_ PNDIS_HANDLE _In_ PNDIS_STRING ProtocolSection
 
_In_ NDIS_HANDLE _In_ PNET_PNP_EVENT NetPnPEvent
 
_Must_inspect_result_ _In_ PNDIS_HANDLE MacContext
 
_In_ _Points_to_data_ PVOID CancelId
 
_Must_inspect_result_ _Out_ PULONG IoCount
 
_Out_ PNDIS_HANDLE _In_ PNDIS_PROTOCOL_CHARACTERISTICS ProtocolCharacteristics
 
_Out_ PNDIS_HANDLE _In_ PNDIS_PROTOCOL_CHARACTERISTICS _In_ UINT CharacteristicsLength
 

Macro Definition Documentation

◆ BROADCAST_VC

#define BROADCAST_VC   0x00000008

Definition at line 1090 of file ndis.h.

◆ CALL_PARAMETERS_CHANGED

#define CALL_PARAMETERS_CHANGED   0x00000002

Definition at line 1088 of file ndis.h.

◆ CLOCK_NETWORK_DERIVED

#define CLOCK_NETWORK_DERIVED   0x00000002

Definition at line 656 of file ndis.h.

◆ CLOCK_PRECISION

#define CLOCK_PRECISION   0x00000004

Definition at line 657 of file ndis.h.

◆ CO_ADDRESS_FAMILY_1394

#define CO_ADDRESS_FAMILY_1394   ((NDIS_AF)0x5)

Definition at line 1042 of file ndis.h.

◆ CO_ADDRESS_FAMILY_INFINIBAND

#define CO_ADDRESS_FAMILY_INFINIBAND   ((NDIS_AF)0x7)

Definition at line 1044 of file ndis.h.

◆ CO_ADDRESS_FAMILY_IRDA

#define CO_ADDRESS_FAMILY_IRDA   ((NDIS_AF)0x4)

Definition at line 1041 of file ndis.h.

◆ CO_ADDRESS_FAMILY_L2TP

#define CO_ADDRESS_FAMILY_L2TP   ((NDIS_AF)0x3)

Definition at line 1040 of file ndis.h.

◆ CO_ADDRESS_FAMILY_PPP

#define CO_ADDRESS_FAMILY_PPP   ((NDIS_AF)0x6)

Definition at line 1043 of file ndis.h.

◆ CO_ADDRESS_FAMILY_PROXY

#define CO_ADDRESS_FAMILY_PROXY   0x80000000

Definition at line 1048 of file ndis.h.

◆ CO_ADDRESS_FAMILY_PSCHED

#define CO_ADDRESS_FAMILY_PSCHED   ((NDIS_AF)0x2)

Definition at line 1039 of file ndis.h.

◆ CO_ADDRESS_FAMILY_Q2931

#define CO_ADDRESS_FAMILY_Q2931   ((NDIS_AF)0x1)

Definition at line 1038 of file ndis.h.

◆ CO_ADDRESS_FAMILY_TAPI

#define CO_ADDRESS_FAMILY_TAPI   ((NDIS_AF)0x800)

Definition at line 1045 of file ndis.h.

◆ CO_ADDRESS_FAMILY_TAPI_PROXY

#define CO_ADDRESS_FAMILY_TAPI_PROXY   ((NDIS_AF)0x801)

Definition at line 1046 of file ndis.h.

◆ CRYPTO_GENERIC_ERROR

#define CRYPTO_GENERIC_ERROR   1

Definition at line 1394 of file ndis.h.

◆ CRYPTO_INVALID_PACKET_SYNTAX

#define CRYPTO_INVALID_PACKET_SYNTAX   6

Definition at line 1399 of file ndis.h.

◆ CRYPTO_INVALID_PROTOCOL

#define CRYPTO_INVALID_PROTOCOL   7

Definition at line 1400 of file ndis.h.

◆ CRYPTO_SUCCESS

#define CRYPTO_SUCCESS   0

Definition at line 1393 of file ndis.h.

◆ CRYPTO_TRANSPORT_AH_AUTH_FAILED

#define CRYPTO_TRANSPORT_AH_AUTH_FAILED   2

Definition at line 1395 of file ndis.h.

◆ CRYPTO_TRANSPORT_ESP_AUTH_FAILED

#define CRYPTO_TRANSPORT_ESP_AUTH_FAILED   3

Definition at line 1396 of file ndis.h.

◆ CRYPTO_TUNNEL_AH_AUTH_FAILED

#define CRYPTO_TUNNEL_AH_AUTH_FAILED   4

Definition at line 1397 of file ndis.h.

◆ CRYPTO_TUNNEL_ESP_AUTH_FAILED

#define CRYPTO_TUNNEL_ESP_AUTH_FAILED   5

Definition at line 1398 of file ndis.h.

◆ FILTERDBS_ARCNET_S

#define FILTERDBS_ARCNET_S    PVOID XXXDB;

Definition at line 2489 of file ndis.h.

◆ FILTERDBS_S

#define FILTERDBS_S
Value:
_ANONYMOUS_UNION union { \
PETH_FILTER EthDB; \
PNULL_FILTER NullDB; \
PTR_FILTER TrDB; \
PFDDI_FILTER FddiDB; \
struct _X_FILTER * PNULL_FILTER
Definition: ndis.h:317
struct _X_FILTER * PETH_FILTER
Definition: ndis.h:2266
#define FILTERDBS_ARCNET_S
Definition: ndis.h:2489
struct _X_FILTER * PFDDI_FILTER
Definition: ndis.h:315
struct _X_FILTER * PTR_FILTER
Definition: ndis.h:316
#define DUMMYUNIONNAME
Definition: ntbasedef.h:32
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30

Definition at line 2493 of file ndis.h.

◆ fPACKET_ALLOCATED_BY_NDIS

#define fPACKET_ALLOCATED_BY_NDIS   0x80

Definition at line 702 of file ndis.h.

◆ fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO

#define fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO   0x40

Definition at line 701 of file ndis.h.

◆ fPACKET_WRAPPER_RESERVED

#define fPACKET_WRAPPER_RESERVED   0x3f

Definition at line 700 of file ndis.h.

◆ INDICATE_END_OF_TX

#define INDICATE_END_OF_TX   0x00000020

Definition at line 1074 of file ndis.h.

◆ INDICATE_ERRED_PACKETS

#define INDICATE_ERRED_PACKETS   0x00000010

Definition at line 1073 of file ndis.h.

◆ IPSEC_TPT_UDPESP_ENCAPTYPE_IKE

#define IPSEC_TPT_UDPESP_ENCAPTYPE_IKE   0x00000001

Definition at line 1309 of file ndis.h.

◆ IPSEC_TPT_UDPESP_ENCAPTYPE_OTHER

#define IPSEC_TPT_UDPESP_ENCAPTYPE_OTHER   0x00000010

Definition at line 1313 of file ndis.h.

◆ IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_IKE

#define IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_IKE   0x00000008

Definition at line 1312 of file ndis.h.

◆ IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_OTHER

#define IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_OTHER   0x00000080

Definition at line 1316 of file ndis.h.

◆ IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_IKE

#define IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_IKE   0x00000004

Definition at line 1311 of file ndis.h.

◆ IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_OTHER

#define IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_OTHER   0x00000040

Definition at line 1315 of file ndis.h.

◆ IPSEC_TUN_UDPESP_ENCAPTYPE_IKE

#define IPSEC_TUN_UDPESP_ENCAPTYPE_IKE   0x00000002

Definition at line 1310 of file ndis.h.

◆ IPSEC_TUN_UDPESP_ENCAPTYPE_OTHER

#define IPSEC_TUN_UDPESP_ENCAPTYPE_OTHER   0x00000020

Definition at line 1314 of file ndis.h.

◆ MAX_HASHES

#define MAX_HASHES   4

Definition at line 1390 of file ndis.h.

◆ MULTIPOINT_VC

#define MULTIPOINT_VC   0x00000010

Definition at line 1091 of file ndis.h.

◆ NDIS30_MINIPORT_CHARACTERISTICS_S

#define NDIS30_MINIPORT_CHARACTERISTICS_S
Value:
UCHAR MajorNdisVersion; \
UCHAR MinorNdisVersion; \
W_CHECK_FOR_HANG_HANDLER CheckForHangHandler; \
W_DISABLE_INTERRUPT_HANDLER DisableInterruptHandler; \
W_ENABLE_INTERRUPT_HANDLER EnableInterruptHandler; \
W_HALT_HANDLER HaltHandler; \
W_HANDLE_INTERRUPT_HANDLER HandleInterruptHandler; \
W_INITIALIZE_HANDLER InitializeHandler; \
W_ISR_HANDLER ISRHandler; \
W_QUERY_INFORMATION_HANDLER QueryInformationHandler; \
W_RECONFIGURE_HANDLER ReconfigureHandler; \
W_RESET_HANDLER ResetHandler; \
W_SEND_HANDLER SendHandler; \
W_SET_INFORMATION_HANDLER SetInformationHandler; \
W_TRANSFER_DATA_HANDLER TransferDataHandler;
NDIS_STATUS(NTAPI * W_RECONFIGURE_HANDLER)(_Out_ PNDIS_STATUS OpenErrorStatus, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE WrapperConfigurationContext)
Definition: ndis.h:1981
unsigned int UINT
Definition: ndis.h:50
BOOLEAN(NTAPI * W_CHECK_FOR_HANG_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1937
NDIS_STATUS(NTAPI * W_INITIALIZE_HANDLER)(_Out_ PNDIS_STATUS OpenErrorStatus, _Out_ PUINT SelectedMediumIndex, _In_ PNDIS_MEDIUM MediumArray, _In_ UINT MediumArraySize, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE WrapperConfigurationContext)
Definition: ndis.h:1957
VOID(NTAPI * W_HANDLE_INTERRUPT_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1953
NDIS_STATUS(NTAPI * W_SET_INFORMATION_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_OID Oid, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength, _Out_ PULONG BytesRead, _Out_ PULONG BytesNeeded)
Definition: ndis.h:2004
NDIS_STATUS(NTAPI * W_TRANSFER_DATA_HANDLER)(_Out_ PNDIS_PACKET Packet, _Out_ PUINT BytesTransferred, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE MiniportReceiveContext, _In_ UINT ByteOffset, _In_ UINT BytesToTransfer)
Definition: ndis.h:2013
NDIS_STATUS(NTAPI * W_QUERY_INFORMATION_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_OID Oid, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength, _Out_ PULONG BytesWritten, _Out_ PULONG BytesNeeded)
Definition: ndis.h:1972
VOID(NTAPI * W_HALT_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1949
VOID(NTAPI * W_ENABLE_INTERRUPT_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1945
NDIS_STATUS(NTAPI * W_SEND_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet, _In_ UINT Flags)
Definition: ndis.h:1992
VOID(NTAPI * W_DISABLE_INTERRUPT_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1941
NDIS_STATUS(NTAPI * W_RESET_HANDLER)(_Out_ PBOOLEAN AddressingReset, _In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1987
VOID(NTAPI * W_ISR_HANDLER)(_Out_ PBOOLEAN InterruptRecognized, _Out_ PBOOLEAN QueueMiniportHandleInterrupt, _In_ NDIS_HANDLE MiniportAdapterContext)
Definition: ndis.h:1966
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
unsigned char UCHAR
Definition: xmlstorage.h:181

Definition at line 2049 of file ndis.h.

◆ NDIS30_PROTOCOL_CHARACTERISTICS_S

#define NDIS30_PROTOCOL_CHARACTERISTICS_S
Value:
UCHAR MajorNdisVersion; \
UCHAR MinorNdisVersion; \
USHORT Filler; \
_ANONYMOUS_UNION union { \
OPEN_ADAPTER_COMPLETE_HANDLER OpenAdapterCompleteHandler; \
CLOSE_ADAPTER_COMPLETE_HANDLER CloseAdapterCompleteHandler; \
_ANONYMOUS_UNION union { \
SEND_COMPLETE_HANDLER SendCompleteHandler; \
WAN_SEND_COMPLETE_HANDLER WanSendCompleteHandler; \
_ANONYMOUS_UNION union { \
TRANSFER_DATA_COMPLETE_HANDLER TransferDataCompleteHandler; \
WAN_TRANSFER_DATA_COMPLETE_HANDLER WanTransferDataCompleteHandler; \
RESET_COMPLETE_HANDLER ResetCompleteHandler; \
REQUEST_COMPLETE_HANDLER RequestCompleteHandler; \
_ANONYMOUS_UNION union { \
RECEIVE_HANDLER ReceiveHandler; \
WAN_RECEIVE_HANDLER WanReceiveHandler; \
RECEIVE_COMPLETE_HANDLER ReceiveCompleteHandler; \
STATUS_HANDLER StatusHandler; \
STATUS_COMPLETE_HANDLER StatusCompleteHandler; \
struct NameRec_ * Name
Definition: cdprocs.h:460
NDIS_STATUS(NTAPI * WAN_RECEIVE_HANDLER)(_In_ NDIS_HANDLE NdisLinkHandle, _In_ PUCHAR Packet, _In_ ULONG PacketSize)
Definition: ndis.h:1791
VOID(NTAPI * SEND_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_PACKET Packet, _In_ NDIS_STATUS Status)
Definition: ndis.h:1758
VOID(NTAPI * CLOSE_ADAPTER_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status)
Definition: ndis.h:1731
VOID(NTAPI * STATUS_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext)
Definition: ndis.h:1754
VOID(NTAPI * REQUEST_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_REQUEST NdisRequest, _In_ NDIS_STATUS Status)
Definition: ndis.h:1741
VOID(NTAPI * WAN_SEND_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_WAN_PACKET Packet, _In_ NDIS_STATUS Status)
Definition: ndis.h:1764
VOID(NTAPI * OPEN_ADAPTER_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status, _In_ NDIS_STATUS OpenErrorStatus)
Definition: ndis.h:1725
VOID(NTAPI * RESET_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status)
Definition: ndis.h:1736
NDIS_STATUS(NTAPI * RECEIVE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_HANDLE MacReceiveContext, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookAheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)
Definition: ndis.h:1781
VOID(NTAPI * RECEIVE_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext)
Definition: ndis.h:1797
VOID(NTAPI * WAN_TRANSFER_DATA_COMPLETE_HANDLER)(VOID)
Definition: ndis.h:1777
VOID(NTAPI * TRANSFER_DATA_COMPLETE_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ PNDIS_PACKET Packet, _In_ NDIS_STATUS Status, _In_ UINT BytesTransferred)
Definition: ndis.h:1770
VOID(NTAPI * STATUS_HANDLER)(_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS GeneralStatus, _In_ PVOID StatusBuffer, _In_ UINT StatusBufferSize)
Definition: ndis.h:1747
#define DUMMYUNIONNAME2
Definition: ntbasedef.h:34
#define DUMMYUNIONNAME4
Definition: ntbasedef.h:36
#define DUMMYUNIONNAME3
Definition: ntbasedef.h:35
unsigned short USHORT
Definition: pedump.c:61
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

Definition at line 1802 of file ndis.h.

◆ NDIS40

#define NDIS40

◆ NDIS40_MINIPORT_CHARACTERISTICS_S

#define NDIS40_MINIPORT_CHARACTERISTICS_S
Value:
NDIS30_MINIPORT_CHARACTERISTICS_S \
W_RETURN_PACKET_HANDLER ReturnPacketHandler; \
W_SEND_PACKETS_HANDLER SendPacketsHandler; \
W_ALLOCATE_COMPLETE_HANDLER AllocateCompleteHandler;
VOID(NTAPI * W_SEND_PACKETS_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)
Definition: ndis.h:2034
VOID(NTAPI * W_ALLOCATE_COMPLETE_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PVOID VirtualAddress, _In_ PNDIS_PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG Length, _In_ PVOID Context)
Definition: ndis.h:2040

Definition at line 2081 of file ndis.h.

◆ NDIS50_MINIPORT_CHARACTERISTICS_S

#define NDIS50_MINIPORT_CHARACTERISTICS_S
Value:
NDIS40_MINIPORT_CHARACTERISTICS_S \
W_CO_CREATE_VC_HANDLER CoCreateVcHandler; \
W_CO_DELETE_VC_HANDLER CoDeleteVcHandler; \
W_CO_ACTIVATE_VC_HANDLER CoActivateVcHandler; \
W_CO_DEACTIVATE_VC_HANDLER CoDeactivateVcHandler; \
W_CO_SEND_PACKETS_HANDLER CoSendPacketsHandler; \
W_CO_REQUEST_HANDLER CoRequestHandler;
NDIS_STATUS(NTAPI * W_CO_REQUEST_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_opt_ NDIS_HANDLE MiniportVcContext, _Inout_ PNDIS_REQUEST NdisRequest)
Definition: ndis.h:2133
MINIPORT_CO_ACTIVATE_VC * W_CO_ACTIVATE_VC_HANDLER
Definition: ndis.h:2117
MINIPORT_CO_DELETE_VC * W_CO_DELETE_VC_HANDLER
Definition: ndis.h:2109
MINIPORT_CO_DEACTIVATE_VC * W_CO_DEACTIVATE_VC_HANDLER
Definition: ndis.h:2124
VOID(NTAPI * W_CO_SEND_PACKETS_HANDLER)(_In_ NDIS_HANDLE MiniportVcContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)
Definition: ndis.h:2127

Definition at line 2151 of file ndis.h.

◆ NDIS51_MINIPORT_CHARACTERISTICS_S

#define NDIS51_MINIPORT_CHARACTERISTICS_S
Value:
NDIS50_MINIPORT_CHARACTERISTICS_S \
W_CANCEL_SEND_PACKETS_HANDLER CancelSendPacketsHandler; \
W_PNP_EVENT_NOTIFY_HANDLER PnPEventNotifyHandler; \
W_MINIPORT_SHUTDOWN_HANDLER AdapterShutdownHandler; \
@ Reserved2
Definition: bcd.h:202
@ Reserved1
Definition: bcd.h:201
VOID(NTAPI * W_PNP_EVENT_NOTIFY_HANDLER)(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_DEVICE_PNP_EVENT PnPEvent, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength)
Definition: ndis.h:2174
VOID(NTAPI * W_MINIPORT_SHUTDOWN_HANDLER)(_In_ PVOID ShutdownContext)
Definition: ndis.h:2181
@ Reserved3
Definition: sacdrv.h:1471
@ Reserved4
Definition: sacdrv.h:1472

Definition at line 2198 of file ndis.h.

◆ NDIS_ATTRIBUTE_BUS_MASTER

#define NDIS_ATTRIBUTE_BUS_MASTER   0x00000008

Definition at line 586 of file ndis.h.

◆ NDIS_ATTRIBUTE_DESERIALIZE

#define NDIS_ATTRIBUTE_DESERIALIZE   0x00000020

Definition at line 588 of file ndis.h.

◆ NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT

#define NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT   0x00000001

Definition at line 583 of file ndis.h.

◆ NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT

#define NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT   0x00000002

Definition at line 584 of file ndis.h.

◆ NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS

#define NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS   0x00000004

Definition at line 585 of file ndis.h.

◆ NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER

#define NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER   0x00000010

Definition at line 587 of file ndis.h.

◆ NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND

#define NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND   0x00000040

Definition at line 589 of file ndis.h.

◆ NDIS_ATTRIBUTE_NOT_CO_NDIS

#define NDIS_ATTRIBUTE_NOT_CO_NDIS   0x00000100

Definition at line 591 of file ndis.h.

◆ NDIS_ATTRIBUTE_SURPRISE_REMOVE_OK

#define NDIS_ATTRIBUTE_SURPRISE_REMOVE_OK   0x00000080

Definition at line 590 of file ndis.h.

◆ NDIS_ATTRIBUTE_USES_SAFE_BUFFER_APIS

#define NDIS_ATTRIBUTE_USES_SAFE_BUFFER_APIS   0x00000200

Definition at line 592 of file ndis.h.

◆ NDIS_BUFFER_LINKAGE

#define NDIS_BUFFER_LINKAGE (   Buffer)    (Buffer)->Next

Definition at line 3378 of file ndis.h.

◆ NDIS_COMMON_OPEN_BLOCK_S

#define NDIS_COMMON_OPEN_BLOCK_S

Definition at line 2752 of file ndis.h.

◆ NDIS_COMMON_OPEN_BLOCK_WRAPPER_S

#define NDIS_COMMON_OPEN_BLOCK_WRAPPER_S

Definition at line 2749 of file ndis.h.

◆ NDIS_DEVICE_DISABLE_PM

#define NDIS_DEVICE_DISABLE_PM   0x00000008

Definition at line 1021 of file ndis.h.

◆ NDIS_DEVICE_DISABLE_WAKE_ON_MAGIC_PACKET

#define NDIS_DEVICE_DISABLE_WAKE_ON_MAGIC_PACKET   0x00000080

Definition at line 1025 of file ndis.h.

◆ NDIS_DEVICE_DISABLE_WAKE_ON_PATTERN_MATCH

#define NDIS_DEVICE_DISABLE_WAKE_ON_PATTERN_MATCH   0x00000100

Definition at line 1026 of file ndis.h.

◆ NDIS_DEVICE_DISABLE_WAKE_ON_RECONNECT

#define NDIS_DEVICE_DISABLE_WAKE_ON_RECONNECT   0x00000020

Definition at line 1023 of file ndis.h.

◆ NDIS_DEVICE_DISABLE_WAKE_UP

#define NDIS_DEVICE_DISABLE_WAKE_UP   0x00000010

Definition at line 1022 of file ndis.h.

◆ NDIS_DEVICE_NOT_REMOVEABLE

#define NDIS_DEVICE_NOT_REMOVEABLE   0x00000002

Definition at line 1019 of file ndis.h.

◆ NDIS_DEVICE_NOT_STOPPABLE

#define NDIS_DEVICE_NOT_STOPPABLE   0x00000001

Definition at line 1018 of file ndis.h.

◆ NDIS_DEVICE_NOT_SUSPENDABLE

#define NDIS_DEVICE_NOT_SUSPENDABLE   0x00000004

Definition at line 1020 of file ndis.h.

◆ NDIS_DEVICE_RESERVED

#define NDIS_DEVICE_RESERVED   0x00000040

Definition at line 1024 of file ndis.h.

◆ NDIS_DMA_24BITS

#define NDIS_DMA_24BITS   ((NDIS_DMA_SIZE)0)

Definition at line 880 of file ndis.h.

◆ NDIS_DMA_32BITS

#define NDIS_DMA_32BITS   ((NDIS_DMA_SIZE)1)

Definition at line 881 of file ndis.h.

◆ NDIS_DMA_64BITS

#define NDIS_DMA_64BITS   ((NDIS_DMA_SIZE)2)

Definition at line 882 of file ndis.h.

◆ NDIS_ERROR_CODE

#define NDIS_ERROR_CODE   ULONG

Definition at line 560 of file ndis.h.

◆ NDIS_ERROR_CODE_ADAPTER_DISABLED

#define NDIS_ERROR_CODE_ADAPTER_DISABLED   EVENT_NDIS_ADAPTER_DISABLED

Definition at line 576 of file ndis.h.

◆ NDIS_ERROR_CODE_ADAPTER_NOT_FOUND

#define NDIS_ERROR_CODE_ADAPTER_NOT_FOUND   EVENT_NDIS_ADAPTER_NOT_FOUND

Definition at line 565 of file ndis.h.

◆ NDIS_ERROR_CODE_BAD_IO_BASE_ADDRESS

#define NDIS_ERROR_CODE_BAD_IO_BASE_ADDRESS   EVENT_NDIS_BAD_IO_BASE_ADDRESS

Definition at line 574 of file ndis.h.

◆ NDIS_ERROR_CODE_BAD_VERSION

#define NDIS_ERROR_CODE_BAD_VERSION   EVENT_NDIS_BAD_VERSION

Definition at line 568 of file ndis.h.

◆ NDIS_ERROR_CODE_DRIVER_FAILURE

#define NDIS_ERROR_CODE_DRIVER_FAILURE   EVENT_NDIS_DRIVER_FAILURE

Definition at line 567 of file ndis.h.

◆ NDIS_ERROR_CODE_HARDWARE_FAILURE

#define NDIS_ERROR_CODE_HARDWARE_FAILURE   EVENT_NDIS_HARDWARE_FAILURE

Definition at line 564 of file ndis.h.

◆ NDIS_ERROR_CODE_INTERRUPT_CONNECT

#define NDIS_ERROR_CODE_INTERRUPT_CONNECT   EVENT_NDIS_INTERRUPT_CONNECT

Definition at line 566 of file ndis.h.

◆ NDIS_ERROR_CODE_INVALID_VALUE_FROM_ADAPTER

#define NDIS_ERROR_CODE_INVALID_VALUE_FROM_ADAPTER   EVENT_NDIS_INVALID_VALUE_FROM_ADAPTER

Definition at line 572 of file ndis.h.

◆ NDIS_ERROR_CODE_MISSING_CONFIGURATION_PARAMETER

#define NDIS_ERROR_CODE_MISSING_CONFIGURATION_PARAMETER   EVENT_NDIS_MISSING_CONFIGURATION_PARAMETER

Definition at line 573 of file ndis.h.

◆ NDIS_ERROR_CODE_NETWORK_ADDRESS

#define NDIS_ERROR_CODE_NETWORK_ADDRESS   EVENT_NDIS_NETWORK_ADDRESS

Definition at line 570 of file ndis.h.

◆ NDIS_ERROR_CODE_OUT_OF_RESOURCES

#define NDIS_ERROR_CODE_OUT_OF_RESOURCES   EVENT_NDIS_OUT_OF_RESOURCE

Definition at line 563 of file ndis.h.

◆ NDIS_ERROR_CODE_RECEIVE_SPACE_SMALL

#define NDIS_ERROR_CODE_RECEIVE_SPACE_SMALL   EVENT_NDIS_RECEIVE_SPACE_SMALL

Definition at line 575 of file ndis.h.

◆ NDIS_ERROR_CODE_RESOURCE_CONFLICT

#define NDIS_ERROR_CODE_RESOURCE_CONFLICT   EVENT_NDIS_RESOURCE_CONFLICT

Definition at line 562 of file ndis.h.

◆ NDIS_ERROR_CODE_TIMEOUT

#define NDIS_ERROR_CODE_TIMEOUT   EVENT_NDIS_TIMEOUT

Definition at line 569 of file ndis.h.

◆ NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION

#define NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION   EVENT_NDIS_UNSUPPORTED_CONFIGURATION

Definition at line 571 of file ndis.h.

◆ NDIS_FLAGS_DONT_LOOPBACK

#define NDIS_FLAGS_DONT_LOOPBACK   0x00000080

Definition at line 708 of file ndis.h.

◆ NDIS_FLAGS_DOUBLE_BUFFERED

#define NDIS_FLAGS_DOUBLE_BUFFERED   0x00000800

Definition at line 712 of file ndis.h.

◆ NDIS_FLAGS_IS_LOOPBACK_PACKET

#define NDIS_FLAGS_IS_LOOPBACK_PACKET   0x00000100

Definition at line 709 of file ndis.h.

◆ NDIS_FLAGS_LOOPBACK_ONLY

#define NDIS_FLAGS_LOOPBACK_ONLY   0x00000200

Definition at line 710 of file ndis.h.

◆ NDIS_FLAGS_MULTICAST_PACKET

#define NDIS_FLAGS_MULTICAST_PACKET   0x00000010

Definition at line 705 of file ndis.h.

◆ NDIS_FLAGS_PADDED

#define NDIS_FLAGS_PADDED   0x00010000

Definition at line 716 of file ndis.h.

◆ NDIS_FLAGS_PROTOCOL_ID_MASK

#define NDIS_FLAGS_PROTOCOL_ID_MASK   0x0000000f

Definition at line 704 of file ndis.h.

◆ NDIS_FLAGS_RESERVED2

#define NDIS_FLAGS_RESERVED2   0x00000020

Definition at line 706 of file ndis.h.

◆ NDIS_FLAGS_RESERVED3

#define NDIS_FLAGS_RESERVED3   0x00000040

Definition at line 707 of file ndis.h.

◆ NDIS_FLAGS_RESERVED4

#define NDIS_FLAGS_RESERVED4   0x00000400

Definition at line 711 of file ndis.h.

◆ NDIS_FLAGS_SENT_AT_DPC

#define NDIS_FLAGS_SENT_AT_DPC   0x00001000

Definition at line 713 of file ndis.h.

◆ NDIS_FLAGS_USES_ORIGINAL_PACKET

#define NDIS_FLAGS_USES_ORIGINAL_PACKET   0x00004000

Definition at line 715 of file ndis.h.

◆ NDIS_FLAGS_USES_SG_BUFFER_LIST

#define NDIS_FLAGS_USES_SG_BUFFER_LIST   0x00002000

Definition at line 714 of file ndis.h.

◆ NDIS_FLAGS_XLATE_AT_TOP

#define NDIS_FLAGS_XLATE_AT_TOP   0x00020000

Definition at line 717 of file ndis.h.

◆ NDIS_GET_ORIGINAL_PACKET

#define NDIS_GET_ORIGINAL_PACKET (   Packet)     NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, OriginalPacketInfo)

Definition at line 1325 of file ndis.h.

◆ NDIS_GET_PACKET_CANCEL_ID

#define NDIS_GET_PACKET_CANCEL_ID (   Packet)     NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, PacketCancelId)

Definition at line 1333 of file ndis.h.

◆ NDIS_GET_PACKET_HEADER_SIZE

#define NDIS_GET_PACKET_HEADER_SIZE (   _Packet)
Value:
(_Packet)->Private.NdisPacketOobOffset))->HeaderSize
struct _NDIS_PACKET_OOB_DATA * PNDIS_PACKET_OOB_DATA
static UCHAR _Packet[1024]
Definition: pxe.c:34
unsigned char * PUCHAR
Definition: typedefs.h:53

Definition at line 3427 of file ndis.h.

◆ NDIS_GET_PACKET_MEDIA_SPECIFIC_INFO

#define NDIS_GET_PACKET_MEDIA_SPECIFIC_INFO (   _Packet,
  _pMediaSpecificInfo,
  _pSizeMediaSpecificInfo 
)
Value:
{ \
if (!((_Packet)->Private.NdisPacketFlags & fPACKET_ALLOCATED_BY_NDIS) || \
!((_Packet)->Private.NdisPacketFlags & fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO)) \
{ \
*(_pMediaSpecificInfo) = NULL; \
*(_pSizeMediaSpecificInfo) = 0; \
} \
else \
{ \
*(_pMediaSpecificInfo) = ((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \
(_Packet)->Private.NdisPacketOobOffset))->MediaSpecificInformation; \
*(_pSizeMediaSpecificInfo) = ((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \
(_Packet)->Private.NdisPacketOobOffset))->SizeMediaSpecificInfo; \
} \
}
#define NULL
Definition: types.h:112
#define fPACKET_ALLOCATED_BY_NDIS
Definition: ndis.h:702
#define fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO
Definition: ndis.h:701

Definition at line 3474 of file ndis.h.

◆ NDIS_GET_PACKET_PROTOCOL_TYPE

#define NDIS_GET_PACKET_PROTOCOL_TYPE (   _Packet)     ((_Packet)->Private.Flags & NDIS_PROTOCOL_ID_MASK)

Definition at line 3410 of file ndis.h.

◆ NDIS_GET_PACKET_STATUS

#define NDIS_GET_PACKET_STATUS (   _Packet)
Value:
(_Packet)->Private.NdisPacketOobOffset))->Status

Definition at line 3436 of file ndis.h.

◆ NDIS_GET_PACKET_TIME_RECEIVED

#define NDIS_GET_PACKET_TIME_RECEIVED (   _Packet)
Value:
(_Packet)->Private.NdisPacketOobOffset))->TimeReceived

Definition at line 3463 of file ndis.h.

◆ NDIS_GET_PACKET_TIME_SENT

#define NDIS_GET_PACKET_TIME_SENT (   _Packet)
Value:
(_Packet)->Private.NdisPacketOobOffset))->TimeSent

Definition at line 3454 of file ndis.h.

◆ NDIS_GET_PACKET_TIME_TO_SEND

#define NDIS_GET_PACKET_TIME_TO_SEND (   _Packet)
Value:
(_Packet)->Private.NdisPacketOobOffset))->TimeToSend

Definition at line 3445 of file ndis.h.

◆ NDIS_GUID_ANSI_STRING

#define NDIS_GUID_ANSI_STRING   0x00000004

Definition at line 693 of file ndis.h.

◆ NDIS_GUID_ARRAY

#define NDIS_GUID_ARRAY   0x00000010

Definition at line 695 of file ndis.h.

◆ NDIS_GUID_TO_OID

#define NDIS_GUID_TO_OID   0x00000001

Definition at line 691 of file ndis.h.

◆ NDIS_GUID_TO_STATUS

#define NDIS_GUID_TO_STATUS   0x00000002

Definition at line 692 of file ndis.h.

◆ NDIS_GUID_UNICODE_STRING

#define NDIS_GUID_UNICODE_STRING   0x00000008

Definition at line 694 of file ndis.h.

◆ NDIS_INIT_FUNCTION

#define NDIS_INIT_FUNCTION (   FunctionName)     alloc_text(INIT, FunctionName)

Definition at line 4484 of file ndis.h.

◆ NDIS_LEGACY_DRIVER

#define NDIS_LEGACY_DRIVER   1

◆ NDIS_LEGACY_MINIPORT

#define NDIS_LEGACY_MINIPORT   0

◆ NDIS_LEGACY_PROTOCOL

#define NDIS_LEGACY_PROTOCOL   1

◆ NDIS_M_MAX_LOOKAHEAD

#define NDIS_M_MAX_LOOKAHEAD   526

Definition at line 2803 of file ndis.h.

◆ NDIS_MAC_OPTION_8021P_PRIORITY

#define NDIS_MAC_OPTION_8021P_PRIORITY   0x00000040

Definition at line 688 of file ndis.h.

◆ NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA

#define NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA   0x00000001

Definition at line 682 of file ndis.h.

◆ NDIS_MAC_OPTION_EOTX_INDICATION

#define NDIS_MAC_OPTION_EOTX_INDICATION   0x00000020

Definition at line 687 of file ndis.h.

◆ NDIS_MAC_OPTION_FULL_DUPLEX

#define NDIS_MAC_OPTION_FULL_DUPLEX   0x00000010

Definition at line 686 of file ndis.h.

◆ NDIS_MAC_OPTION_NO_LOOPBACK

#define NDIS_MAC_OPTION_NO_LOOPBACK   0x00000008

Definition at line 685 of file ndis.h.

◆ NDIS_MAC_OPTION_RECEIVE_SERIALIZED

#define NDIS_MAC_OPTION_RECEIVE_SERIALIZED   0x00000002

Definition at line 683 of file ndis.h.

◆ NDIS_MAC_OPTION_RESERVED

#define NDIS_MAC_OPTION_RESERVED   0x80000000

Definition at line 689 of file ndis.h.

◆ NDIS_MAC_OPTION_TRANSFERS_NOT_PEND

#define NDIS_MAC_OPTION_TRANSFERS_NOT_PEND   0x00000004

Definition at line 684 of file ndis.h.

◆ NDIS_MEMORY_CONTIGUOUS

#define NDIS_MEMORY_CONTIGUOUS   0x00000001

Definition at line 579 of file ndis.h.

◆ NDIS_MEMORY_NONCACHED

#define NDIS_MEMORY_NONCACHED   0x00000002

Definition at line 580 of file ndis.h.

◆ NDIS_OOB_DATA_FROM_PACKET

#define NDIS_OOB_DATA_FROM_PACKET (   _Packet)
Value:
(_Packet)->Private.NdisPacketOobOffset)

Definition at line 3418 of file ndis.h.

◆ NDIS_PACKET_EXTENSION_FROM_PACKET

#define NDIS_PACKET_EXTENSION_FROM_PACKET (   Packet)
Value:
+ (Packet)->Private.NdisPacketOobOffset + sizeof(NDIS_PACKET_OOB_DATA)))
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition: ndis.h:1549
struct _NDIS_PACKET_OOB_DATA NDIS_PACKET_OOB_DATA
struct _NDIS_PACKET_EXTENSION * PNDIS_PACKET_EXTENSION

Definition at line 1341 of file ndis.h.

◆ NDIS_PACKET_FIRST_NDIS_BUFFER

#define NDIS_PACKET_FIRST_NDIS_BUFFER (   _Packet)    ((_Packet)->Private.Head)

Definition at line 3394 of file ndis.h.

◆ NDIS_PACKET_LAST_NDIS_BUFFER

#define NDIS_PACKET_LAST_NDIS_BUFFER (   _Packet)    ((_Packet)->Private.Tail)

Definition at line 3395 of file ndis.h.

◆ NDIS_PACKET_TYPE_ALL_FUNCTIONAL

#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL   0x00002000

Definition at line 672 of file ndis.h.

◆ NDIS_PACKET_TYPE_ALL_LOCAL

#define NDIS_PACKET_TYPE_ALL_LOCAL   0x00000080

Definition at line 670 of file ndis.h.

◆ NDIS_PACKET_TYPE_ALL_MULTICAST

#define NDIS_PACKET_TYPE_ALL_MULTICAST   0x00000004

Definition at line 665 of file ndis.h.

◆ NDIS_PACKET_TYPE_BROADCAST

#define NDIS_PACKET_TYPE_BROADCAST   0x00000008

Definition at line 666 of file ndis.h.

◆ NDIS_PACKET_TYPE_DIRECTED

#define NDIS_PACKET_TYPE_DIRECTED   0x00000001

Definition at line 663 of file ndis.h.

◆ NDIS_PACKET_TYPE_FUNCTIONAL

#define NDIS_PACKET_TYPE_FUNCTIONAL   0x00004000

Definition at line 673 of file ndis.h.

◆ NDIS_PACKET_TYPE_GROUP

#define NDIS_PACKET_TYPE_GROUP   0x00001000

Definition at line 671 of file ndis.h.

◆ NDIS_PACKET_TYPE_MAC_FRAME

#define NDIS_PACKET_TYPE_MAC_FRAME   0x00008000

Definition at line 674 of file ndis.h.

◆ NDIS_PACKET_TYPE_MULTICAST

#define NDIS_PACKET_TYPE_MULTICAST   0x00000002

Definition at line 664 of file ndis.h.

◆ NDIS_PACKET_TYPE_PROMISCUOUS

#define NDIS_PACKET_TYPE_PROMISCUOUS   0x00000020

Definition at line 668 of file ndis.h.

◆ NDIS_PACKET_TYPE_SMT

#define NDIS_PACKET_TYPE_SMT   0x00000040

Definition at line 669 of file ndis.h.

◆ NDIS_PACKET_TYPE_SOURCE_ROUTING

#define NDIS_PACKET_TYPE_SOURCE_ROUTING   0x00000010

Definition at line 667 of file ndis.h.

◆ NDIS_PACKET_VALID_COUNTS

#define NDIS_PACKET_VALID_COUNTS (   _Packet)    ((_Packet)->Private.ValidCounts)

Definition at line 3396 of file ndis.h.

◆ NDIS_PAGABLE_FUNCTION

#define NDIS_PAGABLE_FUNCTION   NDIS_PAGEABLE_FUNCTION

Definition at line 4494 of file ndis.h.

◆ NDIS_PAGEABLE_FUNCTION

#define NDIS_PAGEABLE_FUNCTION (   FunctionName)     alloc_text(PAGE, FunctionName)

Definition at line 4491 of file ndis.h.

◆ NDIS_PER_PACKET_INFO_FROM_PACKET

#define NDIS_PER_PACKET_INFO_FROM_PACKET (   Packet,
  InfoType 
)
Value:
((PNDIS_PACKET_EXTENSION)((PUCHAR)(Packet) + (Packet)->Private.NdisPacketOobOffset \
+ sizeof(NDIS_PACKET_OOB_DATA)))->NdisPacketInfo[(InfoType)]

Definition at line 1351 of file ndis.h.

◆ NDIS_PHYSICAL_ADDRESS_CONST

#define NDIS_PHYSICAL_ADDRESS_CONST (   Low,
  High 
)     { {(ULONG)(Low), (LONG)(High)} }

Definition at line 3866 of file ndis.h.

◆ NDIS_PROT_OPTION_ESTIMATED_LENGTH

#define NDIS_PROT_OPTION_ESTIMATED_LENGTH   0x00000001

Definition at line 677 of file ndis.h.

◆ NDIS_PROT_OPTION_NO_LOOPBACK

#define NDIS_PROT_OPTION_NO_LOOPBACK   0x00000002

Definition at line 678 of file ndis.h.

◆ NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT

#define NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT   0x00000004

Definition at line 679 of file ndis.h.

◆ NDIS_PROTOCOL_ID_DEFAULT

#define NDIS_PROTOCOL_ID_DEFAULT   0x00

Definition at line 1029 of file ndis.h.

◆ NDIS_PROTOCOL_ID_IPX

#define NDIS_PROTOCOL_ID_IPX   0x06

Definition at line 1031 of file ndis.h.

◆ NDIS_PROTOCOL_ID_MASK

#define NDIS_PROTOCOL_ID_MASK   0x0F

Definition at line 1034 of file ndis.h.

◆ NDIS_PROTOCOL_ID_MAX

#define NDIS_PROTOCOL_ID_MAX   0x0F

Definition at line 1033 of file ndis.h.

◆ NDIS_PROTOCOL_ID_NBF

#define NDIS_PROTOCOL_ID_NBF   0x07

Definition at line 1032 of file ndis.h.

◆ NDIS_PROTOCOL_ID_TCP_IP

#define NDIS_PROTOCOL_ID_TCP_IP   0x02

Definition at line 1030 of file ndis.h.

◆ NDIS_PROTOCOL_MAJOR_VERSION

#define NDIS_PROTOCOL_MAJOR_VERSION   4

◆ NDIS_PROTOCOL_MINOR_VERSION

#define NDIS_PROTOCOL_MINOR_VERSION   0

◆ NDIS_SET_ORIGINAL_PACKET

#define NDIS_SET_ORIGINAL_PACKET (   Packet,
  OriginalPacket 
)     NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, OriginalPacketInfo) = (OriginalPacket)

Definition at line 1361 of file ndis.h.

◆ NDIS_SET_PACKET_CANCEL_ID

#define NDIS_SET_PACKET_CANCEL_ID (   Packet,
  CancelId 
)     NDIS_PER_PACKET_INFO_FROM_PACKET(Packet, PacketCancelId) = (CancelId)

Definition at line 1370 of file ndis.h.

◆ NDIS_SET_PACKET_HEADER_SIZE

#define NDIS_SET_PACKET_HEADER_SIZE (   _Packet,
  _HdrSize 
)
Value:
(_Packet)->Private.NdisPacketOobOffset))->HeaderSize = (_HdrSize)

Definition at line 3499 of file ndis.h.

◆ NDIS_SET_PACKET_MEDIA_SPECIFIC_INFO

#define NDIS_SET_PACKET_MEDIA_SPECIFIC_INFO (   _Packet,
  _MediaSpecificInfo,
  _SizeMediaSpecificInfo 
)
Value:
{ \
if ((_Packet)->Private.NdisPacketFlags & fPACKET_ALLOCATED_BY_NDIS) \
{ \
(_Packet)->Private.NdisPacketFlags |= fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO; \
(_Packet)->Private.NdisPacketOobOffset))->MediaSpecificInformation = \
(_MediaSpecificInfo); \
(_Packet)->Private.NdisPacketOobOffset))->SizeMediaSpecificInfo = \
(_SizeMediaSpecificInfo); \
} \
}

Definition at line 3550 of file ndis.h.

◆ NDIS_SET_PACKET_STATUS

#define NDIS_SET_PACKET_STATUS (   _Packet,
  _Status 
)
Value:
(_Packet)->Private.NdisPacketOobOffset))->Status = (_Status)

Definition at line 3509 of file ndis.h.

◆ NDIS_SET_PACKET_TIME_RECEIVED

#define NDIS_SET_PACKET_TIME_RECEIVED (   _Packet,
  _TimeReceived 
)
Value:
(_Packet)->Private.NdisPacketOobOffset))->TimeReceived = (_TimeReceived)

Definition at line 3539 of file ndis.h.

◆ NDIS_SET_PACKET_TIME_SENT

#define NDIS_SET_PACKET_TIME_SENT (   _Packet,
  _TimeSent 
)
Value:
(_Packet)->Private.NdisPacketOobOffset))->TimeSent = (_TimeSent)

Definition at line 3529 of file ndis.h.

◆ NDIS_SET_PACKET_TIME_TO_SEND

#define NDIS_SET_PACKET_TIME_TO_SEND (   _Packet,
  _TimeToSend 
)
Value:
(_Packet)->Private.NdisPacketOobOffset))->TimeToSend = (_TimeToSend)

Definition at line 3519 of file ndis.h.

◆ NDIS_STATUS_AAL_PARAMS_UNSUPPORTED

#define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED   ((NDIS_STATUS)0xC0010028L)

Definition at line 506 of file ndis.h.

◆ NDIS_STATUS_ADAPTER_NOT_FOUND

#define NDIS_STATUS_ADAPTER_NOT_FOUND   ((NDIS_STATUS)0xC0010006L)

Definition at line 470 of file ndis.h.

◆ NDIS_STATUS_ADAPTER_NOT_OPEN

#define NDIS_STATUS_ADAPTER_NOT_OPEN   ((NDIS_STATUS)0xC0010012L)

Definition at line 483 of file ndis.h.

◆ NDIS_STATUS_ADAPTER_NOT_READY

#define NDIS_STATUS_ADAPTER_NOT_READY   ((NDIS_STATUS)0xC0010011L)

Definition at line 482 of file ndis.h.

◆ NDIS_STATUS_ADAPTER_REMOVED

#define NDIS_STATUS_ADAPTER_REMOVED   ((NDIS_STATUS)0xC0010018L)

Definition at line 489 of file ndis.h.

◆ NDIS_STATUS_ALREADY_MAPPED

#define NDIS_STATUS_ALREADY_MAPPED   ((NDIS_STATUS)0xC001001DL)

Definition at line 494 of file ndis.h.

◆ NDIS_STATUS_BAD_CHARACTERISTICS

#define NDIS_STATUS_BAD_CHARACTERISTICS   ((NDIS_STATUS)0xC0010005L)

Definition at line 469 of file ndis.h.

◆ NDIS_STATUS_BAD_VERSION

#define NDIS_STATUS_BAD_VERSION   ((NDIS_STATUS)0xC0010004L)

Definition at line 468 of file ndis.h.

◆ NDIS_STATUS_BUFFER_OVERFLOW

#define NDIS_STATUS_BUFFER_OVERFLOW   ((NDIS_STATUS)STATUS_BUFFER_OVERFLOW)

Definition at line 464 of file ndis.h.

◆ NDIS_STATUS_BUFFER_TOO_SHORT

#define NDIS_STATUS_BUFFER_TOO_SHORT   ((NDIS_STATUS)0xC0010016L)

Definition at line 487 of file ndis.h.

◆ NDIS_STATUS_CALL_ACTIVE

#define NDIS_STATUS_CALL_ACTIVE   ((NDIS_STATUS)0x00010007L)

Definition at line 351 of file ndis.h.

◆ NDIS_STATUS_CELLRATE_NOT_AVAILABLE

#define NDIS_STATUS_CELLRATE_NOT_AVAILABLE   ((NDIS_STATUS)0xC0010026L)

Definition at line 504 of file ndis.h.

◆ NDIS_STATUS_CLOSED

#define NDIS_STATUS_CLOSED   ((NDIS_STATUS)0x40010007L)

Definition at line 357 of file ndis.h.

◆ NDIS_STATUS_CLOSING

#define NDIS_STATUS_CLOSING   ((NDIS_STATUS)0xC0010002L)

Definition at line 467 of file ndis.h.

◆ NDIS_STATUS_CLOSING_INDICATING

#define NDIS_STATUS_CLOSING_INDICATING   ((NDIS_STATUS)0xC001000EL)

Definition at line 478 of file ndis.h.

◆ NDIS_STATUS_DEST_OUT_OF_ORDER

#define NDIS_STATUS_DEST_OUT_OF_ORDER   ((NDIS_STATUS)0xC0010024L)

Definition at line 502 of file ndis.h.

◆ NDIS_STATUS_DEVICE_FAILED

#define NDIS_STATUS_DEVICE_FAILED   ((NDIS_STATUS)0xC0010008L)

Definition at line 472 of file ndis.h.

◆ NDIS_STATUS_ERROR_READING_FILE

#define NDIS_STATUS_ERROR_READING_FILE   ((NDIS_STATUS)0xC001001CL)

Definition at line 493 of file ndis.h.

◆ NDIS_STATUS_FAILURE

#define NDIS_STATUS_FAILURE   ((NDIS_STATUS)STATUS_UNSUCCESSFUL)

Definition at line 465 of file ndis.h.

◆ NDIS_STATUS_FILE_NOT_FOUND

#define NDIS_STATUS_FILE_NOT_FOUND   ((NDIS_STATUS)0xC001001BL)

Definition at line 492 of file ndis.h.

◆ NDIS_STATUS_GROUP_ADDRESS_IN_USE

#define NDIS_STATUS_GROUP_ADDRESS_IN_USE   ((NDIS_STATUS)0xC001001AL)

Definition at line 491 of file ndis.h.

◆ NDIS_STATUS_HARD_ERRORS

#define NDIS_STATUS_HARD_ERRORS   ((NDIS_STATUS)0x80010004L)

Definition at line 463 of file ndis.h.

◆ NDIS_STATUS_HARDWARE_LINE_DOWN

#define NDIS_STATUS_HARDWARE_LINE_DOWN   ((NDIS_STATUS)0x4001000EL)

Definition at line 364 of file ndis.h.

◆ NDIS_STATUS_HARDWARE_LINE_UP

#define NDIS_STATUS_HARDWARE_LINE_UP   ((NDIS_STATUS)0x4001000DL)

Definition at line 363 of file ndis.h.

◆ NDIS_STATUS_HOST_UNREACHABLE

#define NDIS_STATUS_HOST_UNREACHABLE   ((NDIS_STATUS)STATUS_HOST_UNREACHABLE)

Definition at line 512 of file ndis.h.

◆ NDIS_STATUS_INCOMPATABLE_QOS

#define NDIS_STATUS_INCOMPATABLE_QOS   ((NDIS_STATUS)0xC0010027L)

Definition at line 505 of file ndis.h.

◆ NDIS_STATUS_INDICATION_REQUIRED

#define NDIS_STATUS_INDICATION_REQUIRED   ((NDIS_STATUS)STATUS_NDIS_INDICATION_REQUIRED)

Definition at line 352 of file ndis.h.

◆ NDIS_STATUS_INTERFACE_DOWN

#define NDIS_STATUS_INTERFACE_DOWN   ((NDIS_STATUS)0x40010010L)

Definition at line 366 of file ndis.h.

◆ NDIS_STATUS_INTERFACE_UP

#define NDIS_STATUS_INTERFACE_UP   ((NDIS_STATUS)0x4001000FL)

Definition at line 365 of file ndis.h.

◆ NDIS_STATUS_INVALID_ADDRESS

#define NDIS_STATUS_INVALID_ADDRESS   ((NDIS_STATUS)0xC0010022L)

Definition at line 500 of file ndis.h.

◆ NDIS_STATUS_INVALID_DATA

#define NDIS_STATUS_INVALID_DATA   ((NDIS_STATUS)0xC0010015L)

Definition at line 486 of file ndis.h.

◆ NDIS_STATUS_INVALID_DEVICE_REQUEST

#define NDIS_STATUS_INVALID_DEVICE_REQUEST   ((NDIS_STATUS)STATUS_INVALID_DEVICE_REQUEST)

Definition at line 510 of file ndis.h.

◆ NDIS_STATUS_INVALID_LENGTH

#define NDIS_STATUS_INVALID_LENGTH   ((NDIS_STATUS)0xC0010014L)

Definition at line 485 of file ndis.h.

◆ NDIS_STATUS_INVALID_OID

#define NDIS_STATUS_INVALID_OID   ((NDIS_STATUS)0xC0010017L)

Definition at line 488 of file ndis.h.

◆ NDIS_STATUS_INVALID_PACKET

#define NDIS_STATUS_INVALID_PACKET   ((NDIS_STATUS)0xC001000FL)

Definition at line 480 of file ndis.h.

◆ NDIS_STATUS_INVALID_SAP

#define NDIS_STATUS_INVALID_SAP   ((NDIS_STATUS)0xC0010020L)

Definition at line 498 of file ndis.h.

◆ NDIS_STATUS_LINK_SPEED_CHANGE

#define NDIS_STATUS_LINK_SPEED_CHANGE   ((NDIS_STATUS)0x40010013L)

Definition at line 370 of file ndis.h.

◆ NDIS_STATUS_MEDIA_BUSY

#define NDIS_STATUS_MEDIA_BUSY   ((NDIS_STATUS)0x40010011L)

Definition at line 367 of file ndis.h.

◆ NDIS_STATUS_MEDIA_CONNECT

#define NDIS_STATUS_MEDIA_CONNECT   ((NDIS_STATUS)0x4001000BL)

Definition at line 361 of file ndis.h.

◆ NDIS_STATUS_MEDIA_DISCONNECT

#define NDIS_STATUS_MEDIA_DISCONNECT   ((NDIS_STATUS)0x4001000CL)

Definition at line 362 of file ndis.h.

◆ NDIS_STATUS_MEDIA_SPECIFIC_INDICATION

#define NDIS_STATUS_MEDIA_SPECIFIC_INDICATION   ((NDIS_STATUS)0x40010012L)

Definition at line 368 of file ndis.h.

◆ NDIS_STATUS_MULTICAST_EXISTS

#define NDIS_STATUS_MULTICAST_EXISTS   ((NDIS_STATUS)0xC001000AL)

Definition at line 474 of file ndis.h.

◆ NDIS_STATUS_MULTICAST_FULL

#define NDIS_STATUS_MULTICAST_FULL   ((NDIS_STATUS)0xC0010009L)

Definition at line 473 of file ndis.h.

◆ NDIS_STATUS_MULTICAST_NOT_FOUND

#define NDIS_STATUS_MULTICAST_NOT_FOUND   ((NDIS_STATUS)0xC001000BL)

Definition at line 475 of file ndis.h.

◆ NDIS_STATUS_NETWORK_UNREACHABLE

#define NDIS_STATUS_NETWORK_UNREACHABLE   ((NDIS_STATUS)STATUS_NETWORK_UNREACHABLE)

Definition at line 511 of file ndis.h.

◆ NDIS_STATUS_NO_CABLE

#define NDIS_STATUS_NO_CABLE   ((NDIS_STATUS)0xC001001FL)

Definition at line 496 of file ndis.h.

◆ NDIS_STATUS_NO_ROUTE_TO_DESTINATION

#define NDIS_STATUS_NO_ROUTE_TO_DESTINATION   ((NDIS_STATUS)0xC0010029L)

Definition at line 507 of file ndis.h.

◆ NDIS_STATUS_NOT_ACCEPTED

#define NDIS_STATUS_NOT_ACCEPTED   ((NDIS_STATUS)0x00010003L)

Definition at line 350 of file ndis.h.

◆ NDIS_STATUS_NOT_COPIED

#define NDIS_STATUS_NOT_COPIED   ((NDIS_STATUS)0x00010002L)

Definition at line 349 of file ndis.h.

◆ NDIS_STATUS_NOT_INDICATING

#define NDIS_STATUS_NOT_INDICATING   ((NDIS_STATUS)0xC0010013L)

Definition at line 484 of file ndis.h.

◆ NDIS_STATUS_NOT_RECOGNIZED

#define NDIS_STATUS_NOT_RECOGNIZED   ((NDIS_STATUS)0x00010001L)

Definition at line 348 of file ndis.h.

◆ NDIS_STATUS_NOT_RESETTABLE

#define NDIS_STATUS_NOT_RESETTABLE   ((NDIS_STATUS)0x80010001L)

Definition at line 461 of file ndis.h.

◆ NDIS_STATUS_NOT_SUPPORTED

#define NDIS_STATUS_NOT_SUPPORTED   ((NDIS_STATUS)STATUS_NOT_SUPPORTED)

Definition at line 479 of file ndis.h.

◆ NDIS_STATUS_ONLINE

#define NDIS_STATUS_ONLINE   ((NDIS_STATUS)0x40010003L)

Definition at line 353 of file ndis.h.

◆ NDIS_STATUS_OPEN_FAILED

#define NDIS_STATUS_OPEN_FAILED   ((NDIS_STATUS)0xC0010007L)

Definition at line 471 of file ndis.h.

◆ NDIS_STATUS_OPEN_LIST_FULL

#define NDIS_STATUS_OPEN_LIST_FULL   ((NDIS_STATUS)0xC0010010L)

Definition at line 481 of file ndis.h.

◆ NDIS_STATUS_PENDING

#define NDIS_STATUS_PENDING   ((NDIS_STATUS)STATUS_PENDING)

Definition at line 347 of file ndis.h.

◆ NDIS_STATUS_REQUEST_ABORTED

#define NDIS_STATUS_REQUEST_ABORTED   ((NDIS_STATUS)0xC001000CL)

Definition at line 476 of file ndis.h.

◆ NDIS_STATUS_RESET_END

#define NDIS_STATUS_RESET_END   ((NDIS_STATUS)0x40010005L)

Definition at line 355 of file ndis.h.

◆ NDIS_STATUS_RESET_IN_PROGRESS

#define NDIS_STATUS_RESET_IN_PROGRESS   ((NDIS_STATUS)0xC001000DL)

Definition at line 477 of file ndis.h.

◆ NDIS_STATUS_RESET_START

#define NDIS_STATUS_RESET_START   ((NDIS_STATUS)0x40010004L)

Definition at line 354 of file ndis.h.

◆ NDIS_STATUS_RESOURCE_CONFLICT

#define NDIS_STATUS_RESOURCE_CONFLICT   ((NDIS_STATUS)0xC001001EL)

Definition at line 495 of file ndis.h.

◆ NDIS_STATUS_RESOURCES

#define NDIS_STATUS_RESOURCES   ((NDIS_STATUS)STATUS_INSUFFICIENT_RESOURCES)

Definition at line 466 of file ndis.h.

◆ NDIS_STATUS_RING_STATUS

#define NDIS_STATUS_RING_STATUS   ((NDIS_STATUS)0x40010006L)

Definition at line 356 of file ndis.h.

◆ NDIS_STATUS_SAP_IN_USE

#define NDIS_STATUS_SAP_IN_USE   ((NDIS_STATUS)0xC0010021L)

Definition at line 499 of file ndis.h.

◆ NDIS_STATUS_SOFT_ERRORS

#define NDIS_STATUS_SOFT_ERRORS   ((NDIS_STATUS)0x80010003L)

Definition at line 462 of file ndis.h.

◆ NDIS_STATUS_SUCCESS

#define NDIS_STATUS_SUCCESS   ((NDIS_STATUS)STATUS_SUCCESS)

Definition at line 346 of file ndis.h.

◆ NDIS_STATUS_TOKEN_RING_OPEN_ERROR

#define NDIS_STATUS_TOKEN_RING_OPEN_ERROR   ((NDIS_STATUS)0xC0011000L)

Definition at line 509 of file ndis.h.

◆ NDIS_STATUS_UNSUPPORTED_MEDIA

#define NDIS_STATUS_UNSUPPORTED_MEDIA   ((NDIS_STATUS)0xC0010019L)

Definition at line 490 of file ndis.h.

◆ NDIS_STATUS_VC_NOT_ACTIVATED

#define NDIS_STATUS_VC_NOT_ACTIVATED   ((NDIS_STATUS)0xC0010023L)

Definition at line 501 of file ndis.h.

◆ NDIS_STATUS_VC_NOT_AVAILABLE

#define NDIS_STATUS_VC_NOT_AVAILABLE   ((NDIS_STATUS)0xC0010025L)

Definition at line 503 of file ndis.h.

◆ NDIS_STATUS_WAN_CO_FRAGMENT

#define NDIS_STATUS_WAN_CO_FRAGMENT   ((NDIS_STATUS)0x40010015L)

Definition at line 372 of file ndis.h.

◆ NDIS_STATUS_WAN_CO_LINKPARAMS

#define NDIS_STATUS_WAN_CO_LINKPARAMS   ((NDIS_STATUS)0x40010016L)

Definition at line 373 of file ndis.h.

◆ NDIS_STATUS_WAN_CO_MTULINKPARAMS

#define NDIS_STATUS_WAN_CO_MTULINKPARAMS   ((NDIS_STATUS)0x40010025L)

Definition at line 382 of file ndis.h.

◆ NDIS_STATUS_WAN_FRAGMENT

#define NDIS_STATUS_WAN_FRAGMENT   ((NDIS_STATUS)0x4001000AL)

Definition at line 360 of file ndis.h.

◆ NDIS_STATUS_WAN_GET_STATS

#define NDIS_STATUS_WAN_GET_STATS   ((NDIS_STATUS)0x40010014L)

Definition at line 371 of file ndis.h.

◆ NDIS_STATUS_WAN_LINE_DOWN

#define NDIS_STATUS_WAN_LINE_DOWN   ((NDIS_STATUS)0x40010009L)

Definition at line 359 of file ndis.h.

◆ NDIS_STATUS_WAN_LINE_UP

#define NDIS_STATUS_WAN_LINE_UP   ((NDIS_STATUS)0x40010008L)

Definition at line 358 of file ndis.h.

◆ NDIS_STATUS_WW_INDICATION

#define NDIS_STATUS_WW_INDICATION   NDIS_STATUS_MEDIA_SPECIFIC_INDICATION

Definition at line 369 of file ndis.h.

◆ NDIS_SUPPORT_60_COMPATIBLE_API

#define NDIS_SUPPORT_60_COMPATIBLE_API   1

◆ NDIS_SUPPORT_NDIS6

#define NDIS_SUPPORT_NDIS6   0

◆ NDIS_SUPPORT_NDIS61

#define NDIS_SUPPORT_NDIS61   0

◆ NDIS_SUPPORT_NDIS620

#define NDIS_SUPPORT_NDIS620   0

◆ NDIS_TASK_OFFLOAD_VERSION

#define NDIS_TASK_OFFLOAD_VERSION   1

Definition at line 1388 of file ndis.h.

◆ NDIS_TASK_TCP_LARGE_SEND_V0

#define NDIS_TASK_TCP_LARGE_SEND_V0   0

Definition at line 1270 of file ndis.h.

◆ NDIS_WDM

#define NDIS_WDM   0

Definition at line 36 of file ndis.h.

◆ NdisAcquireSpinLock

#define NdisAcquireSpinLock (   _SpinLock)    KeAcquireSpinLock(&(_SpinLock)->SpinLock, &(_SpinLock)->OldIrql)

Definition at line 4106 of file ndis.h.

◆ NdisAdjustBufferLength

#define NdisAdjustBufferLength (   Buffer,
  Length 
)     (((Buffer)->ByteCount) = (Length))

Definition at line 3314 of file ndis.h.

◆ NdisAllocateFromNPagedLookasideList

#define NdisAllocateFromNPagedLookasideList (   _L)    ExAllocateFromNPagedLookasideList(_L)

Definition at line 4369 of file ndis.h.

◆ NdisAllocateSpinLock

#define NdisAllocateSpinLock (   _SpinLock)    KeInitializeSpinLock(&(_SpinLock)->SpinLock)

Definition at line 4088 of file ndis.h.

◆ NdisAnsiStringToUnicodeString

#define NdisAnsiStringToUnicodeString (   _us,
  _as 
)    RtlAnsiStringToUnicodeString(_us, _as, FALSE)

Definition at line 4036 of file ndis.h.

◆ NDISAPI

#define NDISAPI   DECLSPEC_IMPORT

◆ NdisBufferLength

#define NdisBufferLength   MmGetMdlByteCount

Definition at line 3329 of file ndis.h.

◆ NdisBufferVirtualAddress

#define NdisBufferVirtualAddress   MmGetSystemAddressForMdl

Definition at line 3338 of file ndis.h.

◆ NdisBufferVirtualAddressSafe

#define NdisBufferVirtualAddressSafe   MmGetSystemAddressForMdlSafe

Definition at line 3340 of file ndis.h.

◆ NdisChainBufferAtBack

#define NdisChainBufferAtBack (   Packet,
  Buffer 
)
Value:
{ \
PNDIS_BUFFER _NdisBuffer = (Buffer); \
\
while (_NdisBuffer->Next != NULL) \
_NdisBuffer = _NdisBuffer->Next; \
\
_NdisBuffer->Next = NULL; \
\
if ((Packet)->Private.Head != NULL) \
(Packet)->Private.Tail->Next = (Buffer); \
else \
(Packet)->Private.Head = (Buffer); \
\
(Packet)->Private.Tail = _NdisBuffer; \
(Packet)->Private.ValidCounts = FALSE; \
}
Definition: bufpool.h:45
#define FALSE
Definition: types.h:117
_Out_ PNDIS_BUFFER * Buffer
Definition: ndis.h:2867
MDL * PNDIS_BUFFER
Definition: ndis.h:343

Definition at line 3128 of file ndis.h.

◆ NdisChainBufferAtFront

#define NdisChainBufferAtFront (   Packet,
  Buffer 
)
Value:
{ \
PNDIS_BUFFER _NdisBuffer = (Buffer); \
\
while (_NdisBuffer->Next != NULL) \
_NdisBuffer = _NdisBuffer->Next; \
\
if ((Packet)->Private.Head == NULL) \
(Packet)->Private.Tail = _NdisBuffer; \
\
_NdisBuffer->Next = (Packet)->Private.Head; \
(Packet)->Private.Head = (Buffer); \
(Packet)->Private.ValidCounts = FALSE; \
}

Definition at line 3106 of file ndis.h.

◆ NdisClearPacketFlags

#define NdisClearPacketFlags (   Packet,
  Flags 
)    (Packet)->Private.Flags &= ~(Flags)

Definition at line 3580 of file ndis.h.

◆ NdisCopyLookaheadData

#define NdisCopyLookaheadData (   Destination,
  Source,
  Length,
  MacOptions 
)
Value:
{ \
{ \
RtlCopyMemory(Destination, Source, Length); \
} \
else \
{ \
PUCHAR _Src = (PUCHAR)(Source); \
PUCHAR _Dest = (PUCHAR)(Destination); \
PUCHAR _End = _Dest + (Length); \
while (_Dest < _End) \
*_Dest++ = *_Src++; \
} \
}
_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE _In_ UINT Length
Definition: ndis.h:2870
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3169
#define NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA
Definition: ndis.h:682
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:3016
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102

Definition at line 3289 of file ndis.h.

◆ NdisCreateLookaheadBufferFromSharedMemory

#define NdisCreateLookaheadBufferFromSharedMemory (   _S,
  _L,
  _B 
)    ((*(_B)) = (_S))

Definition at line 3667 of file ndis.h.

◆ NdisDeleteNPagedLookasideList

#define NdisDeleteNPagedLookasideList (   _L)    ExDeleteNPagedLookasideList(_L)

Definition at line 4368 of file ndis.h.

◆ NdisDprAcquireSpinLock

#define NdisDprAcquireSpinLock (   _SpinLock)    KeAcquireSpinLockAtDpcLevel(&(_SpinLock)->SpinLock)

Definition at line 4124 of file ndis.h.

◆ NdisDprReleaseSpinLock

#define NdisDprReleaseSpinLock (   _SpinLock)    KeReleaseSpinLockFromDpcLevel(&(_SpinLock)->SpinLock)

Definition at line 4133 of file ndis.h.

◆ NdisEqualMemory

#define NdisEqualMemory (   Source1,
  Source2,
  Length 
)     RtlEqualMemory(Source1, Source2, Length)

Definition at line 3876 of file ndis.h.

◆ NdisEqualString

#define NdisEqualString   RtlEqualString

Definition at line 4045 of file ndis.h.

◆ NdisEqualUnicodeString

#define NdisEqualUnicodeString   RtlEqualUnicodeString

Definition at line 4047 of file ndis.h.

◆ NdisFillMemory

#define NdisFillMemory (   Destination,
  Length,
  Fill 
)     RtlFillMemory(Destination, Length, Fill)

Definition at line 3886 of file ndis.h.

◆ NdisFlushBuffer

#define NdisFlushBuffer (   Buffer,
  WriteToDevice 
)     KeFlushIoBuffers((Buffer),!(WriteToDevice), TRUE)

Definition at line 3261 of file ndis.h.

◆ NdisFreeBuffer

#define NdisFreeBuffer   IoFreeMdl

Definition at line 2895 of file ndis.h.

◆ NdisFreeSpinLock

#define NdisFreeSpinLock (   _SpinLock)

Definition at line 4097 of file ndis.h.

◆ NdisFreeString

#define NdisFreeString (   _s)    NdisFreeMemory((_s).Buffer, (_s).MaximumLength, 0)

Definition at line 4076 of file ndis.h.

◆ NdisFreeToNPagedLookasideList

#define NdisFreeToNPagedLookasideList (   _L,
  _E 
)    ExFreeToNPagedLookasideList(_L, _E)

Definition at line 4370 of file ndis.h.

◆ NdisGetBufferPhysicalArraySize

#define NdisGetBufferPhysicalArraySize (   Buffer,
  ArraySize 
)     (*(ArraySize) = NDIS_BUFFER_TO_SPAN_PAGES(Buffer))

Definition at line 3356 of file ndis.h.

◆ NdisGetCurrentSystemTime

#define NdisGetCurrentSystemTime   KeQuerySystemTime

Definition at line 4462 of file ndis.h.

◆ NdisGetFirstBufferFromPacketSafe

#define NdisGetFirstBufferFromPacketSafe (   _Packet,
  _FirstBuffer,
  _FirstBufferVA,
  _FirstBufferLength,
  _TotalBufferLength,
  _Priority 
)
Value:
{ \
PNDIS_BUFFER _Buffer; \
\
_Buffer = (_Packet)->Private.Head; \
*(_FirstBuffer) = _Buffer; \
if (_Buffer != NULL) { \
*(_FirstBufferVA) = MmGetSystemAddressForMdlSafe(_Buffer, _Priority); \
*(_FirstBufferLength) = MmGetMdlByteCount(_Buffer); \
_Buffer = _Buffer->Next; \
*(_TotalBufferLength) = *(_FirstBufferLength); \
while (_Buffer != NULL) { \
*(_TotalBufferLength) += MmGetMdlByteCount(_Buffer); \
_Buffer = _Buffer->Next; \
} \
} \
else { \
*(_FirstBufferVA) = 0; \
*(_FirstBufferLength) = 0; \
*(_TotalBufferLength) = 0; \
} \
}
#define MmGetMdlByteCount(_Mdl)
#define MmGetSystemAddressForMdlSafe(_Mdl, _Priority)

Definition at line 3056 of file ndis.h.

◆ NdisGetNextBuffer

#define NdisGetNextBuffer (   CurrentBuffer,
  NextBuffer 
)
Value:
{ \
*(NextBuffer) = (CurrentBuffer)->Next; \
}
static ACPI_BUFFER CurrentBuffer

Definition at line 3386 of file ndis.h.

◆ NdisGetPacketCancelId

#define NdisGetPacketCancelId (   _Packet)    NDIS_GET_PACKET_CANCEL_ID(_Packet)

Definition at line 1374 of file ndis.h.

◆ NdisGetPacketFlags

#define NdisGetPacketFlags (   Packet)    (Packet)->Private.Flags

Definition at line 3403 of file ndis.h.

◆ NdisGetPhysicalAddressHigh

#define NdisGetPhysicalAddressHigh (   PhysicalAddress)     ((PhysicalAddress).HighPart)

Definition at line 3830 of file ndis.h.

◆ NdisGetPhysicalAddressLow

#define NdisGetPhysicalAddressLow (   PhysicalAddress)     ((PhysicalAddress).LowPart)

Definition at line 3847 of file ndis.h.

◆ NdisIMInitializeDeviceInstance

#define NdisIMInitializeDeviceInstance (   DriverHandle,
  DeviceInstance 
)     NdisIMInitializeDeviceInstanceEx(DriverHandle, DeviceInstance, NULL)

Definition at line 5904 of file ndis.h.

◆ NdisInitAnsiString

#define NdisInitAnsiString   RtlInitString

Definition at line 4057 of file ndis.h.

◆ NdisInitializeListHead

#define NdisInitializeListHead   InitializeListHead

Definition at line 4314 of file ndis.h.

◆ NdisInitializeNPagedLookasideList

#define NdisInitializeNPagedLookasideList (   _L,
  _AR,
  _FR,
  _Fl,
  _S,
  _T,
  _D 
)     ExInitializeNPagedLookasideList(_L, _AR, _FR, _Fl, _S, _T, _D)

Definition at line 4366 of file ndis.h.

◆ NdisInitializeSListHead

#define NdisInitializeSListHead (   SListHead)    ExInitializeSListHead(SListHead)

Definition at line 4350 of file ndis.h.

◆ NdisInitializeWorkItem

#define NdisInitializeWorkItem (   _WI_,
  _R_,
  _C_ 
)
Value:
{ \
(_WI_)->Context = _C_; \
(_WI_)->Routine = _R_; \
}

Definition at line 3197 of file ndis.h.

◆ NdisInterlockedAddUlong

#define NdisInterlockedAddUlong (   _Addend,
  _Increment,
  _SpinLock 
)     ExInterlockedAddUlong(_Addend, _Increment, &(_SpinLock)->SpinLock)

Definition at line 4395 of file ndis.h.

◆ NdisInterlockedDecrement

#define NdisInterlockedDecrement (   Addend)    InterlockedDecrement(Addend)

Definition at line 4379 of file ndis.h.

◆ NdisInterlockedFlushSList

#define NdisInterlockedFlushSList (   SListHead)    ExInterlockedFlushSList(SListHead)

Definition at line 5271 of file ndis.h.

◆ NdisInterlockedIncrement

#define NdisInterlockedIncrement (   Addend)    InterlockedIncrement(Addend)

Definition at line 4386 of file ndis.h.

◆ NdisInterlockedInsertHeadList

#define NdisInterlockedInsertHeadList (   _ListHead,
  _ListEntry,
  _SpinLock 
)     ExInterlockedInsertHeadList(_ListHead, _ListEntry, &(_SpinLock)->SpinLock)

Definition at line 4323 of file ndis.h.

◆ NdisInterlockedInsertTailList

#define NdisInterlockedInsertTailList (   _ListHead,
  _ListEntry,
  _SpinLock 
)     ExInterlockedInsertTailList(_ListHead, _ListEntry, &(_SpinLock)->SpinLock)

Definition at line 4333 of file ndis.h.

◆ NdisInterlockedPopEntryList

#define NdisInterlockedPopEntryList (   ListHead,
  Lock 
)     ExInterlockedPopEntryList(ListHead, &(Lock)->SpinLock)

Definition at line 4361 of file ndis.h.

◆ NdisInterlockedPopEntrySList

#define NdisInterlockedPopEntrySList (   SListHead,
  Lock 
)     ExInterlockedPopEntrySList(SListHead, &(Lock)->SpinLock)

Definition at line 5256 of file ndis.h.

◆ NdisInterlockedPushEntryList

#define NdisInterlockedPushEntryList (   ListHead,
  ListEntry,
  Lock 
)     ExInterlockedPushEntryList(ListHead, ListEntry, &(Lock)->SpinLock)

Definition at line 4358 of file ndis.h.

◆ NdisInterlockedPushEntrySList

#define NdisInterlockedPushEntrySList (   SListHead,
  SListEntry,
  Lock 
)     ExInterlockedPushEntrySList(SListHead, SListEntry, &(Lock)->SpinLock)

Definition at line 5268 of file ndis.h.

◆ NdisInterlockedRemoveHeadList

#define NdisInterlockedRemoveHeadList (   _ListHead,
  _SpinLock 
)     ExInterlockedRemoveHeadList(_ListHead, &(_SpinLock)->SpinLock)

Definition at line 4342 of file ndis.h.

◆ NdisInterruptLatched

#define NdisInterruptLatched   Latched

Definition at line 921 of file ndis.h.

◆ NdisInterruptLevelSensitive

#define NdisInterruptLevelSensitive   LevelSensitive

Definition at line 920 of file ndis.h.

◆ NdisMArcIndicateReceive

#define NdisMArcIndicateReceive (   MiniportAdapterHandle,
  HeaderBuffer,
  DataBuffer,
  Length 
)
Value:
{ \
ArcFilterDprIndicateReceive( \
(HeaderBuffer), \
(DataBuffer), \
(Length)); \
}
_In_ NDIS_HANDLE MiniportAdapterHandle
Definition: ndis.h:4668

Definition at line 5340 of file ndis.h.

◆ NdisMArcIndicateReceiveComplete

#define NdisMArcIndicateReceiveComplete (   MiniportAdapterHandle)
Value:
{ \
{ \
NdisMEthIndicateReceiveComplete(_H); \
} \
\
ArcFilterDprIndicateReceiveComplete( \
}

Definition at line 5357 of file ndis.h.

◆ NdisMEthIndicateReceive

#define NdisMEthIndicateReceive (   MiniportAdapterHandle,
  MiniportReceiveContext,
  HeaderBuffer,
  HeaderBufferSize,
  LookaheadBuffer,
  LookaheadBufferSize,
  PacketSize 
)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->EthRxIndicateHandler)( \
(MiniportReceiveContext), \
(HeaderBuffer), \
(HeaderBuffer), \
(HeaderBufferSize), \
(LookaheadBuffer), \
(LookaheadBufferSize), \
(PacketSize)); \
}
struct _NDIS_MINIPORT_BLOCK * PNDIS_MINIPORT_BLOCK
Definition: ndis.h:319
_In_ USHORT PacketSize
Definition: iofuncs.h:1058

Definition at line 5458 of file ndis.h.

◆ NdisMEthIndicateReceiveComplete

#define NdisMEthIndicateReceiveComplete (   MiniportAdapterHandle)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->EthRxCompleteHandler)( \
}

Definition at line 5482 of file ndis.h.

◆ NdisMFddiIndicateReceive

#define NdisMFddiIndicateReceive (   MiniportAdapterHandle,
  MiniportReceiveContext,
  HeaderBuffer,
  HeaderBufferSize,
  LookaheadBuffer,
  LookaheadBufferSize,
  PacketSize 
)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->FddiRxIndicateHandler)( \
(MiniportReceiveContext), \
(PUCHAR)(HeaderBuffer) + 1, \
(((*(PUCHAR*)(HeaderBuffer)) & 0x40) ? \
(HeaderBuffer), \
(HeaderBufferSize), \
(LookaheadBuffer), \
(LookaheadBufferSize), \
(PacketSize)); \
}
#define FDDI_LENGTH_OF_SHORT_ADDRESS
Definition: xfilter.h:84
#define FDDI_LENGTH_OF_LONG_ADDRESS
Definition: xfilter.h:83

Definition at line 5499 of file ndis.h.

◆ NdisMFddiIndicateReceiveComplete

#define NdisMFddiIndicateReceiveComplete (   MiniportAdapterHandle)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->FddiRxCompleteHandler)( \
}

Definition at line 5528 of file ndis.h.

◆ NdisMIndicateReceivePacket

#define NdisMIndicateReceivePacket (   MiniportAdapterHandle,
  ReceivePackets,
  NumberOfPackets 
)
Value:
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->PacketIndicateHandler)( \
_In_ PPNDIS_PACKET _In_ UINT NumberOfPackets
Definition: ndis.h:5121

Definition at line 5556 of file ndis.h.

◆ NdisMIndicateStatus

#define NdisMIndicateStatus (   MiniportAdapterHandle,
  GeneralStatus,
  StatusBuffer,
  StatusBufferSize 
)
Value:
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->StatusHandler)( \
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS _In_ PVOID _In_ UINT StatusBufferSize
Definition: ndis.h:1558
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS _In_ PVOID StatusBuffer
Definition: ndis.h:1557
_In_opt_ NDIS_HANDLE _In_ NDIS_STATUS GeneralStatus
Definition: ndis.h:1556

Definition at line 5570 of file ndis.h.

◆ NdisMIndicateStatusComplete

#define NdisMIndicateStatusComplete (   MiniportAdapterHandle)
Value:

Definition at line 5580 of file ndis.h.

◆ NdisMInitializeWrapper

#define NdisMInitializeWrapper (   NdisWrapperHandle,
  SystemSpecific1,
  SystemSpecific2,
  SystemSpecific3 
)
Value:
NdisInitializeWrapper((NdisWrapperHandle), \
(SystemSpecific1), \
NDISAPI VOID NTAPI NdisInitializeWrapper(OUT PNDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)
Definition: miniport.c:1591
_In_ PVOID _In_ PVOID SystemSpecific2
Definition: ndis.h:638
_In_ PVOID _In_ PVOID _In_ PVOID SystemSpecific3
Definition: ndis.h:639

Definition at line 5592 of file ndis.h.

◆ NdisMoveFromMappedMemory

#define NdisMoveFromMappedMemory (   Destination,
  Source,
  Length 
)     NdisMoveMappedMemory(Destination, Source, Length)

Definition at line 3721 of file ndis.h.

◆ NdisMoveMappedMemory

#define NdisMoveMappedMemory (   Destination,
  Source,
  Length 
)
Value:
{ \
PUCHAR _Dest = Destination, _Src = Source, _End = _Dest + Length; \
while (_Dest < _End) \
*_Dest++ = _Src++; \
}

Definition at line 3698 of file ndis.h.

◆ NdisMoveMemory

#define NdisMoveMemory (   Destination,
  Source,
  Length 
)     RtlCopyMemory(Destination, Source, Length)

Definition at line 3896 of file ndis.h.

◆ NdisMoveToMappedMemory

#define NdisMoveToMappedMemory (   Destination,
  Source,
  Length 
)     NdisMoveMappedMemory(Destination, Source, Length)

Definition at line 3731 of file ndis.h.

◆ NdisMQueryInformationComplete

#define NdisMQueryInformationComplete (   MiniportAdapterHandle,
  Status 
)     (*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->QueryCompleteHandler)(MiniportAdapterHandle, Status)

Definition at line 5618 of file ndis.h.

◆ NdisMResetComplete

#define NdisMResetComplete (   MiniportAdapterHandle,
  Status,
  AddressingReset 
)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->ResetCompleteHandler)( \
MiniportAdapterHandle, Status, AddressingReset); \
}
_In_ NDIS_STATUS Status
Definition: ndis.h:3215

Definition at line 5674 of file ndis.h.

◆ NdisMSendComplete

#define NdisMSendComplete (   MiniportAdapterHandle,
  Packet,
  Status 
)
Value:

Definition at line 5689 of file ndis.h.

◆ NdisMSendResourcesAvailable

#define NdisMSendResourcesAvailable (   MiniportAdapterHandle)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->SendResourcesHandler)( \
}

Definition at line 5702 of file ndis.h.

◆ NdisMSetAttributes

#define NdisMSetAttributes (   MiniportAdapterHandle,
  MiniportAdapterContext,
  BusMaster,
  AdapterType 
)
Value:
MiniportAdapterContext, \
0, \
(BusMaster) ? NDIS_ATTRIBUTE_BUS_MASTER : 0, \
#define NDIS_ATTRIBUTE_BUS_MASTER
Definition: ndis.h:586
NDISAPI VOID NTAPI NdisMSetAttributesEx(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE MiniportAdapterContext, IN UINT CheckForHangTimeInSeconds OPTIONAL, IN ULONG AttributeFlags, IN NDIS_INTERFACE_TYPE AdapterType)
Definition: miniport.c:2883
@ AdapterType
Definition: cmtypes.h:991

Definition at line 5736 of file ndis.h.

◆ NdisMSetInformationComplete

#define NdisMSetInformationComplete (   MiniportAdapterHandle,
  Status 
)
Value:

Definition at line 5762 of file ndis.h.

◆ NdisMTransferDataComplete

#define NdisMTransferDataComplete (   MiniportAdapterHandle,
  Packet,
  Status,
  BytesTransferred 
)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->TDCompleteHandler)( \
}
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_ PWDF_USB_CONTROL_SETUP_PACKET _In_opt_ PWDF_MEMORY_DESCRIPTOR _Out_opt_ PULONG BytesTransferred
Definition: wdfusb.h:1342

Definition at line 5716 of file ndis.h.

◆ NdisMTrIndicateReceive

#define NdisMTrIndicateReceive (   MiniportAdapterHandle,
  MiniportReceiveContext,
  HeaderBuffer,
  HeaderBufferSize,
  LookaheadBuffer,
  LookaheadBufferSize,
  PacketSize 
)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->TrRxIndicateHandler)( \
(MiniportReceiveContext), \
(HeaderBuffer), \
(HeaderBuffer), \
(HeaderBufferSize), \
(LookaheadBuffer), \
(LookaheadBufferSize), \
(PacketSize)); \
}

Definition at line 5785 of file ndis.h.

◆ NdisMTrIndicateReceiveComplete

#define NdisMTrIndicateReceiveComplete (   MiniportAdapterHandle)
Value:
{ \
(*((PNDIS_MINIPORT_BLOCK)(MiniportAdapterHandle))->TrRxCompleteHandler)( \
}

Definition at line 5809 of file ndis.h.

◆ NdisMUpdateSharedMemory

#define NdisMUpdateSharedMemory (   _H,
  _L,
  _V,
  _P 
)     NdisUpdateSharedMemory(_H, _L, _V, _P)

Definition at line 3742 of file ndis.h.

◆ NdisPrintString

#define NdisPrintString (   _s)    DbgPrint("%ls", (_s).Buffer)

Definition at line 4077 of file ndis.h.

◆ NdisQueryBuffer

#define NdisQueryBuffer (   _Buffer,
  _VirtualAddress,
  _Length 
)
Value:
{ \
if (ARGUMENT_PRESENT(_VirtualAddress)) { \
*(PVOID *)(_VirtualAddress) = MmGetSystemAddressForMdl(_Buffer); \
} \
*(_Length) = MmGetMdlByteCount(_Buffer); \
}
#define ARGUMENT_PRESENT(ArgumentPointer)
#define MmGetSystemAddressForMdl(Mdl)

Definition at line 3029 of file ndis.h.

◆ NdisQueryBufferOffset

#define NdisQueryBufferOffset (   _Buffer,
  _Offset,
  _Length 
)
Value:
{ \
*(_Offset) = MmGetMdlByteOffset(_Buffer); \
*(_Length) = MmGetMdlByteCount(_Buffer); \
}
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Offset
Definition: malloc.h:140
#define MmGetMdlByteOffset(_Mdl)

Definition at line 3368 of file ndis.h.

◆ NdisQueryBufferSafe

#define NdisQueryBufferSafe (   _Buffer,
  _VirtualAddress,
  _Length,
  _Priority 
)
Value:
{ \
if (ARGUMENT_PRESENT(_VirtualAddress)) { \
*(PVOID *)(_VirtualAddress) = MmGetSystemAddressForMdlSafe(_Buffer, _Priority); \
} \
*(_Length) = MmGetMdlByteCount(_Buffer); \
}

Definition at line 5283 of file ndis.h.

◆ NdisQueryDepthSList

#define NdisQueryDepthSList (   SListHead)    ExQueryDepthSList(SListHead)

Definition at line 4356 of file ndis.h.

◆ NdisQueryPacketLength

#define NdisQueryPacketLength (   _Packet,
  _TotalPacketLength 
)
Value:
{ \
if (!(_Packet)->Private.ValidCounts) { \
NdisQueryPacket(_Packet, NULL, NULL, NULL, _TotalPacketLength); \
} \
else *(_TotalPacketLength) = (_Packet)->Private.TotalLength; \
}

Definition at line 3645 of file ndis.h.

◆ NdisQuerySendFlags

#define NdisQuerySendFlags (   _Packet,
  _Flags 
)    *(_Flags) = (_Packet)->Private.Flags

Definition at line 6092 of file ndis.h.

◆ NdisRawReadPortBufferUchar

#define NdisRawReadPortBufferUchar (   Port,
  Buffer,
  Length 
)     READ_PORT_BUFFER_UCHAR((PUCHAR)(Port), (PUCHAR)(Buffer), (Length))

Definition at line 4144 of file ndis.h.

◆ NdisRawReadPortBufferUlong

#define NdisRawReadPortBufferUlong (   Port,
  Buffer,
  Length 
)     READ_PORT_BUFFER_ULONG((PULONG)(Port), (PULONG)(Buffer), (Length))

Definition at line 4154 of file ndis.h.

◆ NdisRawReadPortBufferUshort

#define NdisRawReadPortBufferUshort (   Port,
  Buffer,
  Length 
)     READ_PORT_BUFFER_USHORT((PUSHORT)(Port), (PUSHORT)(Buffer), (Length))

Definition at line 4164 of file ndis.h.

◆ NdisRawReadPortUchar

#define NdisRawReadPortUchar (   Port,
  Data 
)     *(Data) = READ_PORT_UCHAR((PUCHAR)(Port))

Definition at line 4173 of file ndis.h.

◆ NdisRawReadPortUlong

#define NdisRawReadPortUlong (   Port,
  Data 
)     *(Data) = READ_PORT_ULONG((PULONG)(Port))

Definition at line 4182 of file ndis.h.

◆ NdisRawReadPortUshort

#define NdisRawReadPortUshort (   Port,
  Data 
)     *(Data) = READ_PORT_USHORT((PUSHORT)(Port))

Definition at line 4191 of file ndis.h.

◆ NdisRawWritePortBufferUchar

#define NdisRawWritePortBufferUchar (   Port,
  Buffer,
  Length 
)     WRITE_PORT_BUFFER_UCHAR((PUCHAR)(Port), (PUCHAR)(Buffer), (Length))

Definition at line 4201 of file ndis.h.

◆ NdisRawWritePortBufferUlong

#define NdisRawWritePortBufferUlong (   Port,
  Buffer,
  Length 
)     WRITE_PORT_BUFFER_ULONG((PULONG)(Port), (PULONG)(Buffer), (Length))

Definition at line 4211 of file ndis.h.

◆ NdisRawWritePortBufferUshort

#define NdisRawWritePortBufferUshort (   Port,
  Buffer,
  Length 
)     WRITE_PORT_BUFFER_USHORT((PUSHORT)(Port), (PUSHORT)(Buffer), (Length))

Definition at line 4221 of file ndis.h.

◆ NdisRawWritePortUchar

#define NdisRawWritePortUchar (   Port,
  Data 
)     WRITE_PORT_UCHAR((PUCHAR)(Port), (UCHAR)(Data))

Definition at line 4230 of file ndis.h.

◆ NdisRawWritePortUlong

#define NdisRawWritePortUlong (   Port,
  Data 
)     WRITE_PORT_ULONG((PULONG)(Port), (ULONG)(Data))

Definition at line 4239 of file ndis.h.

◆ NdisRawWritePortUshort

#define NdisRawWritePortUshort (   Port,
  Data 
)     WRITE_PORT_USHORT((PUSHORT)(Port), (USHORT)(Data))

Definition at line 4248 of file ndis.h.

◆ NdisReadRegisterUchar

#define NdisReadRegisterUchar (   Register,
  Data 
)     *(Data) = *((volatile UCHAR * const) (Register))

Definition at line 4258 of file ndis.h.

◆ NdisReadRegisterUlong

#define NdisReadRegisterUlong (   Register,
  Data 
)     *(Data) = *((volatile ULONG * const) (Register))

Definition at line 4267 of file ndis.h.

◆ NdisReadRegisterUshort

#define NdisReadRegisterUshort (   Register,
  Data 
)     *(Data) = *((volatile USHORT * const) (Register))

Definition at line 4276 of file ndis.h.

◆ NdisRecalculatePacketCounts

#define NdisRecalculatePacketCounts (   Packet)
Value:
{ \
PNDIS_BUFFER _Buffer = (Packet)->Private.Head; \
if (_Buffer != NULL) { \
while (_Buffer->Next != NULL) { \
_Buffer = _Buffer->Next; \
} \
(Packet)->Private.Tail = _Buffer; \
} \
(Packet)->Private.ValidCounts = FALSE; \
}
if(dx< 0)
Definition: linetemp.h:194

Definition at line 3089 of file ndis.h.

◆ NdisReinitializePacket

#define NdisReinitializePacket (   Packet)
Value:
{ \
(Packet)->Private.Head = (PNDIS_BUFFER)NULL; \
(Packet)->Private.ValidCounts = FALSE; \
}

Definition at line 3015 of file ndis.h.

◆ NdisReleaseSpinLock

#define NdisReleaseSpinLock (   _SpinLock)    KeReleaseSpinLock(&(_SpinLock)->SpinLock,(_SpinLock)->OldIrql)

Definition at line 4115 of file ndis.h.

◆ NdisRetrieveUlong

Definition at line 3906 of file ndis.h.

◆ NdisSetPacketCancelId

#define NdisSetPacketCancelId (   _Packet,
  _CancelId 
)    NDIS_SET_PACKET_CANCEL_ID(_Packet, _CancelId)

Definition at line 1373 of file ndis.h.

◆ NdisSetPacketFlags

#define NdisSetPacketFlags (   Packet,
  Flags 
)    (Packet)->Private.Flags |= (Flags)

Definition at line 3572 of file ndis.h.

◆ NdisSetPhysicalAddressHigh

#define NdisSetPhysicalAddressHigh (   PhysicalAddress,
  Value 
)     ((PhysicalAddress).HighPart) = (Value)

Definition at line 3839 of file ndis.h.

◆ NdisSetPhysicalAddressLow

#define NdisSetPhysicalAddressLow (   PhysicalAddress,
  Value 
)     ((PhysicalAddress).LowPart) = (Value)

Definition at line 3857 of file ndis.h.

◆ NdisSetSendFlags

#define NdisSetSendFlags (   _Packet,
  _Flags 
)    (_Packet)->Private.Flags = (_Flags)

Definition at line 6090 of file ndis.h.

◆ NdisStallExecution

#define NdisStallExecution   KeStallExecutionProcessor

Definition at line 4453 of file ndis.h.

◆ NdisStoreUlong

#define NdisStoreUlong (   DestinationAddress,
  Value 
)     RtlStoreUlong(DestinationAddress, Value)

Definition at line 3916 of file ndis.h.

◆ NdisUnicodeStringToAnsiString

#define NdisUnicodeStringToAnsiString (   _as,
  _us 
)    RtlUnicodeStringToAnsiString(_as, _us, FALSE)

Definition at line 4074 of file ndis.h.

◆ NdisUpcaseUnicodeString

#define NdisUpcaseUnicodeString (   _d,
  _s 
)    RtlUpcaseUnicodeString(_d, _s, FALSE)

Definition at line 5934 of file ndis.h.

◆ NdisWriteRegisterUchar

#define NdisWriteRegisterUchar (   Register,
  Data 
)     WRITE_REGISTER_UCHAR((Register), (Data))

Definition at line 4285 of file ndis.h.

◆ NdisWriteRegisterUlong

#define NdisWriteRegisterUlong (   Register,
  Data 
)     WRITE_REGISTER_ULONG((Register), (Data))

Definition at line 4294 of file ndis.h.

◆ NdisWriteRegisterUshort

#define NdisWriteRegisterUshort (   Register,
  Data 
)     WRITE_REGISTER_USHORT((Register), (Data))

Definition at line 4303 of file ndis.h.

◆ NdisZeroMappedMemory

#define NdisZeroMappedMemory (   Destination,
  Length 
)
Value:
{ \
PUCHAR _Dest = Destination, _End = _Dest + Length; \
while (_Dest < _End) \
*_Dest++ = 0; \
}

Definition at line 3705 of file ndis.h.

◆ NdisZeroMemory

#define NdisZeroMemory (   Destination,
  Length 
)     RtlZeroMemory(Destination, Length)

Definition at line 3926 of file ndis.h.

◆ NUMBER_OF_SINGLE_WORK_ITEMS

#define NUMBER_OF_SINGLE_WORK_ITEMS   6

Definition at line 2306 of file ndis.h.

◆ NUMBER_OF_WORK_ITEM_TYPES

#define NUMBER_OF_WORK_ITEM_TYPES   NdisMaxWorkItems

Definition at line 2305 of file ndis.h.

◆ PERMANENT_VC

#define PERMANENT_VC   0x00000001

Definition at line 1087 of file ndis.h.

◆ PROTOCOL_RESERVED_SIZE_IN_PACKET

#define PROTOCOL_RESERVED_SIZE_IN_PACKET   (4 * sizeof(PVOID))

Definition at line 1540 of file ndis.h.

◆ QUERY_CALL_PARAMETERS

#define QUERY_CALL_PARAMETERS   0x00000004

Definition at line 1089 of file ndis.h.

◆ READABLE_LOCAL_CLOCK

#define READABLE_LOCAL_CLOCK   0x00000001

Definition at line 655 of file ndis.h.

◆ RECEIVE_TIME_INDICATION

#define RECEIVE_TIME_INDICATION   0x00000001

Definition at line 1069 of file ndis.h.

◆ RECEIVE_TIME_INDICATION_CAPABLE

#define RECEIVE_TIME_INDICATION_CAPABLE   0x00000008

Definition at line 658 of file ndis.h.

◆ RECEIVE_VC

#define RECEIVE_VC   0x00000008

Definition at line 1072 of file ndis.h.

◆ RESERVE_RESOURCES_VC

#define RESERVE_RESOURCES_VC   0x00000040

Definition at line 1075 of file ndis.h.

◆ ROUND_DOWN_FLOW

#define ROUND_DOWN_FLOW   0x00000080

Definition at line 1076 of file ndis.h.

◆ ROUND_UP_FLOW

#define ROUND_UP_FLOW   0x00000100

Definition at line 1077 of file ndis.h.

◆ TIME_STAMP_CAPABLE

#define TIME_STAMP_CAPABLE   0x00000020

Definition at line 660 of file ndis.h.

◆ TIMED_SEND_CAPABLE

#define TIMED_SEND_CAPABLE   0x00000010

Definition at line 659 of file ndis.h.

◆ TRANSMIT_VC

#define TRANSMIT_VC   0x00000004

Definition at line 1071 of file ndis.h.

◆ TRUNCATED_HASH_LEN

#define TRUNCATED_HASH_LEN   12

Definition at line 1391 of file ndis.h.

◆ USE_TIME_STAMPS

#define USE_TIME_STAMPS   0x00000002

Definition at line 1070 of file ndis.h.

◆ WAN_ERROR_ALIGNMENT

#define WAN_ERROR_ALIGNMENT   0x00000020

Definition at line 1145 of file ndis.h.

◆ WAN_ERROR_BUFFEROVERRUN

#define WAN_ERROR_BUFFEROVERRUN   0x00000008

Definition at line 1143 of file ndis.h.

◆ WAN_ERROR_CRC

#define WAN_ERROR_CRC   0x00000001

Definition at line 1140 of file ndis.h.

◆ WAN_ERROR_FRAMING

#define WAN_ERROR_FRAMING   0x00000002

Definition at line 1141 of file ndis.h.

◆ WAN_ERROR_HARDWAREOVERRUN

#define WAN_ERROR_HARDWAREOVERRUN   0x00000004

Definition at line 1142 of file ndis.h.

◆ WAN_ERROR_TIMEOUT

#define WAN_ERROR_TIMEOUT   0x00000010

Definition at line 1144 of file ndis.h.

Typedef Documentation

◆ ADAPTER_SHUTDOWN_HANDLER

typedef VOID(NTAPI * ADAPTER_SHUTDOWN_HANDLER) (_In_ PVOID ShutdownContext)

Definition at line 2024 of file ndis.h.

◆ ADD_ADAPTER_HANDLER

Definition at line 6193 of file ndis.h.

◆ AddressFamily

◆ BINARY_DATA

◆ BIND_HANDLER

typedef VOID(NTAPI * BIND_HANDLER) (OUT PNDIS_STATUS Status, IN NDIS_HANDLE BindContext, IN PNDIS_STRING DeviceName, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2)

Definition at line 1843 of file ndis.h.

◆ CL_ADD_PARTY_COMPLETE_HANDLER

Definition at line 1652 of file ndis.h.

◆ CL_CALL_CONNECTED_HANDLER

typedef VOID(NTAPI * CL_CALL_CONNECTED_HANDLER) (IN NDIS_HANDLE ProtocolVcContext)

Definition at line 1689 of file ndis.h.

◆ CL_CLOSE_AF_COMPLETE_HANDLER

typedef VOID(NTAPI * CL_CLOSE_AF_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolAfContext)

Definition at line 1616 of file ndis.h.

◆ CL_CLOSE_CALL_COMPLETE_HANDLER

Definition at line 1646 of file ndis.h.

◆ CL_DEREG_SAP_COMPLETE_HANDLER

typedef VOID(NTAPI * CL_DEREG_SAP_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolSapContext)

Definition at line 1628 of file ndis.h.

◆ CL_DROP_PARTY_COMPLETE_HANDLER

typedef VOID(NTAPI * CL_DROP_PARTY_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolPartyContext)

Definition at line 1659 of file ndis.h.

◆ CL_INCOMING_CALL_HANDLER

◆ CL_INCOMING_CALL_QOS_CHANGE_HANDLER

typedef VOID(NTAPI * CL_INCOMING_CALL_QOS_CHANGE_HANDLER) (IN NDIS_HANDLE ProtocolVcContext, IN PCO_CALL_PARAMETERS CallParameters)

Definition at line 1670 of file ndis.h.

◆ CL_INCOMING_CLOSE_CALL_HANDLER

typedef VOID(NTAPI * CL_INCOMING_CLOSE_CALL_HANDLER) (IN NDIS_STATUS CloseStatus, IN NDIS_HANDLE ProtocolVcContext, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)

Definition at line 1675 of file ndis.h.

◆ CL_INCOMING_DROP_PARTY_HANDLER

typedef VOID(NTAPI * CL_INCOMING_DROP_PARTY_HANDLER) (IN NDIS_STATUS DropStatus, IN NDIS_HANDLE ProtocolPartyContext, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)

Definition at line 1682 of file ndis.h.

◆ CL_MAKE_CALL_COMPLETE_HANDLER

◆ CL_MODIFY_CALL_QOS_COMPLETE_HANDLER

typedef VOID(NTAPI * CL_MODIFY_CALL_QOS_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolVcContext, IN PCO_CALL_PARAMETERS CallParameters)

Definition at line 1640 of file ndis.h.

◆ CL_OPEN_AF_COMPLETE_HANDLER

typedef VOID(* CL_OPEN_AF_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE ProtocolAfContext, IN NDIS_HANDLE NdisAfHandle)

Definition at line 1611 of file ndis.h.

◆ CL_REG_SAP_COMPLETE_HANDLER

Definition at line 1621 of file ndis.h.

◆ CLOSE_ADAPTER_COMPLETE_HANDLER

typedef VOID(NTAPI * CLOSE_ADAPTER_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status)

Definition at line 1730 of file ndis.h.

◆ CLOSE_ADAPTER_HANDLER

typedef NDIS_STATUS(NTAPI * CLOSE_ADAPTER_HANDLER) (IN NDIS_HANDLE MacBindingHandle)

Definition at line 6180 of file ndis.h.

◆ CM_ACTIVATE_VC_COMPLETE_HANDLER

typedef VOID(NTAPI * CM_ACTIVATE_VC_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE CallMgrVcContext, IN PCO_CALL_PARAMETERS CallParameters)

Definition at line 1459 of file ndis.h.

◆ CM_ADD_PARTY_HANDLER

Definition at line 1465 of file ndis.h.

◆ CM_CLOSE_AF_HANDLER

typedef NDIS_STATUS(NTAPI * CM_CLOSE_AF_HANDLER) (IN NDIS_HANDLE CallMgrAfContext)

Definition at line 1472 of file ndis.h.

◆ CM_CLOSE_CALL_HANDLER

typedef NDIS_STATUS(NTAPI * CM_CLOSE_CALL_HANDLER) (IN NDIS_HANDLE CallMgrVcContext, IN NDIS_HANDLE CallMgrPartyContext OPTIONAL, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)

Definition at line 1476 of file ndis.h.

◆ CM_DEACTIVATE_VC_COMPLETE_HANDLER

typedef VOID(NTAPI * CM_DEACTIVATE_VC_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE CallMgrVcContext)

Definition at line 1487 of file ndis.h.

◆ CM_DEREG_SAP_HANDLER

typedef NDIS_STATUS(NTAPI * CM_DEREG_SAP_HANDLER) (IN NDIS_HANDLE CallMgrSapContext)

Definition at line 1483 of file ndis.h.

◆ CM_DROP_PARTY_HANDLER

typedef NDIS_STATUS(NTAPI * CM_DROP_PARTY_HANDLER) (IN NDIS_HANDLE CallMgrPartyContext, IN PVOID CloseData OPTIONAL, IN UINT Size OPTIONAL)

Definition at line 1492 of file ndis.h.

◆ CM_INCOMING_CALL_COMPLETE_HANDLER

typedef VOID(NTAPI * CM_INCOMING_CALL_COMPLETE_HANDLER) (IN NDIS_STATUS Status, IN NDIS_HANDLE CallMgrVcContext, IN PCO_CALL_PARAMETERS CallParameters)

Definition at line 1498 of file ndis.h.

◆ CM_MAKE_CALL_HANDLER

◆ CM_MODIFY_CALL_QOS_HANDLER

typedef NDIS_STATUS(NTAPI * CM_MODIFY_CALL_QOS_HANDLER) (IN NDIS_HANDLE CallMgrVcContext, IN PCO_CALL_PARAMETERS CallParameters)

Definition at line 1511 of file ndis.h.

◆ CM_OPEN_AF_HANDLER

Definition at line 1516 of file ndis.h.

◆ CM_REG_SAP_HANDLER

◆ CO_ADDRESS_FAMILY

◆ CO_AF_REGISTER_NOTIFY_HANDLER

typedef PROTCOL_CO_AF_REGISTER_NOTIFY* CO_AF_REGISTER_NOTIFY_HANDLER

Definition at line 1907 of file ndis.h.

◆ CO_CALL_MANAGER_PARAMETERS

◆ CO_CALL_PARAMETERS

◆ CO_CREATE_VC_HANDLER

Definition at line 1530 of file ndis.h.

◆ CO_DELETE_VC_HANDLER

typedef NDIS_STATUS(NTAPI * CO_DELETE_VC_HANDLER) (IN NDIS_HANDLE ProtocolVcContext)

Definition at line 1536 of file ndis.h.

◆ CO_MEDIA_PARAMETERS

◆ CO_SAP

◆ CO_SPECIFIC_PARAMETERS

◆ ETH_FILTER

typedef struct _X_FILTER ETH_FILTER

Definition at line 2266 of file ndis.h.

◆ ETH_RCV_COMPLETE_HANDLER

typedef VOID(NTAPI * ETH_RCV_COMPLETE_HANDLER) (_In_ PETH_FILTER Filter)

Definition at line 2329 of file ndis.h.

◆ ETH_RCV_INDICATE_HANDLER

typedef VOID(NTAPI * ETH_RCV_INDICATE_HANDLER) (_In_ PETH_FILTER Filter, _In_ NDIS_HANDLE MacReceiveContext, _In_ PCHAR Address, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookaheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)

Definition at line 2333 of file ndis.h.

◆ FDDI_FILTER

typedef struct _X_FILTER FDDI_FILTER

Definition at line 315 of file ndis.h.

◆ FDDI_RCV_COMPLETE_HANDLER

typedef VOID(NTAPI * FDDI_RCV_COMPLETE_HANDLER) (IN PFDDI_FILTER Filter)

Definition at line 2344 of file ndis.h.

◆ FDDI_RCV_INDICATE_HANDLER

typedef VOID(NTAPI * FDDI_RCV_INDICATE_HANDLER) (IN PFDDI_FILTER Filter, IN NDIS_HANDLE MacReceiveContext, IN PCHAR Address, IN UINT AddressLength, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookaheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize)

Definition at line 2348 of file ndis.h.

◆ FILTER_PACKET_INDICATION_HANDLER

typedef VOID(NTAPI * FILTER_PACKET_INDICATION_HANDLER) (_In_ NDIS_HANDLE Miniport, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)

Definition at line 2360 of file ndis.h.

◆ FILTERDBS

◆ LOCK_STATE

◆ MEDIA_SPECIFIC_INFORMATION

◆ NDIS30_MINIPORT_CHARACTERISTICS

◆ NDIS30_PROTOCOL_CHARACTERISTICS

◆ NDIS40_MINIPORT_CHARACTERISTICS

◆ NDIS40_PROTOCOL_CHARACTERISTICS

◆ NDIS50_MINIPORT_CHARACTERISTICS

◆ NDIS50_PROTOCOL_CHARACTERISTICS

◆ NDIS51_MINIPORT_CHARACTERISTICS

◆ NDIS_AF

typedef ULONG NDIS_AF

Definition at line 1036 of file ndis.h.

◆ NDIS_AF_LIST

typedef struct _NDIS_AF_LIST NDIS_AF_LIST

Definition at line 2265 of file ndis.h.

◆ NDIS_ANSI_STRING

Definition at line 340 of file ndis.h.

◆ NDIS_BIND_PATHS

◆ NDIS_BLOCK_INITIALIZER

typedef VOID(NTAPI * NDIS_BLOCK_INITIALIZER) (IN PUCHAR Block, IN SIZE_T NumberOfBytes)

Definition at line 3929 of file ndis.h.

◆ NDIS_BUFFER

typedef MDL NDIS_BUFFER

Definition at line 343 of file ndis.h.

◆ NDIS_CALL_MANAGER_CHARACTERISTICS

◆ NDIS_CLASS_ID

◆ NDIS_CLIENT_CHARACTERISTICS

◆ NDIS_COMMON_OPEN_BLOCK

◆ NDIS_CONFIGURATION_PARAMETER

◆ NDIS_DEVICE_PNP_EVENT

◆ NDIS_DMA_BLOCK

◆ NDIS_DMA_DESCRIPTION

◆ NDIS_DMA_SIZE

Definition at line 878 of file ndis.h.

◆ NDIS_EISA_FUNCTION_INFORMATION

◆ NDIS_EISA_SLOT_INFORMATION

Definition at line 650 of file ndis.h.

◆ NDIS_ENCAPSULATION

◆ NDIS_ENCAPSULATION_FORMAT

◆ NDIS_ENVIRONMENT_TYPE

◆ NDIS_EVENT

◆ NDIS_HANDLE

typedef PVOID NDIS_HANDLE

Definition at line 338 of file ndis.h.

◆ NDIS_INTERFACE_TYPE

◆ NDIS_INTERRUPT

◆ NDIS_INTERRUPT_MODE

Definition at line 923 of file ndis.h.

◆ NDIS_IPSEC_PACKET_INFO

◆ NDIS_LOG

◆ NDIS_M_DEQUEUE_WORK_ITEM

typedef VOID(FASTCALL * NDIS_M_DEQUEUE_WORK_ITEM) (IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, OUT PVOID *WorkItemContext)

Definition at line 2393 of file ndis.h.

◆ NDIS_M_DRIVER_BLOCK

Definition at line 2263 of file ndis.h.

◆ NDIS_M_QUEUE_NEW_WORK_ITEM

typedef NDIS_STATUS(FASTCALL * NDIS_M_QUEUE_NEW_WORK_ITEM) (IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, IN PVOID WorkItemContext)

Definition at line 2399 of file ndis.h.

◆ NDIS_M_QUEUE_WORK_ITEM

typedef NDIS_STATUS(FASTCALL * NDIS_M_QUEUE_WORK_ITEM) (IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, IN PVOID WorkItemContext)

Definition at line 2405 of file ndis.h.

◆ NDIS_M_REQ_COMPLETE_HANDLER

typedef VOID(NTAPI * NDIS_M_REQ_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_STATUS Status)

Definition at line 2411 of file ndis.h.

◆ NDIS_M_RESET_COMPLETE_HANDLER

typedef VOID(NTAPI * NDIS_M_RESET_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_STATUS Status, _In_ BOOLEAN AddressingReset)

Definition at line 2416 of file ndis.h.

◆ NDIS_M_SEND_COMPLETE_HANDLER

Definition at line 2422 of file ndis.h.

◆ NDIS_M_SEND_RESOURCES_HANDLER

typedef VOID(NTAPI * NDIS_M_SEND_RESOURCES_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle)

Definition at line 2428 of file ndis.h.

◆ NDIS_M_START_SENDS

typedef BOOLEAN(FASTCALL * NDIS_M_START_SENDS) (_In_ PNDIS_MINIPORT_BLOCK Miniport)

Definition at line 2432 of file ndis.h.

◆ NDIS_M_STATUS_HANDLER

typedef VOID(NTAPI * NDIS_M_STATUS_HANDLER) (_In_ NDIS_HANDLE MiniportHandle, _In_ NDIS_STATUS GeneralStatus, _In_ PVOID StatusBuffer, _In_ UINT StatusBufferSize)

Definition at line 2436 of file ndis.h.

◆ NDIS_M_STS_COMPLETE_HANDLER

typedef VOID(NTAPI * NDIS_M_STS_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle)

Definition at line 2443 of file ndis.h.

◆ NDIS_M_TD_COMPLETE_HANDLER

Definition at line 2447 of file ndis.h.

◆ NDIS_MAC_CHARACTERISTICS

◆ NDIS_MAC_FRAGMENT

◆ NDIS_MAC_LINE_DOWN

◆ NDIS_MAC_LINE_UP

◆ NDIS_MCA_POS_DATA

Definition at line 649 of file ndis.h.

◆ NDIS_MINIPORT_BLOCK

Definition at line 319 of file ndis.h.

◆ NDIS_MINIPORT_CHARACTERISTICS

◆ NDIS_MINIPORT_INTERRUPT

◆ NDIS_MINIPORT_TIMER

◆ NDIS_MINIPORT_WORK_ITEM

◆ NDIS_OFFLOAD

typedef struct _NDIS_OFFLOAD NDIS_OFFLOAD

Definition at line 2264 of file ndis.h.

◆ NDIS_OPEN_BLOCK

Definition at line 2262 of file ndis.h.

◆ NDIS_PACKET

◆ NDIS_PACKET_8021Q_INFO

◆ NDIS_PACKET_EXTENSION

◆ NDIS_PACKET_OOB_DATA

◆ NDIS_PACKET_PRIVATE

◆ NDIS_PACKET_STACK

◆ NDIS_PARAMETER_TYPE

◆ NDIS_PER_PACKET_INFO

◆ NDIS_PHYSICAL_ADDRESS

Definition at line 947 of file ndis.h.

◆ NDIS_PHYSICAL_ADDRESS_UNIT

◆ NDIS_PNP_DEVICE_STATE

◆ NDIS_POWER_PROFILE

◆ NDIS_PROC

typedef VOID(NTAPI * NDIS_PROC) (struct _NDIS_WORK_ITEM *, PVOID)

Definition at line 2315 of file ndis.h.

◆ NDIS_PROCESSOR_TYPE

◆ NDIS_PROTOCOL_BLOCK

typedef struct _NDIS_PROTOCOL_BLOCK NDIS_PROTOCOL_BLOCK

Definition at line 2261 of file ndis.h.

◆ NDIS_PROTOCOL_CHARACTERISTICS

◆ NDIS_REQUEST

◆ NDIS_REQUEST_TYPE

◆ NDIS_RESOURCE_LIST

Definition at line 652 of file ndis.h.

◆ NDIS_RW_LOCK

◆ NDIS_RW_LOCK_REFCOUNT

◆ NDIS_SPIN_LOCK

◆ NDIS_STRING

Definition at line 341 of file ndis.h.

◆ NDIS_TASK

◆ NDIS_TASK_IPSEC

◆ NDIS_TASK_OFFLOAD

◆ NDIS_TASK_OFFLOAD_HEADER

◆ NDIS_TASK_TCP_IP_CHECKSUM

◆ NDIS_TASK_TCP_LARGE_SEND

◆ NDIS_TCP_IP_CHECKSUM_PACKET_INFO

◆ NDIS_TIMER

◆ NDIS_WAN_CO_FRAGMENT

◆ NDIS_WAN_FRAGMENT

◆ NDIS_WAN_GET_STATS

◆ NDIS_WAN_LINE_DOWN

◆ NDIS_WAN_LINE_UP

◆ NDIS_WAN_MAC_CHARACTERISTICS

◆ NDIS_WAN_PACKET

◆ NDIS_WM_SEND_COMPLETE_HANDLER

typedef VOID(NTAPI * NDIS_WM_SEND_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ PVOID Packet, _In_ NDIS_STATUS Status)

Definition at line 2454 of file ndis.h.

◆ NDIS_WORK_ITEM

◆ NDIS_WORK_ITEM_TYPE

◆ NDIS_WRAPPER_HANDLE

typedef struct _NDIS_WRAPPER_HANDLE NDIS_WRAPPER_HANDLE

Definition at line 2260 of file ndis.h.

◆ NULL_FILTER

typedef struct _X_FILTER NULL_FILTER

Definition at line 317 of file ndis.h.

◆ OID_LIST

typedef struct _OID_LIST OID_LIST

Definition at line 986 of file ndis.h.

◆ OPEN_ADAPTER_COMPLETE_HANDLER

Definition at line 1724 of file ndis.h.

◆ OPEN_ADAPTER_HANDLER

typedef NDIS_STATUS(* OPEN_ADAPTER_HANDLER) (OUT PNDIS_STATUS OpenErrorStatus, OUT NDIS_HANDLE *MacBindingHandle, OUT PUINT SelectedMediumIndex, IN PNDIS_MEDIUM MediumArray, IN UINT MediumArraySize, IN NDIS_HANDLE NdisBindingContext, IN NDIS_HANDLE MacAdapterContext, IN UINT OpenOptions, IN PSTRING AddressingInformation OPTIONAL)

Definition at line 6169 of file ndis.h.

◆ PCO_ADDRESS_FAMILY

◆ PCO_CALL_MANAGER_PARAMETERS

◆ PCO_CALL_PARAMETERS

◆ PCO_MEDIA_PARAMETERS

◆ PCO_SAP

typedef struct _CO_SAP * PCO_SAP

◆ PCO_SPECIFIC_PARAMETERS

◆ PETH_FILTER

typedef struct _X_FILTER * PETH_FILTER

Definition at line 2266 of file ndis.h.

◆ PFDDI_FILTER

typedef struct _X_FILTER * PFDDI_FILTER

Definition at line 315 of file ndis.h.

◆ PFILTERDBS

◆ PLOCK_STATE

◆ PMEDIA_SPECIFIC_INFORMATION

◆ PNDIS30_PROTOCOL_CHARACTERISTICS

◆ PNDIS40_MINIPORT_CHARACTERISTICS

◆ PNDIS_AF

typedef ULONG * PNDIS_AF

Definition at line 1036 of file ndis.h.

◆ PNDIS_AF_LIST

typedef struct _NDIS_AF_LIST * PNDIS_AF_LIST

Definition at line 2265 of file ndis.h.

◆ PNDIS_ANSI_STRING

Definition at line 340 of file ndis.h.

◆ PNDIS_BIND_PATHS

◆ PNDIS_BUFFER

typedef MDL * PNDIS_BUFFER

Definition at line 343 of file ndis.h.

◆ PNDIS_CALL_MANAGER_CHARACTERISTICS

◆ PNDIS_CLIENT_CHARACTERISTICS

◆ PNDIS_CONFIGURATION_PARAMETER

◆ PNDIS_DEFERRED_PROCESSING

typedef VOID(NTAPI * PNDIS_DEFERRED_PROCESSING) (IN PVOID SystemSpecific1, IN PVOID InterruptContext, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)

Definition at line 2253 of file ndis.h.

◆ PNDIS_DEVICE_PNP_EVENT

◆ PNDIS_DMA_BLOCK

◆ PNDIS_DMA_DESCRIPTION

◆ PNDIS_EISA_FUNCTION_INFORMATION

◆ PNDIS_EISA_SLOT_INFORMATION

Definition at line 650 of file ndis.h.

◆ PNDIS_ENCAPSULATION_FORMAT

◆ PNDIS_ENVIRONMENT_TYPE

◆ PNDIS_EVENT

◆ PNDIS_HANDLE

typedef PVOID * PNDIS_HANDLE

Definition at line 338 of file ndis.h.

◆ PNDIS_INTERFACE_TYPE

◆ PNDIS_INTERRUPT

◆ PNDIS_INTERRUPT_MODE

Definition at line 923 of file ndis.h.

◆ PNDIS_INTERRUPT_SERVICE

typedef BOOLEAN(NTAPI * PNDIS_INTERRUPT_SERVICE) (IN PVOID InterruptContext)

Definition at line 2249 of file ndis.h.

◆ PNDIS_IPSEC_PACKET_INFO

◆ PNDIS_LOG

◆ PNDIS_M_DRIVER_BLOCK

Definition at line 2263 of file ndis.h.

◆ PNDIS_MAC_CHARACTERISTICS

◆ PNDIS_MAC_FRAGMENT

◆ PNDIS_MAC_LINE_DOWN

◆ PNDIS_MAC_LINE_UP

◆ PNDIS_MCA_POS_DATA

Definition at line 649 of file ndis.h.

◆ PNDIS_MINIPORT_BLOCK

Definition at line 319 of file ndis.h.

◆ PNDIS_MINIPORT_CHARACTERISTICS

◆ PNDIS_MINIPORT_INTERRUPT

◆ PNDIS_MINIPORT_TIMER

◆ PNDIS_MINIPORT_WORK_ITEM

◆ PNDIS_OFFLOAD

typedef struct _NDIS_OFFLOAD * PNDIS_OFFLOAD

Definition at line 2264 of file ndis.h.

◆ PNDIS_OPEN_BLOCK

Definition at line 2262 of file ndis.h.

◆ PNDIS_PACKET

◆ PNDIS_PACKET_8021Q_INFO

◆ PNDIS_PACKET_EXTENSION

◆ PNDIS_PACKET_OOB_DATA

◆ PNDIS_PACKET_POOL

Definition at line 719 of file ndis.h.

◆ PNDIS_PACKET_PRIVATE

◆ PNDIS_PACKET_STACK

◆ PNDIS_PARAMETER_TYPE

◆ PNDIS_PER_PACKET_INFO

◆ PNDIS_PHYSICAL_ADDRESS

Definition at line 947 of file ndis.h.

◆ PNDIS_PHYSICAL_ADDRESS_UNIT

◆ PNDIS_POWER_PROFILE

◆ PNDIS_PROCESSOR_TYPE

◆ PNDIS_PROTOCOL_BLOCK

typedef struct _NDIS_PROTOCOL_BLOCK * PNDIS_PROTOCOL_BLOCK

Definition at line 2261 of file ndis.h.

◆ PNDIS_PROTOCOL_CHARACTERISTICS

◆ PNDIS_REQUEST

◆ PNDIS_REQUEST_TYPE

◆ PNDIS_RESOURCE_LIST

Definition at line 652 of file ndis.h.

◆ PNDIS_RW_LOCK

◆ PNDIS_SPIN_LOCK

◆ PNDIS_STATUS

typedef * PNDIS_STATUS

Definition at line 45 of file ndis.h.

◆ PNDIS_STRING

Definition at line 341 of file ndis.h.

◆ PNDIS_TASK

◆ PNDIS_TASK_IPSEC

◆ PNDIS_TASK_OFFLOAD

◆ PNDIS_TASK_OFFLOAD_HEADER

◆ PNDIS_TASK_TCP_IP_CHECKSUM

◆ PNDIS_TASK_TCP_LARGE_SEND

◆ PNDIS_TCP_IP_CHECKSUM_PACKET_INFO

◆ PNDIS_TIMER

◆ PNDIS_TIMER_FUNCTION

typedef NDIS_TIMER_FUNCTION* PNDIS_TIMER_FUNCTION

Definition at line 640 of file ndis.h.

◆ PNDIS_WAN_CO_FRAGMENT

◆ PNDIS_WAN_FRAGMENT

◆ PNDIS_WAN_GET_STATS

◆ PNDIS_WAN_LINE_DOWN

◆ PNDIS_WAN_LINE_UP

◆ PNDIS_WAN_MAC_CHARACTERISTICS

◆ PNDIS_WAN_PACKET

◆ PNDIS_WORK_ITEM

◆ PNDIS_WORK_ITEM_TYPE

◆ PNDIS_WRAPPER_HANDLE

typedef struct _NDIS_WRAPPER_HANDLE * PNDIS_WRAPPER_HANDLE

Definition at line 2260 of file ndis.h.

◆ PNP_EVENT_HANDLER

Definition at line 1857 of file ndis.h.

◆ PNULL_FILTER

typedef struct _X_FILTER * PNULL_FILTER

Definition at line 317 of file ndis.h.

◆ POID_LIST

typedef struct _OID_LIST * POID_LIST

Definition at line 986 of file ndis.h.

◆ PPNDIS_PACKET

◆ PREFERENCE

◆ PSNDIS30_MINIPORT_CHARACTERISTICS

◆ PSNDIS50_MINIPORT_CHARACTERISTICS

◆ PSNDIS51_MINIPORT_CHARACTERISTICS

◆ PTR_FILTER

typedef struct _X_FILTER * PTR_FILTER

Definition at line 316 of file ndis.h.

◆ PUINT

typedef unsigned int * PUINT

Definition at line 50 of file ndis.h.

◆ PWAN_CO_LINKPARAMS

◆ QUERY_GLOBAL_STATISTICS_HANDLER

typedef NDIS_STATUS(NTAPI * QUERY_GLOBAL_STATISTICS_HANDLER) (IN NDIS_HANDLE MacAdapterContext, IN PNDIS_REQUEST NdisRequest)

Definition at line 6186 of file ndis.h.

◆ RECEIVE_COMPLETE_HANDLER

typedef VOID(NTAPI * RECEIVE_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext)

Definition at line 1796 of file ndis.h.

◆ RECEIVE_HANDLER

typedef NDIS_STATUS(NTAPI * RECEIVE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_HANDLE MacReceiveContext, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookAheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)

Definition at line 1780 of file ndis.h.

◆ RECEIVE_PACKET_HANDLER

typedef INT(NTAPI * RECEIVE_PACKET_HANDLER) (IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET Packet)

Definition at line 1838 of file ndis.h.

◆ REFERENCE

◆ REMOVE_ADAPTER_HANDLER

typedef VOID(* REMOVE_ADAPTER_HANDLER) (IN NDIS_HANDLE MacAdapterContext)

Definition at line 6198 of file ndis.h.

◆ REQUEST_COMPLETE_HANDLER

Definition at line 1740 of file ndis.h.

◆ REQUEST_HANDLER

Definition at line 2722 of file ndis.h.

◆ RESET_COMPLETE_HANDLER

typedef VOID(NTAPI * RESET_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext, _In_ NDIS_STATUS Status)

Definition at line 1735 of file ndis.h.

◆ RESET_HANDLER

typedef NDIS_STATUS(NTAPI * RESET_HANDLER) (_In_ NDIS_HANDLE NdisBindingHandle)

Definition at line 2718 of file ndis.h.

◆ SEND_COMPLETE_HANDLER

Definition at line 1757 of file ndis.h.

◆ SEND_HANDLER

Definition at line 2704 of file ndis.h.

◆ SEND_PACKETS_HANDLER

typedef VOID(NTAPI * SEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)

Definition at line 2698 of file ndis.h.

◆ STATUS_COMPLETE_HANDLER

typedef VOID(NTAPI * STATUS_COMPLETE_HANDLER) (_In_ NDIS_HANDLE ProtocolBindingContext)

Definition at line 1753 of file ndis.h.

◆ STATUS_HANDLER

◆ TDI_PNP_HANDLER

typedef NTSTATUS(NTAPI * TDI_PNP_HANDLER) (_In_ PUNICODE_STRING UpperComponent, _In_ PUNICODE_STRING LowerComponent, _In_ PUNICODE_STRING BindList, _In_ PVOID ReconfigBuffer, _In_ UINT ReconfigBufferSize, _In_ UINT Operation)

Definition at line 977 of file ndis.h.

◆ TDI_REGISTER_CALLBACK

typedef NTSTATUS(NTAPI * TDI_REGISTER_CALLBACK) (_In_ PUNICODE_STRING DeviceName, _Out_ HANDLE *TdiHandle)

Definition at line 972 of file ndis.h.

◆ TR_FILTER

typedef struct _X_FILTER TR_FILTER

Definition at line 316 of file ndis.h.

◆ TR_RCV_COMPLETE_HANDLER

typedef VOID(NTAPI * TR_RCV_COMPLETE_HANDLER) (_In_ PTR_FILTER Filter)

Definition at line 2366 of file ndis.h.

◆ TR_RCV_INDICATE_HANDLER

typedef VOID(NTAPI * TR_RCV_INDICATE_HANDLER) (_In_ PTR_FILTER Filter, _In_ NDIS_HANDLE MacReceiveContext, _In_ PVOID HeaderBuffer, _In_ UINT HeaderBufferSize, _In_ PVOID LookaheadBuffer, _In_ UINT LookaheadBufferSize, _In_ UINT PacketSize)

Definition at line 2370 of file ndis.h.

◆ TRANSFER_DATA_COMPLETE_HANDLER

Definition at line 1769 of file ndis.h.

◆ TRANSFER_DATA_HANDLER

typedef NDIS_STATUS(NTAPI * TRANSFER_DATA_HANDLER) (_In_ NDIS_HANDLE NdisBindingHandle, _In_ NDIS_HANDLE MacReceiveContext, _In_ UINT ByteOffset, _In_ UINT BytesToTransfer, _Out_ PNDIS_PACKET Packet, _Out_ PUINT BytesTransferred)

Definition at line 2709 of file ndis.h.

◆ UINT

typedef UINT = NULL

Definition at line 50 of file ndis.h.

◆ UNBIND_HANDLER

typedef VOID(NTAPI * UNBIND_HANDLER) (OUT PNDIS_STATUS Status, IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_HANDLE UnbindContext)

Definition at line 1851 of file ndis.h.

◆ UNLOAD_MAC_HANDLER

typedef VOID(NTAPI * UNLOAD_MAC_HANDLER) (IN NDIS_HANDLE MacMacContext)

Definition at line 6190 of file ndis.h.

◆ UNLOAD_PROTOCOL_HANDLER

typedef VOID(NTAPI * UNLOAD_PROTOCOL_HANDLER) (VOID)

Definition at line 1862 of file ndis.h.

◆ W_ALLOCATE_COMPLETE_HANDLER

typedef VOID(NTAPI * W_ALLOCATE_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PVOID VirtualAddress, _In_ PNDIS_PHYSICAL_ADDRESS PhysicalAddress, _In_ ULONG Length, _In_ PVOID Context)

Definition at line 2039 of file ndis.h.

◆ W_CANCEL_SEND_PACKETS_HANDLER

typedef VOID(NTAPI * W_CANCEL_SEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PVOID CancelId)

Definition at line 2168 of file ndis.h.

◆ W_CHECK_FOR_HANG_HANDLER

typedef BOOLEAN(NTAPI * W_CHECK_FOR_HANG_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1936 of file ndis.h.

◆ W_CO_ACTIVATE_VC_HANDLER

typedef MINIPORT_CO_ACTIVATE_VC* W_CO_ACTIVATE_VC_HANDLER

Definition at line 2117 of file ndis.h.

◆ W_CO_CREATE_VC_HANDLER

typedef MINIPORT_CO_CREATE_VC* W_CO_CREATE_VC_HANDLER

Definition at line 2102 of file ndis.h.

◆ W_CO_DEACTIVATE_VC_HANDLER

typedef MINIPORT_CO_DEACTIVATE_VC* W_CO_DEACTIVATE_VC_HANDLER

Definition at line 2124 of file ndis.h.

◆ W_CO_DELETE_VC_HANDLER

typedef MINIPORT_CO_DELETE_VC* W_CO_DELETE_VC_HANDLER

Definition at line 2109 of file ndis.h.

◆ W_CO_REQUEST_HANDLER

typedef NDIS_STATUS(NTAPI * W_CO_REQUEST_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_opt_ NDIS_HANDLE MiniportVcContext, _Inout_ PNDIS_REQUEST NdisRequest)

Definition at line 2132 of file ndis.h.

◆ W_CO_SEND_PACKETS_HANDLER

Definition at line 2126 of file ndis.h.

◆ W_DISABLE_INTERRUPT_HANDLER

typedef VOID(NTAPI * W_DISABLE_INTERRUPT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1940 of file ndis.h.

◆ W_ENABLE_INTERRUPT_HANDLER

typedef VOID(NTAPI * W_ENABLE_INTERRUPT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1944 of file ndis.h.

◆ W_HALT_HANDLER

typedef VOID(NTAPI * W_HALT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1948 of file ndis.h.

◆ W_HANDLE_INTERRUPT_HANDLER

typedef VOID(NTAPI * W_HANDLE_INTERRUPT_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1952 of file ndis.h.

◆ W_INITIALIZE_HANDLER

Definition at line 1956 of file ndis.h.

◆ W_ISR_HANDLER

typedef VOID(NTAPI * W_ISR_HANDLER) (_Out_ PBOOLEAN InterruptRecognized, _Out_ PBOOLEAN QueueMiniportHandleInterrupt, _In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1965 of file ndis.h.

◆ W_MINIPORT_CALLBACK

typedef VOID(NTAPI * W_MINIPORT_CALLBACK) (IN NDIS_HANDLE MiniportAdapterContext, IN PVOID CallbackContext)

Definition at line 5885 of file ndis.h.

◆ W_MINIPORT_SHUTDOWN_HANDLER

typedef VOID(NTAPI * W_MINIPORT_SHUTDOWN_HANDLER) (_In_ PVOID ShutdownContext)

Definition at line 2180 of file ndis.h.

◆ W_PNP_EVENT_NOTIFY_HANDLER

typedef VOID(NTAPI * W_PNP_EVENT_NOTIFY_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_DEVICE_PNP_EVENT PnPEvent, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength)

Definition at line 2173 of file ndis.h.

◆ W_QUERY_INFORMATION_HANDLER

typedef NDIS_STATUS(NTAPI * W_QUERY_INFORMATION_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_OID Oid, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength, _Out_ PULONG BytesWritten, _Out_ PULONG BytesNeeded)

Definition at line 1971 of file ndis.h.

◆ W_RECONFIGURE_HANDLER

typedef NDIS_STATUS(NTAPI * W_RECONFIGURE_HANDLER) (_Out_ PNDIS_STATUS OpenErrorStatus, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE WrapperConfigurationContext)

Definition at line 1980 of file ndis.h.

◆ W_RESET_HANDLER

typedef NDIS_STATUS(NTAPI * W_RESET_HANDLER) (_Out_ PBOOLEAN AddressingReset, _In_ NDIS_HANDLE MiniportAdapterContext)

Definition at line 1986 of file ndis.h.

◆ W_RETURN_PACKET_HANDLER

typedef VOID(NTAPI * W_RETURN_PACKET_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet)

Definition at line 2028 of file ndis.h.

◆ W_SEND_HANDLER

typedef NDIS_STATUS(NTAPI * W_SEND_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet, _In_ UINT Flags)

Definition at line 1991 of file ndis.h.

◆ W_SEND_PACKETS_HANDLER

typedef VOID(NTAPI * W_SEND_PACKETS_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PPNDIS_PACKET PacketArray, _In_ UINT NumberOfPackets)

Definition at line 2033 of file ndis.h.

◆ W_SET_INFORMATION_HANDLER

typedef NDIS_STATUS(NTAPI * W_SET_INFORMATION_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_OID Oid, _In_ PVOID InformationBuffer, _In_ ULONG InformationBufferLength, _Out_ PULONG BytesRead, _Out_ PULONG BytesNeeded)

Definition at line 2003 of file ndis.h.

◆ W_TRANSFER_DATA_HANDLER

typedef NDIS_STATUS(NTAPI * W_TRANSFER_DATA_HANDLER) (_Out_ PNDIS_PACKET Packet, _Out_ PUINT BytesTransferred, _In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE MiniportReceiveContext, _In_ UINT ByteOffset, _In_ UINT BytesToTransfer)

Definition at line 2012 of file ndis.h.

◆ WAN_CO_LINKPARAMS

◆ WAN_RCV_COMPLETE_HANDLER

typedef VOID(NTAPI * WAN_RCV_COMPLETE_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterHandle, _In_ NDIS_HANDLE NdisLinkContext)

Definition at line 2380 of file ndis.h.

◆ WAN_RCV_HANDLER

Definition at line 2385 of file ndis.h.

◆ WAN_RECEIVE_HANDLER

typedef NDIS_STATUS(NTAPI * WAN_RECEIVE_HANDLER) (_In_ NDIS_HANDLE NdisLinkHandle, _In_ PUCHAR Packet, _In_ ULONG PacketSize)

Definition at line 1790 of file ndis.h.

◆ WAN_SEND_COMPLETE_HANDLER

Definition at line 1763 of file ndis.h.

◆ WAN_SEND_HANDLER

typedef NDIS_STATUS(NTAPI * WAN_SEND_HANDLER) (_In_ NDIS_HANDLE MacBindingHandle, _In_ NDIS_HANDLE LinkHandle, _In_ PVOID Packet)

Definition at line 2692 of file ndis.h.

◆ WAN_TRANSFER_DATA_COMPLETE_HANDLER

typedef VOID(NTAPI * WAN_TRANSFER_DATA_COMPLETE_HANDLER) (VOID)

Definition at line 1776 of file ndis.h.

◆ WAN_TRANSFER_DATA_HANDLER

typedef NDIS_STATUS(NTAPI * WAN_TRANSFER_DATA_HANDLER) (VOID)

Definition at line 6183 of file ndis.h.

◆ WM_SEND_HANDLER

typedef NDIS_STATUS(NTAPI * WM_SEND_HANDLER) (_In_ NDIS_HANDLE MiniportAdapterContext, _In_ NDIS_HANDLE NdisLinkHandle, _In_ PNDIS_WAN_PACKET Packet)

Definition at line 1997 of file ndis.h.

◆ WM_TRANSFER_DATA_HANDLER

typedef NDIS_STATUS(NTAPI * WM_TRANSFER_DATA_HANDLER) (VOID)

Definition at line 2021 of file ndis.h.

Enumeration Type Documentation

◆ _NDIS_CLASS_ID

Enumerator
NdisClass802_3Priority 
NdisClassWirelessWanMbxMailbox 
NdisClassIrdaPacketInfo 
NdisClassAtmAALInfo 

Definition at line 760 of file ndis.h.

760 {
enum _NDIS_CLASS_ID NDIS_CLASS_ID
@ NdisClassAtmAALInfo
Definition: ndis.h:764
@ NdisClassWirelessWanMbxMailbox
Definition: ndis.h:762
@ NdisClassIrdaPacketInfo
Definition: ndis.h:763
@ NdisClass802_3Priority
Definition: ndis.h:761

◆ _NDIS_DEVICE_PNP_EVENT

Enumerator
NdisDevicePnPEventQueryRemoved 
NdisDevicePnPEventRemoved 
NdisDevicePnPEventSurpriseRemoved 
NdisDevicePnPEventQueryStopped 
NdisDevicePnPEventStopped 
NdisDevicePnPEventPowerProfileChanged 
NdisDevicePnPEventMaximum 

Definition at line 999 of file ndis.h.

999 {
1006#if NDIS_SUPPORT_NDIS6
1007 NdisDevicePnPEventFilterListChanged,
1008#endif /* NDIS_SUPPORT_NDIS6 */
enum _NDIS_DEVICE_PNP_EVENT NDIS_DEVICE_PNP_EVENT
@ NdisDevicePnPEventRemoved
Definition: ndis.h:1001
@ NdisDevicePnPEventQueryStopped
Definition: ndis.h:1003
@ NdisDevicePnPEventPowerProfileChanged
Definition: ndis.h:1005
@ NdisDevicePnPEventStopped
Definition: ndis.h:1004
@ NdisDevicePnPEventQueryRemoved
Definition: ndis.h:1000
@ NdisDevicePnPEventMaximum
Definition: ndis.h:1009
@ NdisDevicePnPEventSurpriseRemoved
Definition: ndis.h:1002
enum _NDIS_DEVICE_PNP_EVENT * PNDIS_DEVICE_PNP_EVENT

◆ _NDIS_ENCAPSULATION

Enumerator
UNSPECIFIED_Encapsulation 
NULL_Encapsulation 
IEEE_802_3_Encapsulation 
IEEE_802_5_Encapsulation 
LLC_SNAP_ROUTED_Encapsulation 
LLC_SNAP_BRIDGED_Encapsulation 

Definition at line 1206 of file ndis.h.

1206 {
@ LLC_SNAP_ROUTED_Encapsulation
Definition: ndis.h:1211
@ NULL_Encapsulation
Definition: ndis.h:1208
@ LLC_SNAP_BRIDGED_Encapsulation
Definition: ndis.h:1212
@ UNSPECIFIED_Encapsulation
Definition: ndis.h:1207
@ IEEE_802_3_Encapsulation
Definition: ndis.h:1209
@ IEEE_802_5_Encapsulation
Definition: ndis.h:1210
enum _NDIS_ENCAPSULATION NDIS_ENCAPSULATION

◆ _NDIS_ENVIRONMENT_TYPE

Enumerator
NdisEnvironmentWindows 
NdisEnvironmentWindowsNt 

Definition at line 893 of file ndis.h.

893 {
enum _NDIS_ENVIRONMENT_TYPE * PNDIS_ENVIRONMENT_TYPE
@ NdisEnvironmentWindows
Definition: ndis.h:894
@ NdisEnvironmentWindowsNt
Definition: ndis.h:895
enum _NDIS_ENVIRONMENT_TYPE NDIS_ENVIRONMENT_TYPE

◆ _NDIS_INTERFACE_TYPE

Enumerator
NdisInterfaceInternal 
NdisInterfaceIsa 
NdisInterfaceEisa 
NdisInterfaceMca 
NdisInterfaceTurboChannel 
NdisInterfacePci 
NdisInterfacePcMcia 
NdisInterfaceCBus 
NdisInterfaceMPIBus 
NdisInterfaceMPSABus 
NdisInterfaceProcessorInternal 
NdisInterfaceInternalPowerBus 
NdisInterfacePNPISABus 
NdisInterfacePNPBus 
NdisInterfaceUSB 
NdisInterfaceIrda 
NdisInterface1394 
NdisMaximumInterfaceType 

Definition at line 899 of file ndis.h.

899 {
@ Eisa
Definition: hwresource.cpp:139
@ CBus
Definition: hwresource.cpp:146
@ TurboChannel
Definition: hwresource.cpp:141
@ PNPBus
Definition: hwresource.cpp:152
@ PCIBus
Definition: hwresource.cpp:142
@ MPIBus
Definition: hwresource.cpp:147
@ InternalPowerBus
Definition: hwresource.cpp:150
@ MPSABus
Definition: hwresource.cpp:148
@ Internal
Definition: hwresource.cpp:137
@ MicroChannel
Definition: hwresource.cpp:140
@ PNPISABus
Definition: hwresource.cpp:151
@ ProcessorInternal
Definition: hwresource.cpp:149
@ Isa
Definition: hwresource.cpp:138
@ PCMCIABus
Definition: hwresource.cpp:145
enum _NDIS_INTERFACE_TYPE * PNDIS_INTERFACE_TYPE
enum _NDIS_INTERFACE_TYPE NDIS_INTERFACE_TYPE
@ NdisInterfaceIrda
Definition: ndis.h:915
@ NdisInterfaceIsa
Definition: ndis.h:901
@ NdisInterfaceUSB
Definition: ndis.h:914
@ NdisInterfaceInternal
Definition: ndis.h:900
@ NdisInterfaceInternalPowerBus
Definition: ndis.h:911
@ NdisInterfacePci
Definition: ndis.h:905
@ NdisInterfaceProcessorInternal
Definition: ndis.h:910
@ NdisInterfaceTurboChannel
Definition: ndis.h:904
@ NdisInterface1394
Definition: ndis.h:916
@ NdisMaximumInterfaceType
Definition: ndis.h:917
@ NdisInterfacePNPBus
Definition: ndis.h:913
@ NdisInterfaceMca
Definition: ndis.h:903
@ NdisInterfaceEisa
Definition: ndis.h:902
@ NdisInterfacePcMcia
Definition: ndis.h:906
@ NdisInterfaceMPSABus
Definition: ndis.h:909
@ NdisInterfacePNPISABus
Definition: ndis.h:912
@ NdisInterfaceCBus
Definition: ndis.h:907
@ NdisInterfaceMPIBus
Definition: ndis.h:908

◆ _NDIS_PARAMETER_TYPE

Enumerator
NdisParameterInteger 
NdisParameterHexInteger 
NdisParameterString 
NdisParameterMultiString 
NdisParameterBinary 

Definition at line 925 of file ndis.h.

925 {
@ NdisParameterBinary
Definition: ndis.h:930
@ NdisParameterInteger
Definition: ndis.h:926
@ NdisParameterString
Definition: ndis.h:928
@ NdisParameterMultiString
Definition: ndis.h:929
@ NdisParameterHexInteger
Definition: ndis.h:927
enum _NDIS_PARAMETER_TYPE * PNDIS_PARAMETER_TYPE
enum _NDIS_PARAMETER_TYPE NDIS_PARAMETER_TYPE

◆ _NDIS_PER_PACKET_INFO

Enumerator
TcpIpChecksumPacketInfo 
IpSecPacketInfo 
TcpLargeSendPacketInfo 
ClassificationHandlePacketInfo 
NdisReserved 
ScatterGatherListPacketInfo 
Ieee8021QInfo 
OriginalPacketInfo 
PacketCancelId 
OriginalNetBufferList 
CachedNetBufferList 
ShortPacketPaddingInfo 
MaxPerPacketInfo 

Definition at line 1177 of file ndis.h.

1177 {
@ ClassificationHandlePacketInfo
Definition: ndis.h:1181
@ MaxPerPacketInfo
Definition: ndis.h:1190
@ OriginalNetBufferList
Definition: ndis.h:1187
@ IpSecPacketInfo
Definition: ndis.h:1179
@ TcpIpChecksumPacketInfo
Definition: ndis.h:1178
@ NdisReserved
Definition: ndis.h:1182
@ Ieee8021QInfo
Definition: ndis.h:1184
@ PacketCancelId
Definition: ndis.h:1186
@ ShortPacketPaddingInfo
Definition: ndis.h:1189
@ ScatterGatherListPacketInfo
Definition: ndis.h:1183
@ OriginalPacketInfo
Definition: ndis.h:1185
@ TcpLargeSendPacketInfo
Definition: ndis.h:1180
@ CachedNetBufferList
Definition: ndis.h:1188
enum _NDIS_PER_PACKET_INFO * PNDIS_PER_PACKET_INFO
enum _NDIS_PER_PACKET_INFO NDIS_PER_PACKET_INFO

◆ _NDIS_PNP_DEVICE_STATE

Enumerator
NdisPnPDeviceAdded 
NdisPnPDeviceStarted 
NdisPnPDeviceQueryStopped 
NdisPnPDeviceStopped 
NdisPnPDeviceQueryRemoved 
NdisPnPDeviceRemoved 
NdisPnPDeviceSurpriseRemoved 

Definition at line 989 of file ndis.h.

989 {
@ NdisPnPDeviceQueryStopped
Definition: ndis.h:992
@ NdisPnPDeviceQueryRemoved
Definition: ndis.h:994
@ NdisPnPDeviceRemoved
Definition: ndis.h:995
@ NdisPnPDeviceStopped
Definition: ndis.h:993
@ NdisPnPDeviceSurpriseRemoved
Definition: ndis.h:996
@ NdisPnPDeviceStarted
Definition: ndis.h:991
@ NdisPnPDeviceAdded
Definition: ndis.h:990
enum _NDIS_PNP_DEVICE_STATE NDIS_PNP_DEVICE_STATE

◆ _NDIS_POWER_PROFILE

Enumerator
NdisPowerProfileBattery 
NdisPowerProfileAcOnLine 

Definition at line 1013 of file ndis.h.

1013 {
enum _NDIS_POWER_PROFILE NDIS_POWER_PROFILE
@ NdisPowerProfileBattery
Definition: ndis.h:1014
@ NdisPowerProfileAcOnLine
Definition: ndis.h:1015
enum _NDIS_POWER_PROFILE * PNDIS_POWER_PROFILE

◆ _NDIS_PROCESSOR_TYPE

Enumerator
NdisProcessorX86 
NdisProcessorMips 
NdisProcessorAlpha 
NdisProcessorPpc 
NdisProcessorAmd64 
NdisProcessorIA64 

Definition at line 884 of file ndis.h.

884 {
@ NdisProcessorPpc
Definition: ndis.h:888
@ NdisProcessorAlpha
Definition: ndis.h:887
@ NdisProcessorMips
Definition: ndis.h:886
@ NdisProcessorAmd64
Definition: ndis.h:889
@ NdisProcessorIA64
Definition: ndis.h:890
@ NdisProcessorX86
Definition: ndis.h:885
enum _NDIS_PROCESSOR_TYPE * PNDIS_PROCESSOR_TYPE
enum _NDIS_PROCESSOR_TYPE NDIS_PROCESSOR_TYPE

◆ _NDIS_REQUEST_TYPE

Enumerator
NdisRequestQueryInformation 
NdisRequestSetInformation 
NdisRequestQueryStatistics 
NdisRequestOpen 
NdisRequestClose 
NdisRequestSend 
NdisRequestTransferData 
NdisRequestReset 
NdisRequestGeneric1 
NdisRequestGeneric2 
NdisRequestGeneric3 
NdisRequestGeneric4 

Definition at line 789 of file ndis.h.

789 {
802#if NDIS_SUPPORT_NDIS6
803 NdisRequestMethod,
804#endif
enum _NDIS_REQUEST_TYPE NDIS_REQUEST_TYPE
enum _NDIS_REQUEST_TYPE * PNDIS_REQUEST_TYPE
@ NdisRequestGeneric3
Definition: ndis.h:800
@ NdisRequestClose
Definition: ndis.h:794
@ NdisRequestOpen
Definition: ndis.h:793
@ NdisRequestQueryInformation
Definition: ndis.h:790
@ NdisRequestTransferData
Definition: ndis.h:796
@ NdisRequestSetInformation
Definition: ndis.h:791
@ NdisRequestGeneric4
Definition: ndis.h:801
@ NdisRequestGeneric2
Definition: ndis.h:799
@ NdisRequestQueryStatistics
Definition: ndis.h:792
@ NdisRequestReset
Definition: ndis.h:797
@ NdisRequestGeneric1
Definition: ndis.h:798
@ NdisRequestSend
Definition: ndis.h:795

◆ _NDIS_TASK

Enumerator
TcpIpChecksumNdisTask 
IpSecNdisTask 
TcpLargeSendNdisTask 
MaxNdisTask 

Definition at line 1199 of file ndis.h.

1199 {
enum _NDIS_TASK * PNDIS_TASK
enum _NDIS_TASK NDIS_TASK
@ MaxNdisTask
Definition: ndis.h:1203
@ TcpIpChecksumNdisTask
Definition: ndis.h:1200
@ TcpLargeSendNdisTask
Definition: ndis.h:1202
@ IpSecNdisTask
Definition: ndis.h:1201

◆ _NDIS_WORK_ITEM_TYPE

Enumerator
NdisWorkItemRequest 
NdisWorkItemSend 
NdisWorkItemReturnPackets 
NdisWorkItemResetRequested 
NdisWorkItemResetInProgress 
NdisWorkItemHalt 
NdisWorkItemSendLoopback 
NdisWorkItemMiniportCallback 
NdisMaxWorkItems 

Definition at line 2293 of file ndis.h.

2293 {
enum _NDIS_WORK_ITEM_TYPE * PNDIS_WORK_ITEM_TYPE
@ NdisWorkItemSendLoopback
Definition: ndis.h:2300
@ NdisWorkItemReturnPackets
Definition: ndis.h:2296
@ NdisMaxWorkItems
Definition: ndis.h:2302
@ NdisWorkItemSend
Definition: ndis.h:2295
@ NdisWorkItemRequest
Definition: ndis.h:2294
@ NdisWorkItemHalt
Definition: ndis.h:2299
@ NdisWorkItemResetInProgress
Definition: ndis.h:2298
@ NdisWorkItemMiniportCallback
Definition: ndis.h:2301
@ NdisWorkItemResetRequested
Definition: ndis.h:2297
enum _NDIS_WORK_ITEM_TYPE NDIS_WORK_ITEM_TYPE

Function Documentation

◆ __drv_allocatesMem()

__drv_allocatesMem ( Mem  )

Definition at line 37 of file exfuncs.h.

1484{
1485 PVOID Entry;
1486
1487 Lookaside->L.TotalAllocates++;
1488#ifdef NONAMELESSUNION
1489#if defined(_WIN2K_COMPAT_SLIST_USAGE) && defined(_X86_)
1491 &Lookaside->Lock__ObsoleteButDoNotDelete);
1492#else
1493 Entry = InterlockedPopEntrySList(&Lookaside->L.u.ListHead);
1494#endif
1495 if (Entry == NULL) {
1496 Lookaside->L.u2.AllocateMisses++;
1497 Entry = (Lookaside->L.u4.Allocate)(Lookaside->L.Type,
1498 Lookaside->L.Size,
1499 Lookaside->L.Tag);
1500 }
1501#else /* NONAMELESSUNION */
1502#if defined(_WIN2K_COMPAT_SLIST_USAGE) && defined(_X86_)
1504 &Lookaside->Lock__ObsoleteButDoNotDelete);
1505#else
1507#endif
1508 if (Entry == NULL) {
1509 Lookaside->L.AllocateMisses++;
1510 Entry = (Lookaside->L.Allocate)(Lookaside->L.Type,
1511 Lookaside->L.Size,
1512 Lookaside->L.Tag);
1513 }
1514#endif /* NONAMELESSUNION */
1515 return Entry;
1516}
base of all file and directory entries
Definition: entries.h:83
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_opt_ ULONG _Out_ WDFLOOKASIDE * Lookaside
Definition: wdfmemory.h:414
_In_ PVOID Entry
Definition: exfuncs.h:229
#define ExInterlockedPopEntrySList(SListHead, Lock)
Definition: exfuncs.h:166
#define InterlockedPopEntrySList(SListHead)
Definition: rtlfuncs.h:3409

◆ __drv_Mode_impl()

__drv_Mode_impl ( NDIS_INCLUDED  )

◆ _In_reads_() [1/2]

◆ _In_reads_() [2/2]

◆ _In_reads_bytes_() [1/2]

_Out_ PNDIS_BUFFER _In_opt_ NDIS_HANDLE _In_reads_bytes_ ( Length  )

◆ _In_reads_bytes_() [2/2]

_In_reads_bytes_ ( LogBufferSize  )

◆ _In_reads_bytes_opt_() [1/3]

◆ _In_reads_bytes_opt_() [2/3]

_Must_inspect_result_ _In_opt_ NDIS_HANDLE _In_reads_bytes_opt_ ( Size  )

◆ _In_reads_bytes_opt_() [3/3]

◆ _IRQL_requires_() [1/2]

_IRQL_requires_ ( DISPATCH_LEVEL  )

Definition at line 394 of file expool.c.

1465{
1466 SIZE_T OldSize = PoolBigPageTableSize;
1467 SIZE_T NewSize, NewSizeInBytes;
1468 PPOOL_TRACKER_BIG_PAGES NewTable;
1469 PPOOL_TRACKER_BIG_PAGES OldTable;
1470 ULONG i;
1471 ULONG PagesFreed;
1472 ULONG Hash;
1473 ULONG HashMask;
1474
1475 /* Must be holding ExpLargePoolTableLock */
1477
1478 /* Make sure we don't overflow */
1479 if (Shrink)
1480 {
1481 NewSize = OldSize / 2;
1482
1483 /* Make sure we don't shrink too much. */
1485
1487 ASSERT(NewSize <= OldSize);
1488
1489 /* If there is only one page left, then keep it around. Not a failure either. */
1490 if (NewSize == OldSize)
1491 {
1494 return TRUE;
1495 }
1496 }
1497 else
1498 {
1499 if (!NT_SUCCESS(RtlSIZETMult(2, OldSize, &NewSize)))
1500 {
1501 DPRINT1("Overflow expanding big page table. Size=%lu\n", OldSize);
1503 return FALSE;
1504 }
1505
1506 /* Make sure we don't stupidly waste pages */
1508 ASSERT(NewSize > OldSize);
1509 }
1510
1511 if (!NT_SUCCESS(RtlSIZETMult(sizeof(POOL_TRACKER_BIG_PAGES), NewSize, &NewSizeInBytes)))
1512 {
1513 DPRINT1("Overflow while calculating big page table size. Size=%lu\n", OldSize);
1515 return FALSE;
1516 }
1517
1518 NewTable = MiAllocatePoolPages(NonPagedPool, NewSizeInBytes);
1519 if (NewTable == NULL)
1520 {
1521 DPRINT("Could not allocate %lu bytes for new big page table\n", NewSizeInBytes);
1523 return FALSE;
1524 }
1525
1526 DPRINT("%s big pool tracker table to %lu entries\n", Shrink ? "Shrinking" : "Expanding", NewSize);
1527
1528 /* Initialize the new table */
1529 RtlZeroMemory(NewTable, NewSizeInBytes);
1530 for (i = 0; i < NewSize; i++)
1531 {
1532 NewTable[i].Va = (PVOID)POOL_BIG_TABLE_ENTRY_FREE;
1533 }
1534
1535 /* Copy over all items */
1536 OldTable = PoolBigPageTable;
1537 HashMask = NewSize - 1;
1538 for (i = 0; i < OldSize; i++)
1539 {
1540 /* Skip over empty items */
1541 if ((ULONG_PTR)OldTable[i].Va & POOL_BIG_TABLE_ENTRY_FREE)
1542 {
1543 continue;
1544 }
1545
1546 /* Recalculate the hash due to the new table size */
1547 Hash = ExpComputePartialHashForAddress(OldTable[i].Va) % HashMask;
1548
1549 /* Find the location in the new table */
1550 while (!((ULONG_PTR)NewTable[Hash].Va & POOL_BIG_TABLE_ENTRY_FREE))
1551 {
1552 if (++Hash == NewSize)
1553 Hash = 0;
1554 }
1555
1556 /* We must have space */
1558
1559 /* Finally, copy the item */
1560 NewTable[Hash] = OldTable[i];
1561 }
1562
1563 /* Activate the new table */
1564 PoolBigPageTable = NewTable;
1567
1568 /* Release the lock, we're done changing global state */
1570
1571 /* Free the old table and update our tracker */
1572 PagesFreed = MiFreePoolPages(OldTable);
1573 ExpRemovePoolTracker('looP', PagesFreed << PAGE_SHIFT, 0);
1574 ExpInsertPoolTracker('looP', ALIGN_UP_BY(NewSizeInBytes, PAGE_SIZE), 0);
1575
1576 return TRUE;
1577}
#define ALIGN_DOWN_BY(size, align)
#define ALIGN_UP_BY(size, align)
#define DPRINT1
Definition: precomp.h:8
#define TRUE
Definition: types.h:120
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:33
static int Hash(const char *)
Definition: reader.c:2257
#define KeReleaseSpinLock(sl, irql)
Definition: env_spec_w32.h:627
#define PAGE_SIZE
Definition: env_spec_w32.h:49
#define PAGE_SHIFT
Definition: env_spec_w32.h:45
#define KeGetCurrentIrql()
Definition: env_spec_w32.h:706
#define NonPagedPool
Definition: env_spec_w32.h:307
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
ULONG ExpPoolBigEntriesInUse
Definition: expool.c:55
VOID NTAPI ExpRemovePoolTracker(IN ULONG Key, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType)
Definition: expool.c:760
SIZE_T PoolBigPageTableSize
Definition: expool.c:47
FORCEINLINE ULONG ExpComputePartialHashForAddress(IN PVOID BaseAddress)
Definition: expool.c:457
PPOOL_TRACKER_BIG_PAGES PoolBigPageTable
Definition: expool.c:50
#define POOL_BIG_TABLE_ENTRY_FREE
Definition: expool.c:23
KSPIN_LOCK ExpLargePoolTableLock
Definition: expool.c:54
VOID NTAPI ExpInsertPoolTracker(IN ULONG Key, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType)
Definition: expool.c:851
SIZE_T PoolBigPageTableHash
Definition: expool.c:47
_Must_inspect_result_ _In_ USHORT NewSize
Definition: fltkernel.h:975
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define ASSERT(a)
Definition: mode.c:44
PVOID NTAPI MiAllocatePoolPages(IN POOL_TYPE PoolType, IN SIZE_T SizeInBytes)
Definition: pool.c:422
ULONG NTAPI MiFreePoolPages(IN PVOID StartingAddress)
Definition: pool.c:918
#define DPRINT
Definition: sndvol32.h:73
void * PVOID
Definition: typedefs.h:50
ULONG_PTR SIZE_T
Definition: typedefs.h:80
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:778

◆ _IRQL_requires_() [2/2]

_IRQL_requires_ ( PASSIVE_LEVEL  )

Sends a synchronous IOCTL to the specified device object.

Parameters
[in]IoControlCodeThe IOCTL to send to the device.
[in]DeviceObjectPointer to the device object that will handle the IOCTL.
[in]InputBufferOptional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size.
[in]InputBufferLengthSize in bytes, of the buffer pointed by InputBuffer.
[out]OutputBufferOptional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size.
[in]OutputBufferLengthSize in bytes, of the buffer pointed by OutputBuffer.
[in]FileObjectOptional pointer to a file object that may be necessary for the IOCTL.
Returns
An NTSTATUS code indicating success or failure of this function.
Note
Must be called at PASSIVE_LEVEL with all APCs enabled.

Definition at line 2121 of file class.c.

13175{
13177
13178 PAGED_CODE();
13179
13180 TracePrint((TRACE_LEVEL_VERBOSE,
13181 TRACE_FLAG_PNP,
13182 "ClassDetermineTokenOperationCommandSupport (%p): Entering function.\n",
13183 DeviceObject));
13184
13185 //
13186 // Send down Inquiry for VPD_THIRD_PARTY_COPY_PAGE and cache away the device parameters
13187 // from WINDOWS_BLOCK_DEVICE_TOKEN_LIMITS_DESCRIPTOR.
13188 //
13190
13191 if (NT_SUCCESS(status)) {
13192
13193 ULONG maxListIdentifier = MaxTokenOperationListIdentifier;
13194
13195 //
13196 // Query the maximum list identifier to use for TokenOperation commands.
13197 //
13198 if (NT_SUCCESS(ClasspGetMaximumTokenListIdentifier(DeviceObject, REG_DISK_CLASS_CONTROL, &maxListIdentifier))) {
13199 if (maxListIdentifier >= MIN_TOKEN_LIST_IDENTIFIERS) {
13200
13201 NT_ASSERT(maxListIdentifier <= MAX_TOKEN_LIST_IDENTIFIERS);
13202 MaxTokenOperationListIdentifier = maxListIdentifier;
13203 }
13204 }
13205
13206 }
13207
13208 TracePrint((TRACE_LEVEL_VERBOSE,
13209 TRACE_FLAG_PNP,
13210 "ClassDetermineTokenOperationCommandSupport (%p): Exiting function with status %x.\n",
13212 status));
13213
13214 return status;
13215}
#define PAGED_CODE()
LONG NTSTATUS
Definition: precomp.h:26
#define REG_DISK_CLASS_CONTROL
Definition: classp.h:218
#define MAX_TOKEN_LIST_IDENTIFIERS
Definition: classp.h:215
#define MIN_TOKEN_LIST_IDENTIFIERS
Definition: classp.h:214
ULONG MaxTokenOperationListIdentifier
Definition: class.c:107
_IRQL_requires_same_ NTSTATUS ClasspGetBlockDeviceTokenLimitsInfo(_Inout_ PDEVICE_OBJECT DeviceObject)
Definition: class.c:13220
#define STATUS_SUCCESS
Definition: shellext.h:65
#define TRACE_LEVEL_VERBOSE
Definition: storswtr.h:30
Definition: ps.c:97
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
#define NT_ASSERT
Definition: rtlfuncs.h:3327

◆ _IRQL_requires_max_() [1/2]

_IRQL_requires_max_ ( APC_LEVEL  )

Probes and locks virtual pages in memory for the specified process.

Parameters
[in,out]MemoryDescriptorListMemory Descriptor List (MDL) containing the buffer to be probed and locked.
[in]ProcessThe process for which the buffer should be probed and locked.
[in]AccessModeAccess mode for probing the pages. Can be KernelMode or UserMode.
[in]LockOperationThe type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess.
Returns
Nothing.
See also
MmProbeAndLockPages
Remarks
Must be called at IRQL <= APC_LEVEL

Probes and locks virtual pages in memory for the specified process.

Frees previously reserved amount of memory in system virtual address space.

Parameters
[in]NumberOfBytesSize, in bytes, of memory to reserve.
[in]PoolTagPool Tag identifying the buffer. Usually consists from 4 characters in reversed order.
Returns
A pointer to the 1st memory block of the reserved buffer in case of success, NULL otherwise.
Remarks
Must be called at IRQL <= APC_LEVEL
Parameters
[in]BaseAddressA pointer to the 1st memory block of the reserved buffer.
[in]PoolTagPool Tag identifying the buffer. Usually consists from 4 characters in reversed order.
Returns
Nothing.
See also
MmAllocateMappingAddress
Remarks
Must be called at IRQL <= APC_LEVEL

Definition at line 37 of file cddata.c.

254{
255 THREAD_CONTEXT ThreadContext = {0};
256 PIRP_CONTEXT IrpContext = NULL;
258
259#ifdef CD_SANITY
260 PVOID PreviousTopLevel;
261#endif
262
264
265#if DBG
266
267 KIRQL SaveIrql = KeGetCurrentIrql();
268
269#endif
270
272
274
276
277#ifdef CD_SANITY
278 PreviousTopLevel = IoGetTopLevelIrp();
279#endif
280
281 //
282 // Loop until this request has been completed or posted.
283 //
284
285 do {
286
287 //
288 // Use a try-except to handle the exception cases.
289 //
290
291 _SEH2_TRY {
292
293 //
294 // If the IrpContext is NULL then this is the first pass through
295 // this loop.
296 //
297
298 if (IrpContext == NULL) {
299
300 //
301 // Decide if this request is waitable an allocate the IrpContext.
302 // If the file object in the stack location is NULL then this
303 // is a mount which is always waitable. Otherwise we look at
304 // the file object flags.
305 //
306
308
309 Wait = TRUE;
310
311 } else {
312
313 Wait = CanFsdWait( Irp );
314 }
315
316 IrpContext = CdCreateIrpContext( Irp, Wait );
317
318 //
319 // Update the thread context information.
320 //
321
322 CdSetThreadContext( IrpContext, &ThreadContext );
323
324#ifdef CD_SANITY
325 NT_ASSERT( !CdTestTopLevel ||
326 SafeNodeType( IrpContext->TopLevel ) == CDFS_NTC_IRP_CONTEXT );
327#endif
328
329 //
330 // Otherwise cleanup the IrpContext for the retry.
331 //
332
333 } else {
334
335 //
336 // Set the MORE_PROCESSING flag to make sure the IrpContext
337 // isn't inadvertently deleted here. Then cleanup the
338 // IrpContext to perform the retry.
339 //
340
341 SetFlag( IrpContext->Flags, IRP_CONTEXT_FLAG_MORE_PROCESSING );
342 CdCleanupIrpContext( IrpContext, FALSE );
343 }
344
345 //
346 // Case on the major irp code.
347 //
348
349 switch (IrpContext->MajorFunction) {
350
351 case IRP_MJ_CREATE :
352
353 Status = CdCommonCreate( IrpContext, Irp );
354 break;
355
356 case IRP_MJ_CLOSE :
357
358 Status = CdCommonClose( IrpContext, Irp );
359 break;
360
361 case IRP_MJ_READ :
362
363 //
364 // If this is an Mdl complete request, don't go through
365 // common read.
366 //
367
368 if (FlagOn( IrpContext->MinorFunction, IRP_MN_COMPLETE )) {
369
370 Status = CdCompleteMdl( IrpContext, Irp );
371
372 } else {
373
374 Status = CdCommonRead( IrpContext, Irp );
375 }
376
377 break;
378
379 case IRP_MJ_WRITE :
380
381 Status = CdCommonWrite( IrpContext, Irp );
382 break;
383
385
386 Status = CdCommonQueryInfo( IrpContext, Irp );
387 break;
388
390
391 Status = CdCommonSetInfo( IrpContext, Irp );
392 break;
393
395
396 Status = CdCommonQueryVolInfo( IrpContext, Irp );
397 break;
398
400
401 Status = CdCommonDirControl( IrpContext, Irp );
402 break;
403
405
406 Status = CdCommonFsControl( IrpContext, Irp );
407 break;
408
410
411 Status = CdCommonDevControl( IrpContext, Irp );
412 break;
413
415
416 Status = CdCommonLockControl( IrpContext, Irp );
417 break;
418
419 case IRP_MJ_CLEANUP :
420
421 Status = CdCommonCleanup( IrpContext, Irp );
422 break;
423
424 case IRP_MJ_PNP :
425
426 Status = CdCommonPnp( IrpContext, Irp );
427 break;
428
429 case IRP_MJ_SHUTDOWN :
430
431 Status = CdCommonShutdown( IrpContext, Irp );
432 break;
433
434 default :
435
437 CdCompleteRequest( IrpContext, Irp, Status );
438 }
439
441
442 Status = CdProcessException( IrpContext, Irp, _SEH2_GetExceptionCode() );
443 } _SEH2_END;
444
445 } while (Status == STATUS_CANT_WAIT);
446
447#ifdef CD_SANITY
448 NT_ASSERT( !CdTestTopLevel ||
449 (PreviousTopLevel == IoGetTopLevelIrp()) );
450#endif
451
453
454 NT_ASSERT( SaveIrql == KeGetCurrentIrql( ));
455
456 return Status;
457}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
unsigned char BOOLEAN
VOID CdCompleteRequest(_Inout_opt_ PIRP_CONTEXT IrpContext, _Inout_opt_ PIRP Irp, _In_ NTSTATUS Status)
Definition: cddata.c:914
LONG CdExceptionFilter(_Inout_ PIRP_CONTEXT IrpContext, _In_ PEXCEPTION_POINTERS ExceptionPointer)
Definition: cddata.c:525
VOID CdSetThreadContext(_Inout_ PIRP_CONTEXT IrpContext, _In_ PTHREAD_CONTEXT ThreadContext)
Definition: cddata.c:981
#define ASSERT_OPTIONAL_IRP(I)
Definition: cddata.h:251
NTSTATUS CdCompleteMdl(_In_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp)
Definition: cachesup.c:411
VOID CdCleanupIrpContext(_In_ PIRP_CONTEXT IrpContext, _In_ BOOLEAN Post)
Definition: strucsup.c:1733
#define CanFsdWait(I)
Definition: cdprocs.h:2001
NTSTATUS CdCommonLockControl(_Inout_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp)
Definition: lockctrl.c:35
NTSTATUS CdCommonDevControl(_Inout_ PIRP_CONTEXT IrpContext, _Inout_ PIRP Irp)
Definition: devctrl.c:46
_Ret_valid_ PIRP_CONTEXT CdCreateIrpContext(_In_ PIRP Irp, _In_ BOOLEAN Wait)
Definition: strucsup.c:1573
#define IRP_MJ_PNP
Definition: cdrw_usr.h:52
#define IRP_CONTEXT_FLAG_MORE_PROCESSING
Definition: cdstruc.h:1214
_In_ PIRP Irp
Definition: csq.h:116
#define CDFS_NTC_IRP_CONTEXT
Definition: nodetype.h:34
#define SafeNodeType(Ptr)
Definition: nodetype.h:54
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define SetFlag(_F, _SF)
Definition: ext2fs.h:187
#define FlagOn(_F, _SF)
Definition: ext2fs.h:179
#define FsRtlEnterFileSystem
#define FsRtlExitFileSystem
Status
Definition: gdiplustypes.h:25
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325
PIRP NTAPI IoGetTopLevelIrp(VOID)
Definition: irp.c:1843
#define STATUS_CANT_WAIT
Definition: ntstatus.h:452
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:165
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:66
#define _SEH2_GetExceptionInformation()
Definition: pseh2_64.h:164
#define _SEH2_END
Definition: pseh2_64.h:155
#define _SEH2_TRY
Definition: pseh2_64.h:55
#define IRP_MJ_DIRECTORY_CONTROL
Definition: rdpdr.c:51
#define IRP_MJ_CLOSE
Definition: rdpdr.c:45
#define IRP_MJ_READ
Definition: rdpdr.c:46
#define IRP_MJ_DEVICE_CONTROL
Definition: rdpdr.c:52
#define IRP_MJ_QUERY_VOLUME_INFORMATION
Definition: rdpdr.c:50
#define IRP_MJ_LOCK_CONTROL
Definition: rdpdr.c:53
#define IRP_MJ_WRITE
Definition: rdpdr.c:47
#define IRP_MJ_SET_INFORMATION
Definition: rdpdr.c:49
#define IRP_MJ_CREATE
Definition: rdpdr.c:44
#define IRP_MJ_QUERY_INFORMATION
Definition: rdpdr.c:48
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_In_ WDFDPC _In_ BOOLEAN Wait
Definition: wdfdpc.h:170
#define IRP_MN_COMPLETE
Definition: iotypes.h:4420
#define IRP_MJ_FILE_SYSTEM_CONTROL
#define IRP_MJ_SHUTDOWN
#define IRP_MJ_CLEANUP

◆ _IRQL_requires_max_() [2/2]

_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 347 of file common.c.

3587{
3589 BOOLEAN requestSent = FALSE;
3590
3591 BOOLEAN shouldRetry = TRUE;
3592 PCDB cdb = (PCDB)DeviceExtension->PowerContext.Srb.Cdb;
3593 ULONG timeoutValue = DeviceExtension->TimeOutValue;
3594 ULONG retryCount = 1;
3595
3596 // reset some fields.
3597 DeviceExtension->PowerContext.RetryIntervalIn100ns = 0;
3598 status = PowerContextReuseRequest(DeviceExtension);
3599 RequestClearSendTime(DeviceExtension->PowerContext.PowerRequest);
3600
3601 if (!NT_SUCCESS(status))
3602 {
3603 return status;
3604 }
3605
3606 // set proper timeout value and max retry count.
3607 switch(DeviceExtension->PowerContext.PowerChangeState.PowerDown)
3608 {
3612 break;
3613
3615 // Case of issuing SYNC CACHE command. Do not use power irp timeout remaining time in this case
3616 // as we want to give best try on SYNC CACHE command.
3617 retryCount = MAXIMUM_RETRIES;
3618 timeoutValue = DeviceExtension->TimeOutValue;
3619 break;
3620
3622 {
3623 // Case of issuing STOP UNIT command
3624 // As "Imme" bit is set to '1', this command should be completed in short time.
3625 // This command is at low importance, failure of this command has very small impact.
3626 ULONG secondsRemaining = 0;
3627
3628#if (WINVER >= 0x0601)
3629 // this API is introduced in Windows7
3630 PoQueryWatchdogTime(DeviceExtension->LowerPdo, &secondsRemaining);
3631#endif
3632
3633 if (secondsRemaining == 0)
3634 {
3635 // not able to retrieve remaining time from PoQueryWatchdogTime API, use default values.
3636 retryCount = MAXIMUM_RETRIES;
3637 timeoutValue = SCSI_CDROM_TIMEOUT;
3638 }
3639 else
3640 {
3641 // plan to leave about 30 seconds to lower level drivers if possible.
3642 if (secondsRemaining >= 32)
3643 {
3644 retryCount = (secondsRemaining - 30)/SCSI_CDROM_TIMEOUT + 1;
3645 timeoutValue = SCSI_CDROM_TIMEOUT;
3646
3647 if (retryCount > MAXIMUM_RETRIES)
3648 {
3649 retryCount = MAXIMUM_RETRIES;
3650 }
3651
3652 if (retryCount == 1)
3653 {
3654 timeoutValue = secondsRemaining - 30;
3655 }
3656 }
3657 else
3658 {
3659 // issue the command with minimal timeout value and do not retry on it.
3660 retryCount = 1;
3661 timeoutValue = 2;
3662 }
3663 }
3664 }
3665 break;
3666 default:
3667 NT_ASSERT( FALSE );
3669 return status;
3670 }
3671
3672 DeviceExtension->PowerContext.RetryCount = retryCount;
3673
3674 // issue command.
3675 while (shouldRetry)
3676 {
3677
3678 // set SRB fields.
3679 DeviceExtension->PowerContext.Srb.SrbFlags = SRB_FLAGS_NO_DATA_TRANSFER |
3684
3685 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_EXECUTE_SCSI;
3686 DeviceExtension->PowerContext.Srb.TimeOutValue = timeoutValue;
3687
3688 if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceInitial)
3689 {
3690 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_LOCK_QUEUE;
3691 }
3692 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceLocked)
3693 {
3694 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_QUIESCE_DEVICE;
3695 }
3696 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceQuiesced)
3697 {
3698 // Case of issuing SYNC CACHE command.
3699 DeviceExtension->PowerContext.Srb.CdbLength = 10;
3700 cdb->SYNCHRONIZE_CACHE10.OperationCode = SCSIOP_SYNCHRONIZE_CACHE;
3701 }
3702 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceFlushed)
3703 {
3704 // Case of issuing STOP UNIT command.
3705 DeviceExtension->PowerContext.Srb.CdbLength = 6;
3706 cdb->START_STOP.OperationCode = SCSIOP_START_STOP_UNIT;
3707 cdb->START_STOP.Start = 0;
3708 cdb->START_STOP.Immediate = 1;
3709 }
3710 else if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceStopped)
3711 {
3712 DeviceExtension->PowerContext.Srb.Function = SRB_FUNCTION_UNLOCK_QUEUE;
3713 }
3714
3715 // Set up completion routine and context if requested
3717 {
3718 WdfRequestSetCompletionRoutine(DeviceExtension->PowerContext.PowerRequest,
3720 Context);
3721 }
3722
3723 status = RequestSend(DeviceExtension,
3724 DeviceExtension->PowerContext.PowerRequest,
3725 DeviceExtension->IoTarget,
3727 &requestSent);
3728
3729 if (requestSent)
3730 {
3731 if ((CompletionRoutine == NULL) &&
3732 (SRB_STATUS(DeviceExtension->PowerContext.Srb.SrbStatus) != SRB_STATUS_SUCCESS))
3733 {
3734 TracePrint((TRACE_LEVEL_ERROR,
3735 TRACE_FLAG_POWER,
3736 "%p\tError occured when issuing %s command to device. Srb %p, Status %x\n",
3737 DeviceExtension->PowerContext.PowerRequest,
3738 (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceQuiesced) ? "SYNC CACHE" : "STOP UNIT",
3739 &DeviceExtension->PowerContext.Srb,
3740 DeviceExtension->PowerContext.Srb.SrbStatus));
3741
3742 NT_ASSERT(!(TEST_FLAG(DeviceExtension->PowerContext.Srb.SrbStatus, SRB_STATUS_QUEUE_FROZEN)));
3743
3744 shouldRetry = RequestSenseInfoInterpret(DeviceExtension,
3745 DeviceExtension->PowerContext.PowerRequest,
3746 &(DeviceExtension->PowerContext.Srb),
3747 retryCount - DeviceExtension->PowerContext.RetryCount,
3748 &status,
3749 &(DeviceExtension->PowerContext.RetryIntervalIn100ns));
3750
3751 if (shouldRetry && (DeviceExtension->PowerContext.RetryCount-- == 0))
3752 {
3753 shouldRetry = FALSE;
3754 }
3755 }
3756 else
3757 {
3758 // succeeded, do not need to retry.
3759 shouldRetry = FALSE;
3760 }
3761
3762 }
3763 else
3764 {
3765 // request failed to be sent
3766 shouldRetry = FALSE;
3767 }
3768
3769 if (shouldRetry)
3770 {
3772 t.QuadPart = -DeviceExtension->PowerContext.RetryIntervalIn100ns;
3774
3775 status = PowerContextReuseRequest(DeviceExtension);
3776 if (!NT_SUCCESS(status))
3777 {
3778 shouldRetry = FALSE;
3779 }
3780 }
3781 }
3782
3783 if (DeviceExtension->PowerContext.PowerChangeState.PowerDown == PowerDownDeviceQuiesced)
3784 {
3785 // record SYNC CACHE command completion time stamp.
3786 KeQueryTickCount(&DeviceExtension->PowerContext.Step1CompleteTime);
3787 }
3788
3789 return status;
3790}
#define MAXIMUM_RETRIES
Definition: cdrom.h:124
#define SCSI_CDROM_TIMEOUT
Definition: cdrom.h:680
BOOLEAN RequestSenseInfoInterpret(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ PSCSI_REQUEST_BLOCK Srb, _In_ ULONG RetriedCount, _Out_ NTSTATUS *Status, _Out_opt_ _Deref_out_range_(0, MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) LONGLONG *RetryIntervalIn100ns)
Definition: sense.c:2467
#define TEST_FLAG(Flags, Bit)
Definition: cdrom.h:1495
@ PowerDownDeviceStopped
Definition: cdrom.h:412
@ PowerDownDeviceQuiesced
Definition: cdrom.h:410
@ PowerDownDeviceInitial
Definition: cdrom.h:408
@ PowerDownDeviceLocked
Definition: cdrom.h:409
@ PowerDownDeviceFlushed
Definition: cdrom.h:411
union _CDB * PCDB
#define SCSIOP_START_STOP_UNIT
Definition: cdrw_hw.h:897
#define SCSIOP_SYNCHRONIZE_CACHE
Definition: cdrw_hw.h:918
#define STATUS_NOT_IMPLEMENTED
Definition: d3dkmdt.h:42
NTSTATUS RequestSend(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDFIOTARGET IoTarget, _In_ ULONG Flags, _Out_opt_ PBOOLEAN RequestSent)
Definition: common.c:3793
VOID RequestClearSendTime(_In_ WDFREQUEST Request)
Definition: common.c:111
#define SRB_FUNCTION_EXECUTE_SCSI
Definition: srb.h:315
#define SRB_FLAGS_NO_DATA_TRANSFER
Definition: srb.h:402
#define SRB_FUNCTION_LOCK_QUEUE
Definition: srb.h:332
#define SRB_FUNCTION_UNLOCK_QUEUE
Definition: srb.h:333
#define SRB_FLAGS_BYPASS_LOCKED_QUEUE
Definition: srb.h:410
#define SRB_FLAGS_DISABLE_SYNCH_TRANSFER
Definition: srb.h:397
#define SRB_STATUS(Status)
Definition: srb.h:389
#define SRB_STATUS_QUEUE_FROZEN
Definition: srb.h:386
#define SRB_FLAGS_NO_QUEUE_FREEZE
Definition: srb.h:404
#define SRB_STATUS_SUCCESS
Definition: srb.h:341
#define KeDelayExecutionThread(mode, foo, t)
Definition: env_spec_w32.h:484
GLdouble GLdouble t
Definition: gl.h:2047
#define KernelMode
Definition: asm.h:38
#define SRB_FLAGS_D3_PROCESSING
Definition: srb.h:165
#define SRB_FUNCTION_QUIESCE_DEVICE
Definition: srb.h:99
#define KeQueryTickCount(CurrentCount)
Definition: ke.h:43
#define TRACE_LEVEL_ERROR
Definition: storswtr.h:27
Definition: cdrw_hw.h:28
struct _CDB::_START_STOP START_STOP
struct _CDB::_SYNCHRONIZE_CACHE10 SYNCHRONIZE_CACHE10
@ WDF_REQUEST_SEND_OPTION_SYNCHRONOUS
Definition: wdfrequest.h:109
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE CompletionRoutine
Definition: wdfrequest.h:895

◆ _Outptr_result_bytebuffer_()

_In_ ULONG _In_ BOOLEAN _Outptr_result_bytebuffer_ ( Length  )

◆ _Pre_satisfies_()

_In_ UINT _In_ _Pre_satisfies_ ( MemoryFlags  = =0||MemoryFlags==NDIS_MEMORY_NONCACHED||MemoryFlags==NDIS_MEMORY_CONTIGUOUS)

◆ _Return_type_success_()

typedef _Return_type_success_ ( return >=  0)

◆ _When_() [1/3]

_Acquires_exclusive_lock_ Lock _When_ ( fWrite,
_Acquires_shared_lock_ Lock 
)

◆ _When_() [2/3]

_When_ ( MemoryFlags  = =0,
_IRQL_requires_max_(DISPATCH_LEVEL  
)

◆ _When_() [3/3]

_When_ ( MsToWait = 0,
_Check_return_   
)

◆ NDIS_BUFFER_TO_SPAN_PAGES()

NDISAPI ULONG NTAPI NDIS_BUFFER_TO_SPAN_PAGES ( IN PNDIS_BUFFER  Buffer)

Definition at line 314 of file buffer.c.

321{
322 if (MmGetMdlByteCount(Buffer) == 0)
323 return 1;
324
328}
#define MmGetMdlVirtualAddress(_Mdl)
#define ADDRESS_AND_SIZE_TO_SPAN_PAGES(_Va, _Size)

Referenced by NdisGetBufferPhysicalArraySize(), and NdisQueryPacket().

◆ NdisAllocateMemory()

Obsolete NDISAPI NDIS_STATUS NTAPI NdisAllocateMemory ( _At_(*,  Mem)

◆ NdisCopyFromPacketToPacketSafe()

NDISAPI VOID NTAPI NdisCopyFromPacketToPacketSafe ( IN PNDIS_PACKET  Destination,
IN UINT  DestinationOffset,
IN UINT  BytesToCopy,
IN PNDIS_PACKET  Source,
IN UINT  SourceOffset,
OUT PUINT  BytesCopied,
IN MM_PAGE_PRIORITY  Priority 
)

Definition at line 1202 of file buffer.c.

1210{
1211 PNDIS_BUFFER SrcBuffer;
1212 PNDIS_BUFFER DstBuffer;
1213 PUCHAR DstData, SrcData;
1214 UINT DstSize, SrcSize;
1215 UINT Count, Total;
1216
1217 *BytesCopied = 0;
1218
1219 /* Skip DestinationOffset bytes in the destination packet */
1220 NdisGetFirstBufferFromPacketSafe(Destination, &DstBuffer, (PVOID*)&DstData, &DstSize, &Total, Priority);
1221 if (!DstData || SkipToOffset(DstBuffer, DestinationOffset, &DstData, &DstSize) == 0xFFFFFFFF)
1222 return;
1223
1224 /* Skip SourceOffset bytes in the source packet */
1225 NdisGetFirstBufferFromPacketSafe(Source, &SrcBuffer, (PVOID*)&SrcData, &SrcSize, &Total, Priority);
1226 if (!SrcData || SkipToOffset(SrcBuffer, SourceOffset, &SrcData, &SrcSize) == 0xFFFFFFFF)
1227 return;
1228
1229 /* Copy the data */
1230 for (Total = 0;;) {
1231 /* Find out how many bytes we can copy at one time */
1232 if (BytesToCopy < SrcSize)
1234 else
1235 Count = SrcSize;
1236 if (DstSize < Count)
1237 Count = DstSize;
1238
1239 RtlCopyMemory(DstData, SrcData, Count);
1240
1241 Total += Count;
1242 BytesToCopy -= Count;
1243 if (BytesToCopy == 0)
1244 break;
1245
1246 DstSize -= Count;
1247 if (DstSize == 0) {
1248 /* No more bytes in destination buffer. Proceed to
1249 the next buffer in the destination buffer chain */
1250 NdisGetNextBuffer(DstBuffer, &DstBuffer);
1251 if (!DstBuffer)
1252 break;
1253
1254 NdisQueryBufferSafe(DstBuffer, (PVOID)&DstData, &DstSize, Priority);
1255 if (!DstData)
1256 break;
1257 }
1258
1259 SrcSize -= Count;
1260 if (SrcSize == 0) {
1261 /* No more bytes in source buffer. Proceed to
1262 the next buffer in the source buffer chain */
1263 NdisGetNextBuffer(SrcBuffer, &SrcBuffer);
1264 if (!SrcBuffer)
1265 break;
1266
1267 NdisQueryBufferSafe(SrcBuffer, (PVOID)&SrcData, &SrcSize, Priority);
1268 if (!SrcData)
1269 break;
1270 }
1271 }
1272
1273 *BytesCopied = Total;
1274}
FORCEINLINE ULONG SkipToOffset(IN PNDIS_BUFFER Buffer, IN UINT Offset, IN OUT PUCHAR *Data, IN OUT PUINT Size)
Definition: buffer.c:15
#define NdisGetNextBuffer(CurrentBuffer, NextBuffer)
Definition: ndis.h:3386
_In_ UINT _In_ UINT _In_ PNDIS_PACKET _In_ UINT _Out_ PUINT BytesCopied
Definition: ndis.h:3171
#define NdisQueryBufferSafe(_Buffer, _VirtualAddress, _Length, _Priority)
Definition: ndis.h:5283
_In_ UINT _In_ UINT BytesToCopy
Definition: ndis.h:3168
#define NdisGetFirstBufferFromPacketSafe(_Packet, _FirstBuffer, _FirstBufferVA, _FirstBufferLength, _TotalBufferLength, _Priority)
Definition: ndis.h:3056
int Count
Definition: noreturn.cpp:7
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
Definition: wdfinterrupt.h:655
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t SourceOffset
Definition: wdfmemory.h:320
_Must_inspect_result_ _In_ WDFMEMORY _In_ size_t DestinationOffset
Definition: wdfmemory.h:361

◆ NdisDeregisterTdiCallBack()

NDISAPI VOID NTAPI NdisDeregisterTdiCallBack ( VOID  )

Definition at line 286 of file 50stubs.c.

287{
289}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15

◆ NdisDestroyLookaheadBufferFromSharedMemory()

NDISAPI VOID NTAPI NdisDestroyLookaheadBufferFromSharedMemory ( IN PVOID  pLookaheadBuffer)

◆ NdisFreeDmaChannel()

NDISAPI VOID NTAPI NdisFreeDmaChannel ( IN PNDIS_HANDLE  NdisDmaHandle)

Definition at line 1245 of file io.c.

1253{
1254 NdisMDeregisterDmaChannel(NdisDmaHandle);
1255}
VOID EXPORT NdisMDeregisterDmaChannel(IN NDIS_HANDLE MiniportDmaHandle)
Definition: io.c:681

◆ NdisFreeMemoryWithTag()

NDISAPI VOID NTAPI NdisFreeMemoryWithTag ( IN PVOID  VirtualAddress,
IN ULONG  Tag 
)

◆ NdisGetCurrentProcessorCpuUsage()

NDISAPI VOID NTAPI NdisGetCurrentProcessorCpuUsage ( OUT PULONG  pCpuUsage)

◆ NdisGetFirstBufferFromPacket()

NDISAPI VOID NTAPI NdisGetFirstBufferFromPacket ( IN PNDIS_PACKET  _Packet,
OUT PNDIS_BUFFER _FirstBuffer,
OUT PVOID _FirstBufferVA,
OUT PUINT  _FirstBufferLength,
OUT PUINT  _TotalBufferLength 
)

Definition at line 873 of file buffer.c.

888{
890
891 Buffer = _Packet->Private.Head;
892 *_FirstBuffer = Buffer;
893
894 if (Buffer != NULL) {
895 *_FirstBufferLength = MmGetMdlByteCount(Buffer);
896 *_FirstBufferVA = MmGetSystemAddressForMdl(Buffer);
897 Buffer = Buffer->Next;
898 } else {
899 NDIS_DbgPrint(MID_TRACE, ("No buffers linked to this packet\n"));
900 *_FirstBufferLength = 0;
901 *_FirstBufferVA = NULL;
902 }
903
904 *_TotalBufferLength = *_FirstBufferLength;
905
906 while (Buffer != NULL) {
907 *_TotalBufferLength += MmGetMdlByteCount(Buffer);
908 Buffer = Buffer->Next;
909 }
910}
#define MID_TRACE
Definition: debug.h:15
#define NDIS_DbgPrint(_t_, _x_)
Definition: debug.h:40

Referenced by CopyPacketToBuffer(), CopyPacketToBufferChain(), MiniIndicateReceivePacket(), NdisCopyFromPacketToPacket(), and ProtocolTransferDataComplete().

◆ NdisGetSystemUpTime()

NDISAPI VOID NTAPI NdisGetSystemUpTime ( OUT PULONG  pSystemUpTime)

Definition at line 358 of file misc.c.

359{
361 LARGE_INTEGER TickCount;
362
363 NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
364
365 /* Get the increment and current tick count */
367 KeQueryTickCount(&TickCount);
368
369 /* Convert to milliseconds and return */
370 TickCount.QuadPart *= Increment;
371 TickCount.QuadPart /= (10 * 1000);
372 *pSystemUpTime = TickCount.LowPart;
373}
#define MAX_TRACE
Definition: debug.h:16
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
Definition: CrNtStubs.h:46
ULONG NTAPI KeQueryTimeIncrement(VOID)
Definition: clock.c:153
LONGLONG QuadPart
Definition: typedefs.h:114
ULONG LowPart
Definition: typedefs.h:106

◆ NdisIMCopySendCompletePerPacketInfo()

NDISAPI VOID NTAPI NdisIMCopySendCompletePerPacketInfo ( IN PNDIS_PACKET  DstPacket,
IN PNDIS_PACKET  SrcPacket 
)

Definition at line 1281 of file buffer.c.

1290{
1291 /* FIXME: What is the difference between NdisIMCopySendPerPacketInfo and
1292 * NdisIMCopySendCompletePerPacketInfo?
1293 */
1294
1295 NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
1296
1299 sizeof(NDIS_PACKET_EXTENSION));
1300}
#define NDIS_PACKET_EXTENSION_FROM_PACKET(Packet)
Definition: ndis.h:1341

◆ NdisIMCopySendPerPacketInfo()

NDISAPI VOID NTAPI NdisIMCopySendPerPacketInfo ( IN PNDIS_PACKET  DstPacket,
IN PNDIS_PACKET  SrcPacket 
)

Definition at line 1308 of file buffer.c.

1317{
1318 /* FIXME: What is the difference between NdisIMCopySendPerPacketInfo and
1319 * NdisIMCopySendCompletePerPacketInfo?
1320 */
1321
1322 NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
1323
1326 sizeof(NDIS_PACKET_EXTENSION));
1327}

◆ NdisImmediateReadSharedMemory()

NDISAPI VOID NTAPI NdisImmediateReadSharedMemory ( IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SharedMemoryAddress,
OUT PUCHAR  Buffer,
IN ULONG  Length 
)

Definition at line 269 of file 40stubs.c.

274{
276}

◆ NdisImmediateWriteSharedMemory()

NDISAPI VOID NTAPI NdisImmediateWriteSharedMemory ( IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SharedMemoryAddress,
IN PUCHAR  Buffer,
IN ULONG  Length 
)

Definition at line 283 of file 40stubs.c.

288{
290}

◆ NdisIMRegisterLayeredMiniport()

NDISAPI NDIS_STATUS NTAPI NdisIMRegisterLayeredMiniport ( _In_ NDIS_HANDLE  NdisWrapperHandle,
_In_ PNDIS_MINIPORT_CHARACTERISTICS  MiniportCharacteristics,
_In_ UINT  CharacteristicsLength,
_Out_ PNDIS_HANDLE  DriverHandle 
)

◆ NdisInitializeWrapper()

NDISAPI VOID NTAPI NdisInitializeWrapper ( OUT PNDIS_HANDLE  NdisWrapperHandle,
IN PVOID  SystemSpecific1,
IN PVOID  SystemSpecific2,
IN PVOID  SystemSpecific3 
)

Definition at line 1591 of file miniport.c.

1606{
1607 PNDIS_M_DRIVER_BLOCK Miniport;
1609 WCHAR *RegistryBuffer;
1610
1611 NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
1612
1613 ASSERT(NdisWrapperHandle);
1614
1615 *NdisWrapperHandle = NULL;
1616
1617#if BREAK_ON_MINIPORT_INIT
1618 DbgBreakPoint();
1619#endif
1620
1621 Miniport = ExAllocatePool(NonPagedPool, sizeof(NDIS_M_DRIVER_BLOCK));
1622
1623 if (!Miniport)
1624 {
1625 NDIS_DbgPrint(MIN_TRACE, ("Insufficient resources.\n"));
1626 return;
1627 }
1628
1629 RtlZeroMemory(Miniport, sizeof(NDIS_M_DRIVER_BLOCK));
1630
1631 KeInitializeSpinLock(&Miniport->Lock);
1632
1633 Miniport->DriverObject = (PDRIVER_OBJECT)SystemSpecific1;
1634
1635 /* set the miniport's driver registry path */
1637 if(!RegistryPath)
1638 {
1639 ExFreePool(Miniport);
1640 NDIS_DbgPrint(MIN_TRACE, ("Insufficient resources.\n"));
1641 return;
1642 }
1643
1644 RegistryPath->Length = ((PUNICODE_STRING)SystemSpecific2)->Length;
1645 RegistryPath->MaximumLength = RegistryPath->Length + sizeof(WCHAR); /* room for 0-term */
1646
1647 RegistryBuffer = ExAllocatePool(PagedPool, RegistryPath->MaximumLength);
1648 if(!RegistryBuffer)
1649 {
1650 NDIS_DbgPrint(MIN_TRACE, ("Insufficient resources.\n"));
1651 ExFreePool(Miniport);
1653 return;
1654 }
1655
1656 RtlCopyMemory(RegistryBuffer, ((PUNICODE_STRING)SystemSpecific2)->Buffer, RegistryPath->Length);
1657 RegistryBuffer[RegistryPath->Length/sizeof(WCHAR)] = 0;
1658
1659 RegistryPath->Buffer = RegistryBuffer;
1660 Miniport->RegistryPath = RegistryPath;
1661
1662 InitializeListHead(&Miniport->DeviceList);
1663
1664 /* Put miniport in global miniport list */
1666
1667 *NdisWrapperHandle = Miniport;
1668}
#define MIN_TRACE
Definition: debug.h:14
UNICODE_STRING * PUNICODE_STRING
Definition: env_spec_w32.h:373
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
#define InitializeListHead(ListHead)
Definition: env_spec_w32.h:944
#define KeInitializeSpinLock(sl)
Definition: env_spec_w32.h:604
#define PagedPool
Definition: env_spec_w32.h:308
#define ExAllocatePool(type, size)
Definition: fbtusb.h:44
NTSYSAPI void WINAPI DbgBreakPoint(void)
PLIST_ENTRY NTAPI ExInterlockedInsertTailList(IN OUT PLIST_ENTRY ListHead, IN OUT PLIST_ENTRY ListEntry, IN OUT PKSPIN_LOCK Lock)
Definition: interlocked.c:140
LIST_ENTRY MiniportListHead
Definition: miniport.c:53
KSPIN_LOCK MiniportListLock
Definition: miniport.c:54
LIST_ENTRY DeviceList
Definition: miniport.h:25
LIST_ENTRY ListEntry
Definition: miniport.h:20
PUNICODE_STRING RegistryPath
Definition: miniport.h:26
PDRIVER_OBJECT DriverObject
Definition: miniport.h:24
KSPIN_LOCK Lock
Definition: miniport.h:21
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
Definition: wdfdriver.h:215
struct _DRIVER_OBJECT * PDRIVER_OBJECT
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ NdisInitUnicodeString()

NDISAPI VOID NTAPI NdisInitUnicodeString ( IN OUT PNDIS_STRING  DestinationString,
IN PCWSTR  SourceString 
)

Definition at line 130 of file string.c.

141{
144
146}
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1922
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1921
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)

Referenced by DcConfigQueryInteger(), MiniportInitialize(), NdisIPnPStartDevice(), NdisReadNetworkAddress(), ParaNdis_DebugInitialize(), and QueryInteger().

◆ NdisMAllocateMapRegisters()

_Must_inspect_result_ See details in NdisMAllocateMapRegisters documentation NDISAPI NDIS_STATUS NTAPI NdisMAllocateMapRegisters ( _In_ NDIS_HANDLE  MiniportAdapterHandle,
_In_ UINT  DmaChannel,
_In_ NDIS_DMA_SIZE  DmaSize,
_In_ ULONG  PhysicalMapRegistersNeeded,
_In_ ULONG  MaximumPhysicalMapping 
)

◆ NdisMCmRegisterAddressFamily()

NDISAPI NDIS_STATUS NTAPI NdisMCmRegisterAddressFamily ( IN NDIS_HANDLE  MiniportAdapterHandle,
IN PCO_ADDRESS_FAMILY  AddressFamily,
IN PNDIS_CALL_MANAGER_CHARACTERISTICS  CmCharacteristics,
IN UINT  SizeOfCmCharacteristics 
)

Definition at line 447 of file cm.c.

458{
460
461 return NDIS_STATUS_FAILURE;
462}
#define NDIS_STATUS_FAILURE
Definition: ndis.h:465

◆ NdisMDeregisterAdapterShutdownHandler()

NDISAPI VOID NTAPI NdisMDeregisterAdapterShutdownHandler ( _In_ NDIS_HANDLE  MiniportHandle)

◆ NdisMSetAttributesEx()

NDISAPI VOID NTAPI NdisMSetAttributesEx ( IN NDIS_HANDLE  MiniportAdapterHandle,
IN NDIS_HANDLE  MiniportAdapterContext,
IN UINT CheckForHangTimeInSeconds  OPTIONAL,
IN ULONG  AttributeFlags,
IN NDIS_INTERFACE_TYPE  AdapterType 
)

Definition at line 2883 of file miniport.c.

2899{
2901
2902 NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
2903
2904 Adapter->NdisMiniportBlock.MiniportAdapterContext = MiniportAdapterContext;
2905 Adapter->NdisMiniportBlock.Flags = AttributeFlags;
2907 if (CheckForHangTimeInSeconds > 0)
2908 Adapter->NdisMiniportBlock.CheckForHangSeconds = CheckForHangTimeInSeconds;
2909 if (AttributeFlags & NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER)
2910 NDIS_DbgPrint(MIN_TRACE, ("Intermediate drivers not supported yet.\n"));
2911
2912 NDIS_DbgPrint(MID_TRACE, ("Miniport attribute flags: 0x%x\n", AttributeFlags));
2913
2914 if (Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.AdapterShutdownHandler)
2915 {
2916 NDIS_DbgPrint(MAX_TRACE, ("Miniport set AdapterShutdownHandler in MiniportCharacteristics\n"));
2919 Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.AdapterShutdownHandler);
2920 }
2921}
#define GET_LOGICAL_ADAPTER(Handle)
Definition: miniport.h:101
#define NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER
Definition: ndis.h:587
VOID EXPORT NdisMRegisterAdapterShutdownHandler(IN NDIS_HANDLE MiniportHandle, IN PVOID ShutdownContext, IN ADAPTER_SHUTDOWN_HANDLER ShutdownHandler)
Definition: miniport.c:1694
NDIS_MINIPORT_BLOCK NdisMiniportBlock
Definition: miniport.h:89
NDIS_HANDLE MiniportAdapterContext
Definition: ndis.h:2510
ULONG CheckForHangSeconds
Definition: ndis.h:2538
NDIS_INTERFACE_TYPE AdapterType
Definition: ndis.h:2551
PNDIS_M_DRIVER_BLOCK DriverHandle
Definition: ndis.h:2509
NDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics
Definition: miniport.h:22

Referenced by DcInitialize(), MiniportInitialize(), NdisMSetAttributes(), and ParaNdis5_Initialize().

◆ NdisMSetTimer()

NDISAPI VOID NTAPI NdisMSetTimer ( IN PNDIS_MINIPORT_TIMER  Timer,
IN UINT  MillisecondsToDelay 
)

Definition at line 272 of file time.c.

284{
286 //KIRQL OldIrql;
287
289 ASSERT(Timer);
290
291 /* relative delays are negative, absolute are positive; resolution is 100ns */
292 Timeout.QuadPart = Int32x32To64(MillisecondsToDelay, -10000);
293
294#if 0
295 /* Lock the miniport block */
296 KeAcquireSpinLock(&Timer->Miniport->Lock, &OldIrql);
297
298 /* Attempt to dequeue the timer */
300
301 /* Add the timer at the head of the timer queue */
302 Timer->NextDeferredTimer = Timer->Miniport->TimerQueue;
303 Timer->Miniport->TimerQueue = Timer;
304
305 /* Unlock the miniport block */
306 KeReleaseSpinLock(&Timer->Miniport->Lock, OldIrql);
307#endif
308
310}
#define ASSERT_IRQL(x)
Definition: debug.h:42
BOOLEAN DequeueMiniportTimer(PNDIS_MINIPORT_TIMER Timer)
Definition: time.c:94
#define KeAcquireSpinLock(sl, irql)
Definition: env_spec_w32.h:609
_In_ UINT MillisecondsToDelay
Definition: ndis.h:2828
#define Int32x32To64(a, b)
static ULONG Timeout
Definition: ping.c:61
BOOLEAN NTAPI KeSetTimer(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN PKDPC Dpc OPTIONAL)
Definition: timerobj.c:281

Referenced by DcStartAdapter(), Media143Handle10LinkPass(), Media143HandleNWayComplete(), Media143SelectNextMedia(), MediaLinkStateChange21040(), MediaLinkStateChange21041(), MediaMonitor21040Dpc(), MediaMonitor21041Dpc(), MediaMonitor21140Dpc(), and MediaMonitor21143Dpc().

◆ NdisMWanIndicateReceive()

NDISAPI VOID NTAPI NdisMWanIndicateReceive ( OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  MiniportAdapterHandle,
IN NDIS_HANDLE  NdisLinkContext,
IN PUCHAR  PacketBuffer,
IN UINT  PacketSize 
)

Definition at line 230 of file 50stubs.c.

236{
238}

◆ NdisMWanIndicateReceiveComplete()

NDISAPI VOID NTAPI NdisMWanIndicateReceiveComplete ( IN NDIS_HANDLE  MiniportAdapterHandle,
IN NDIS_HANDLE  NdisLinkContext 
)

Definition at line 247 of file 50stubs.c.

250{
252}

◆ NdisMWanSendComplete()

NDISAPI VOID NTAPI NdisMWanSendComplete ( IN NDIS_HANDLE  MiniportAdapterHandle,
IN PNDIS_WAN_PACKET  Packet,
IN NDIS_STATUS  Status 
)

Definition at line 261 of file 50stubs.c.

265{
267}

◆ NdisPciAssignResources()

NDISAPI NDIS_STATUS NTAPI NdisPciAssignResources ( IN NDIS_HANDLE  NdisMacHandle,
IN NDIS_HANDLE  NdisWrapperHandle,
IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SlotNumber,
OUT PNDIS_RESOURCE_LIST AssignedResources 
)

Definition at line 83 of file hardware.c.

89{
91 PLOGICAL_ADAPTER Adapter = WrapperContext->DeviceObject->DeviceExtension;
92
93 return NdisMPciAssignResources(Adapter,
95 AssignedResources);
96}
struct _NDIS_WRAPPER_CONTEXT * PNDIS_WRAPPER_CONTEXT
NDIS_STATUS EXPORT NdisMPciAssignResources(IN NDIS_HANDLE MiniportAdapterHandle, IN ULONG SlotNumber, OUT PNDIS_RESOURCE_LIST *AssignedResources)
Definition: hardware.c:58
_Must_inspect_result_ _Out_ PNDIS_STATUS _Out_ PNDIS_HANDLE _In_ NDIS_HANDLE WrapperConfigurationContext
Definition: ndis.h:3946
PVOID DeviceExtension
Definition: env_spec_w32.h:418
PDEVICE_OBJECT DeviceObject
Definition: miniport.h:79
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
Definition: wdfresource.h:68

◆ NdisQueryBindInstanceName()

_Must_inspect_result_ NDISAPI NDIS_STATUS NTAPI NdisQueryBindInstanceName ( _Out_ PNDIS_STRING  pAdapterInstanceName,
_In_ NDIS_HANDLE  BindingContext 
)

◆ NdisQueryPacket()

static __inline VOID NdisQueryPacket ( IN PNDIS_PACKET  Packet,
OUT PUINT PhysicalBufferCount  OPTIONAL,
OUT PUINT BufferCount  OPTIONAL,
OUT PNDIS_BUFFER *FirstBuffer  OPTIONAL,
OUT PUINT TotalPacketLength  OPTIONAL 
)
static

Definition at line 3593 of file ndis.h.

3599{
3600 if (FirstBuffer)
3601 *FirstBuffer = Packet->Private.Head;
3602 if (TotalPacketLength || BufferCount || PhysicalBufferCount) {
3603 if (!Packet->Private.ValidCounts) {
3604 UINT Offset;
3605 UINT PacketLength;
3606 PNDIS_BUFFER NdisBuffer;
3607 UINT _PhysicalBufferCount = 0;
3608 UINT _TotalPacketLength = 0;
3609 UINT Count = 0;
3610
3611 for (NdisBuffer = Packet->Private.Head;
3612 NdisBuffer != (PNDIS_BUFFER)NULL;
3613 NdisBuffer = NdisBuffer->Next) {
3614 _PhysicalBufferCount += NDIS_BUFFER_TO_SPAN_PAGES(NdisBuffer);
3615 NdisQueryBufferOffset(NdisBuffer, &Offset, &PacketLength);
3616 _TotalPacketLength += PacketLength;
3617 Count++;
3618 }
3619 Packet->Private.PhysicalCount = _PhysicalBufferCount;
3620 Packet->Private.TotalLength = _TotalPacketLength;
3621 Packet->Private.Count = Count;
3622 Packet->Private.ValidCounts = TRUE;
3623 }
3624
3625 if (PhysicalBufferCount)
3626 *PhysicalBufferCount = Packet->Private.PhysicalCount;
3627
3628 if (BufferCount)
3629 *BufferCount = Packet->Private.Count;
3630
3631 if (TotalPacketLength)
3632 *TotalPacketLength = Packet->Private.TotalLength;
3633 }
3634}
NDISAPI ULONG NTAPI NDIS_BUFFER_TO_SPAN_PAGES(IN PNDIS_BUFFER Buffer)
Definition: buffer.c:314
_Out_ PNDIS_BUFFER _In_ NDIS_HANDLE _In_ PVOID _In_ UINT Offset
Definition: ndis.h:3273
#define NdisQueryBufferOffset(_Buffer, _Offset, _Length)
Definition: ndis.h:3368
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101

Referenced by AdjustPacket(), FreeNdisPacket(), FreeNdisPacketX(), GetDataPtr(), InitializeTransferParameters(), MiniAdapterHasAddress(), MiniportSend(), MiniportTransferData(), NdisUnchainBufferAtBack(), NdisUnchainBufferAtFront(), NICPrepareForTransmit(), NICWritePacket(), ParaNdis_IndicateReceivedPacket(), ParaNdis_PacketCopier(), ProIndicatePacket(), ProSend(), and ResizePacket().

◆ NdisReadEisaSlotInformation()

NDISAPI VOID NTAPI NdisReadEisaSlotInformation ( OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  WrapperConfigurationContext,
OUT PUINT  SlotNumber,
OUT PNDIS_EISA_FUNCTION_INFORMATION  EisaData 
)

Definition at line 219 of file hardware.c.

224{
226 ULONG Ret;
228
229 NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
230
231 /* We are called only at PASSIVE_LEVEL */
233 if (!Buffer) {
234 NDIS_DbgPrint(MIN_TRACE, ("Insufficient resources.\n"));
236 return;
237 }
238
240 Wrapper->BusNumber,
241 Wrapper->SlotNumber,
242 Buffer,
244
245 if (Ret == 0 || Ret == 2) {
246 NDIS_DbgPrint(MIN_TRACE, ("HalGetBusData failed.\n"));
249 return;
250 }
251
252 *SlotNumber = Wrapper->SlotNumber;
253
255
257
259}
NTHALAPI ULONG NTAPI HalGetBusData(BUS_DATA_TYPE, ULONG, ULONG, PVOID, ULONG)
#define NDIS_STATUS_SUCCESS
Definition: ndis.h:346
#define NDIS_STATUS_RESOURCES
Definition: ndis.h:466
@ EisaConfiguration
Definition: miniport.h:90

◆ NdisReadEisaSlotInformationEx()

NDISAPI VOID NTAPI NdisReadEisaSlotInformationEx ( OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  WrapperConfigurationContext,
OUT PUINT  SlotNumber,
OUT PNDIS_EISA_FUNCTION_INFORMATION EisaData,
OUT PUINT  NumberOfFunctions 
)

Definition at line 298 of file 40stubs.c.

304{
306}

◆ NdisRegisterTdiCallBack()

NDISAPI VOID NTAPI NdisRegisterTdiCallBack ( _In_ TDI_REGISTER_CALLBACK  RegisterCallback,
_In_ TDI_PNP_HANDLER  PnPHandler 
)

◆ NdisSend()

NDISAPI VOID NTAPI NdisSend ( OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  NdisBindingHandle,
IN PNDIS_PACKET  Packet 
)

Definition at line 1272 of file protocol.c.

1283{
1285}
NDIS_STATUS NTAPI ProSend(IN NDIS_HANDLE MacBindingHandle, IN PNDIS_PACKET Packet)
Definition: protocol.c:473
_Must_inspect_result_ _In_ NDIS_HANDLE NdisBindingHandle
Definition: ndis.h:4735

Referenced by LANTransmit(), and NduDispatchWrite().

◆ NdisSendPackets()

NDISAPI VOID NTAPI NdisSendPackets ( IN NDIS_HANDLE  NdisBindingHandle,
IN PPNDIS_PACKET  PacketArray,
IN UINT  NumberOfPackets 
)

Definition at line 1293 of file protocol.c.

1297{
1299}
VOID NTAPI ProSendPackets(IN NDIS_HANDLE NdisBindingHandle, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)
Definition: protocol.c:577
_In_ PPNDIS_PACKET PacketArray
Definition: ndis.h:5120

◆ NdisSetPeriodicTimer()

NDISAPI VOID NTAPI NdisSetPeriodicTimer ( _In_ PNDIS_TIMER  NdisTimer,
_In_ UINT  MillisecondsPeriod 
)

◆ NdisSetProtocolFilter()

NDISAPI VOID NTAPI NdisSetProtocolFilter ( _At_ *, _Must_inspect_result_ _Out_ PNDIS_STATUS  Status,
_In_ NDIS_HANDLE  NdisBindingHandle,
_In_ RECEIVE_HANDLER  ReceiveHandler,
_In_ RECEIVE_PACKET_HANDLER  ReceivePacketHandler,
_In_ NDIS_MEDIUM  Medium,
_In_ UINT  Offset,
_In_ UINT  Size,
_In_ PUCHAR  Pattern 
)

◆ NdisSetupDmaTransfer()

NDISAPI VOID NTAPI NdisSetupDmaTransfer ( OUT PNDIS_STATUS  Status,
IN PNDIS_HANDLE  NdisDmaHandle,
IN PNDIS_BUFFER  Buffer,
IN ULONG  Offset,
IN ULONG  Length,
IN BOOLEAN  WriteToDevice 
)

Definition at line 497 of file io.c.

509{
511 NdisDmaHandle,
512 Buffer,
513 Offset,
514 Length,
516}
_In_ PSCSI_REQUEST_BLOCK _In_opt_ PVOID _In_ ULONG _In_ BOOLEAN WriteToDevice
Definition: cdrom.h:992
VOID EXPORT NdisMSetupDmaTransfer(OUT PNDIS_STATUS Status, IN NDIS_HANDLE MiniportDmaHandle, IN PNDIS_BUFFER Buffer, IN ULONG Offset, IN ULONG Length, IN BOOLEAN WriteToDevice)
Definition: io.c:432

◆ NdisTransferData()

NDISAPI VOID NTAPI NdisTransferData ( OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  NdisBindingHandle,
IN NDIS_HANDLE  MacReceiveContext,
IN UINT  ByteOffset,
IN UINT  BytesToTransfer,
IN OUT PNDIS_PACKET  Packet,
OUT PUINT  BytesTransferred 
)

Definition at line 1307 of file protocol.c.

1326{
1328 MacReceiveContext,
1329 ByteOffset,
1330 BytesToTransfer,
1331 Packet,
1333}
NDIS_STATUS NTAPI ProTransferData(IN NDIS_HANDLE MacBindingHandle, IN NDIS_HANDLE MacReceiveContext, IN UINT ByteOffset, IN UINT BytesToTransfer, IN OUT PNDIS_PACKET Packet, OUT PUINT BytesTransferred)
Definition: protocol.c:639
IN PDCB IN PCCB IN VBO IN OUT PULONG OUT PDIRENT OUT PBCB OUT PVBO ByteOffset
Definition: fatprocs.h:732

Referenced by NduReceive(), and ProtocolReceive().

◆ NdisUnchainBufferAtBack()

NDISAPI VOID NTAPI NdisUnchainBufferAtBack ( IN OUT PNDIS_PACKET  Packet,
OUT PNDIS_BUFFER Buffer 
)

Definition at line 1020 of file buffer.c.

1030{
1031 PNDIS_BUFFER NdisBuffer, Previous;
1032
1034 NULL,
1035 NULL,
1036 &NdisBuffer,
1037 NULL);
1038 if (!NdisBuffer) {
1039 NDIS_DbgPrint(MID_TRACE, ("No buffer to unchain\n"));
1040 *Buffer = NULL;
1041 return;
1042 }
1043
1044 Previous = NULL;
1045 while (NdisBuffer->Next) {
1046 Previous = NdisBuffer;
1047 NdisBuffer = NdisBuffer->Next;
1048 }
1049
1050 if (Previous) {
1051 Previous->Next = NULL;
1052 Packet->Private.Tail = Previous;
1053 } else {
1054 Packet->Private.Head = NULL;
1055 Packet->Private.Tail = NULL;
1056 }
1057
1058 Packet->Private.ValidCounts = FALSE;
1059
1060 *Buffer = NdisBuffer;
1061}
static __inline VOID NdisQueryPacket(IN PNDIS_PACKET Packet, OUT PUINT PhysicalBufferCount OPTIONAL, OUT PUINT BufferCount OPTIONAL, OUT PNDIS_BUFFER *FirstBuffer OPTIONAL, OUT PUINT TotalPacketLength OPTIONAL)
Definition: ndis.h:3593

◆ NdisUnchainBufferAtFront()

NDISAPI VOID NTAPI NdisUnchainBufferAtFront ( IN OUT PNDIS_PACKET  Packet,
OUT PNDIS_BUFFER Buffer 
)

Definition at line 1069 of file buffer.c.

1079{
1080 PNDIS_BUFFER NdisBuffer;
1081
1083 NULL,
1084 NULL,
1085 &NdisBuffer,
1086 NULL);
1087 if (!NdisBuffer) {
1088 NDIS_DbgPrint(MID_TRACE, ("No buffer to unchain\n"));
1089 *Buffer = NULL;
1090 return;
1091 }
1092
1093 Packet->Private.Head = NdisBuffer->Next;
1094
1095 if (!NdisBuffer->Next)
1096 Packet->Private.Tail = NULL;
1097
1098 NdisBuffer->Next = NULL;
1099
1100 Packet->Private.ValidCounts = FALSE;
1101
1102 *Buffer = NdisBuffer;
1103}

Referenced by CleanupAndFreePacket(), ParaNdis_IndicateReceivedPacket(), and ParaNdis_UnbindBufferFromPacket().

◆ NdisUpdateSharedMemory()

NDISAPI VOID NTAPI NdisUpdateSharedMemory ( IN NDIS_HANDLE  NdisAdapterHandle,
IN ULONG  Length,
IN PVOID  VirtualAddress,
IN NDIS_PHYSICAL_ADDRESS  PhysicalAddress 
)

Definition at line 249 of file 40stubs.c.

260{
261 /* No-op. */
262}

◆ VOID()

typedef VOID ( NTAPI  PROTCOL_CO_AF_REGISTER_NOTIFY)

Variable Documentation

◆ AdapterName

◆ AddressingInformation

◆ AllocatedResources

◆ AllocatedResourcesTranslated

◆ Buffer

Definition at line 2867 of file ndis.h.

◆ BufferSize

◆ BytesCopied

◆ BytesToCopy

◆ Cached

◆ CallMgrAfContext

_In_ NDIS_HANDLE _In_ NDIS_HANDLE CallMgrAfContext

Definition at line 4996 of file ndis.h.

◆ CallMgrPartyContext

Definition at line 4880 of file ndis.h.

◆ CallMgrSapContext

_In_ NDIS_HANDLE _In_ NDIS_HANDLE CallMgrSapContext

Definition at line 5016 of file ndis.h.

◆ CallParameters

Definition at line 2116 of file ndis.h.

◆ CancelId

Definition at line 6117 of file ndis.h.

Referenced by NdisGeneratePartialCancelId().

◆ CharacteristicsLength

Definition at line 6136 of file ndis.h.

Referenced by NdisMRegisterMiniport(), and NdisRegisterProtocol().

◆ ClCharacteristics

◆ CmCharacteristics

◆ Code

Definition at line 3217 of file ndis.h.

◆ ConfigurationHandle

◆ Context

Definition at line 3803 of file ndis.h.

◆ DataSize

Examples
/srv/doxygen/reactos/win32ss/gdi/gdi32/objects/utils.c.

Definition at line 4755 of file ndis.h.

Referenced by AccessMemory1(), AccessMemory2(), Allocate(), AllocateIndexNode(), ARPReceive(), AtapiReadLogicalSectorLBA(), BasepMoveFileDelayed(), BlHtStore(), BlpSecureBootEFIIsEnabled(), BlSecureBootCheckForFactoryReset(), CheckMemory1(), CheckMemory2(), CmGetSystemControlValues(), CmpCompareNewValueDataAgainstKCBCache(), CmpCopyCell(), CmpCopyValue(), CmpSetValueDataNew(), CmpSetValueKeyExisting(), CmpSetValueKeyNew(), CmpValidateValueListByCount(), ConvertBitmapInfo(), CreateJunction(), DECLARE_INTERFACE_(), DGDeliverData(), DrvGetModes(), EfiGetVariable(), EfiInitpConvertEfiFilePath(), ElfReportEventA(), ElfReportEventAndSourceW(), ElfReportEventW(), ElfrIntReportEventW(), ElfrReportEventA(), ElfrReportEventAndSourceW(), ElfrReportEventW(), EmulatorReadIo(), EmulatorWriteIo(), EventDataDescCreate(), FAST486_OPCODE_HANDLER(), Fast486IoReadCallback(), Fast486IoWriteCallback(), Free(), GetDeviceLocationString(), HdlspPutData(), ICMPReceive(), ICMPReply(), ICMPSendDatagram(), IncreaseMftSize(), IniCacheGetKeyValue(), IntEnumFontFamilies(), InternalSetResidentAttributeLength(), IntGdiAddFontResourceEx(), KdpSysReadIoSpace(), KdpSysWriteIoSpace(), KdVmAddToBuffer(), Mx::MxSetValueKey(), NdisWriteConfiguration(), NpAddDataQueueEntry(), NpCommonWrite(), NpReadDataQueue(), NpWriteDataQueue(), NtfsWriteFile(), NtGdiGetFontFamilyInfo(), NtlmStructWriteStrW(), NtlmUStrWriteToStruct(), NtSetValueKey(), FxIoTargetRemoteNotificationCallback::OnCustomEvent(), PinIntersectHandler(), PrepareNextFragment(), QSI_DEF(), RawIpReceive(), RawIPSendDatagram(), ReceiveDatagram(), RegQueryValue(), RegSetValueExA(), RepGetValueData(), FxDevice::RetrieveDeviceInfoRegistrySettings(), RosSymCreateFromRaw(), RtlpPageHeapReAllocate(), RtlSelfRelativeToAbsoluteSD2(), SetAttributeDataLength(), SetHKCRValue(), SetNonResidentAttributeDataLength(), SetRegistryValue(), SetResidentAttributeDataLength(), SockLoadHelperDll(), SpiGetPciConfigData(), START_TEST(), test_Predefined(), UDPReceive(), UDPSendDatagram(), USB2_AllocateHS(), USB2_DeallocateHS(), UsbAudioPinDataIntersect(), USBH_SetPdoRegistryParameter(), USBPORT_SetRegistryKeyValue(), ValidateAllocations(), Write_LocalFileHeader(), x86IoRead(), and x86IoWrite().

◆ DestinationOffset

Definition at line 3167 of file ndis.h.

◆ DeviceContext

Definition at line 5246 of file ndis.h.

Referenced by virtio_device_initialize().

◆ DeviceInstance

_In_ PNDIS_STRING DeviceInstance

Definition at line 5202 of file ndis.h.

◆ DeviceName

Definition at line 4676 of file ndis.h.

◆ Dma64BitAddresses

_In_ BOOLEAN Dma64BitAddresses

◆ DriverInstance

_In_ PNDIS_STRING DriverInstance

Definition at line 5245 of file ndis.h.

◆ ErrorCode

_In_ NDIS_ERROR_CODE ErrorCode

Definition at line 4436 of file ndis.h.

Referenced by _test_key_deleted(), AccRewriteGetExplicitEntriesFromAcl(), BasepDoTapeOperation(), bind(), BlStatusError(), BmFatalErrorEx(), BmpErrorLog(), BmpLaunchBootEntry(), CheckNtMartaPresent(), CleanupProtocolProviders(), closesocket(), connect(), CreateHKCRKey(), CreateProcessInternalW(), DeleteHKCRKey(), DeleteHKCRValue(), DeleteRegistryValue(), DeleteSubKey(), DiskError(), DiskGetErrorCodeString(), Dns_Ip4ReverseNameToAddress_W(), Dns_Ip4StringToAddress_W(), Dns_StringToAddressEx(), Dns_StringToDnsAddrEx(), DoFormatMessage(), DosGetCountryInfoEx(), DosInt21h(), EnumHKCRKey(), EnumHKCRValue(), CZipExtract::ExtractSingle(), Fast486ExceptionWithErrorCode(), Fast486InterruptInternal(), FreeInheritedFromArray(), getaddrinfo(), GetAuditedPermissionsFromAclA(), GetEffectiveRightsFromAclA(), GetExplicitEntriesFromAclW(), GetFallbackHKCRKey(), gethostbyaddr(), gethostbyname(), GetInheritanceSourceW(), GetNamedSecurityInfoW(), getnameinfo(), GetNameInfoW(), getpeername(), GetPreferredHKCRKey(), getprotobyname(), getprotobynumber(), GetProtoOpenNetworkDatabase(), GetSecurityInfo(), getservbyname(), getservbyport(), getsockname(), getsockopt(), getxyDataEnt(), IEffectivePermission_fnGetEffectivePermission(), inet_ntoa(), InternalExplicitAccessAToW(), InternalTrusteeAToW(), IofCompleteRequest(), ISecurityInformation_fnGetSecurity(), ISecurityObjectTypeInfo_fnGetInheritSource(), LibraryLogEvent(), listen(), LookupNodeByAddr(), main(), MapAnsiQuerySetToUnicode(), MapUnicodeQuerySetToAnsi(), NBFlushPacketQueue(), NdisWriteErrorLogEntry(), OpenHKCRKey(), OpenNetworkDatabase(), OslBlStatusErrorHandler(), OslFatalErrorEx(), PaintSelectionRect(), PrintErrorText(), PrintWin32Error(), QueryHKCRValue(), ReadRegistryComputerNameValue(), ReadRegistryValue(), recv(), recvfrom(), RegCreateKeyExA(), RegCreateKeyExW(), RegDeleteKeyExA(), RegDeleteKeyExW(), RegDeleteKeyValueW(), RegDeleteValueA(), RegDeleteValueW(), RegEnumKeyExA(), RegEnumKeyExW(), RegEnumValueA(), RegEnumValueW(), RegLoadKeyA(), RegLoadKeyW(), RegNotifyChangeKeyValue(), RegOpenKeyExA(), RegOpenKeyExW(), RegOverridePredefKey(), RegQueryInfoKeyA(), RegQueryInfoKeyW(), RegQueryMultipleValuesA(), RegQueryMultipleValuesW(), RegQueryValueExA(), RegQueryValueExW(), RegReplaceKeyA(), RegReplaceKeyW(), RegRestoreKeyA(), RegSaveKeyA(), RegSaveKeyExA(), RegSetValueExA(), RegSetValueExW(), RegUnLoadKeyA(), ReportLastError(), Rs232ConfigurePortWin32(), Rs232OpenPortWin32(), Rs232ReadByteWin32(), Rs232SetCommunicationTimeoutsWin32(), Rs232WriteByteWin32(), SaBlob_CreateFromRecords(), SaBlob_Query(), SaBlob_WriteRecords(), ScsiPortLogError(), select(), send(), sendto(), SetEntriesInAclA(), SetEntriesInAclW(), SetHKCRValue(), SetNamedSecurityInfoW(), SetSecurityInfo(), setsockopt(), shutdown(), socket(), START_TEST(), StorPortLogError(), Test_CreateOpenKey(), Test_DuplicateHandle(), test_GetNetworkParams(), TestReturnValues(), TiWriteErrorLog(), TreeResetNamedSecurityInfoW(), VideoPortLogError(), WahCloseApcHelper(), WahCloseHandleHelper(), WahCloseNotificationHandleHelper(), WahCloseSocketHandle(), WahCloseThread(), WahCompleteRequest(), WahCreateHandleContextTable(), WahCreateSocketHandle(), WahDisableNonIFSHandleSupport(), WahOpenApcHelper(), WahOpenHandleHelper(), WahOpenNotificationHandleHelper(), WahRemoveHandleContext(), Win32ErrorToMmResult(), WPUModifyIFSHandle(), WPUQueryBlockingCallback(), WriteRegistryValue(), WSAAccept(), WSAAddressToStringA(), WSAAddressToStringW(), WSAAsyncGetHostByAddr(), WSAAsyncGetHostByName(), WSAAsyncGetProtoByName(), WSAAsyncGetProtoByNumber(), WSAAsyncGetServByName(), WSAAsyncGetServByPort(), WSAAsyncSelect(), WSABuildQuerySetBufferA(), WSABuildQuerySetBufferW(), WSACancelAsyncRequest(), WSACancelBlockingCall(), WSACleanup(), WSAConnect(), WSADuplicateSocketA(), WSADuplicateSocketW(), WSAEnumNetworkEvents(), WSAEventSelect(), WSAGetOverlappedResult(), WSAGetQOSByName(), WSAHtonl(), WSAHtons(), WSAIoctl(), WSAIsBlocking(), WSAJoinLeaf(), WSALookupServiceBeginA(), WSALookupServiceBeginW(), WSALookupServiceEnd(), WSALookupServiceNextA(), WSALookupServiceNextW(), WSANtohl(), WSANtohs(), WsApiProlog(), WSARecv(), WSARecvDisconnect(), WSARecvFrom(), WSASend(), WSASendDisconnect(), WSASendTo(), WSASetBlockingHook(), WSASocketW(), WSAStartup(), WSAStringToAddressA(), WSAStringToAddressW(), WsAsyncGetHost(), WsAsyncGetProto(), WsAsyncGetServ(), WSAUnhookBlockingHook(), WSCGetProviderPath(), WsNcEntryInitializeFromRegistry(), WsNcGetCatalogFromProviderId(), WsNcInitializeFromRegistry(), WsNcLoadProvider(), WsNcOpen(), WsNcRefreshFromRegistry(), WsNpInitialize(), WsNpNSPCleanup(), WsNqLookupServiceBegin(), WsNqLookupServiceNext(), WsOpenRegistryRoot(), WsProcInitialize(), WsProcOpenAsyncHelperDevice(), WsProcStartup(), WsRasLoadHelperDll(), WsSetupCatalogProtection(), WsSlowPrologTid(), WsSockAssociateHandle(), WsSockFindIfsSocket(), WsTcFindIfsProviderForSocket(), WsTcGetEntryFromAf(), WsTcGetEntryFromCatalogEntryId(), WsTcGetEntryFromTriplet(), WsTcInitializeFromRegistry(), WsTcLoadProvider(), WsTcOpen(), WsTcRefreshFromRegistry(), WsThreadCancelBlockingCall(), WsThreadCreate(), WsThreadInitialize(), WsThreadStartup(), WsTpDelete(), WsTpInitialize(), and WsTpWSPCleanup().

◆ EventCode

_In_ ULONG EventCode

Definition at line 4751 of file ndis.h.

Referenced by FsRtlNotifyVolumeEvent(), MediaEventSink_Notify(), and ProSetupPnPEvent().

◆ FileHandle

Definition at line 3227 of file ndis.h.

◆ FileLength

◆ FileName

◆ FunctionalDeviceObject

◆ FunctionContext

◆ fWrite

Definition at line 4586 of file ndis.h.

Referenced by NdisAcquireReadWriteLock().

◆ GeneralStatus

Definition at line 1556 of file ndis.h.

Referenced by MiniStatus(), NdisMIndicateStatus(), and ProtocolStatus().

◆ Handle

Definition at line 3216 of file ndis.h.

◆ HighestAcceptableAddress

◆ Index

◆ InitialPort

◆ IoCount

Definition at line 6126 of file ndis.h.

Referenced by DetectFeatures().

◆ KeyHandle

Definition at line 4715 of file ndis.h.

Referenced by acpi_create_registry_table(), acpi_create_volatile_registry_tables(), AcpiRegOpenKey(), AcpiRegQueryValue(), AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddKbLayoutsToRegistry(), append_multi_sz_value(), ApphelpCacheRead(), ApphelpCacheWrite(), AVrfReadIFEO(), BaseComputeProcessDllPath(), BasepIsProcessAllowed(), BasepMoveFileDelayed(), BaseSrvIsVdmAllowed(), BiAddStoreFromFile(), BiCloseKey(), BiDeleteKey(), BiDereferenceHive(), BiEnumerateSubKeys(), BiGetRegistryValue(), CheckKeySecurity__(), CmBattAddDevice(), CmBattCreateFdo(), CmGetSystemDriverList(), CmInitSystem1(), CmLoadKey(), CmpAddToHiveFileList(), CmpCreateControlSet(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpIsHiveAlreadyLoaded(), CmpLinkHiveToMaster(), CmpRemoveFromHiveFileList(), CmpSetSystemValues(), CreateNestedKey(), CreateProcessInternalW(), CreateProtoHive(), CreateRegistryKeyHandle(), CreateRegKey(), DeleteValueTest(), DestroyProtoHive(), do_reg_operation(), DriverEntry(), DumpRegistryData(), EnumerateDevices(), ExpGetCurrentUserUILanguage(), ExpSetCurrentUserUILanguage(), ExpUuidLoadSequenceNumber(), ExpUuidSaveSequenceNumber(), FdoCreateRawParallelPdo(), FltpReadRegistryValue(), GetComputerNameFromRegistry(), GetComputerNames(), GetCPFileNameFromRegistry(), GetRegInt(), GetRegIntFromID(), GetRootKeyByPredefKey(), GetTimeouts(), HalpGetChipHacks(), HalpMarkAcpiHal(), HalpMarkChipsetDecode(), HalpOpenRegistryKey(), HalpQueryPciRegistryInfo(), HalpRegisterPciDebuggingDeviceInfo(), i8042StoreSMBiosTables(), InitializeProvider(), IntGdiAddFontResourceEx(), IntLoadFontsInRegistry(), IntLoadFontSubstList(), IntLoadRegistryParameters(), IopInitializeBootDrivers(), IopInitializePlugPlayServices(), IopOpenRegistryKeyEx(), IopSaveBootLogToFile(), IopStoreSystemPartitionInformation(), IoSetSystemPartition(), IsShimInfrastructureDisabled(), JapaneseEra_IsFirstYearGannen(), JapaneseEra_Load(), LdrpDisableProcessCompatGuidDetection(), LdrpInitializeApplicationVerifierPackage(), LdrpInitializeExecutionOptions(), LdrQueryImageFileExecutionOptionsEx(), LdrQueryImageFileKeyOption(), LsapIsDatabaseInstalled(), LsapRegCloseKey(), LsapRegCreateKey(), LsapRegDeleteKey(), LsapRegDeleteValue(), LsapRegEnumerateSubKey(), LsapRegEnumerateValue(), LsapRegOpenKey(), LsapRegQueryKeyInfo(), LsapRegQueryValue(), LsapRegSetValue(), MupGetProviderInformation(), Mx::MxDeleteKey(), Mx::MxOpenKey(), Mx::MxQueryValueKey(), Mx::MxSetValueKey(), NdisOpenConfiguration(), NdisOpenConfigurationKeyByIndex(), NdisOpenConfigurationKeyByName(), NdisOpenProtocolConfiguration(), NetIDPage_OnApply(), NetIDPage_OnInitDialog(), NetworkDlg_OnOK(), NewCtxInit(), NtCreateKey(), NtDeleteKey(), NtDeleteValueKey(), NtEnumerateKey(), NtEnumerateValueKey(), NtFlushKey(), NtNotifyChangeKey(), NtOpenKey(), NtQueryKey(), NtQueryOpenSubKeys(), NtQueryValueKey(), NtSaveKey(), NtSaveKeyEx(), NtSetDefaultLocale(), NtSetValueKey(), OpenClassesRootKey(), OpenCurrentConfigKey(), OpenLocalMachineKey(), OpenRegistryKeyHandle(), OpenSoundDeviceRegKey(), OpenSoundDriverParametersRegKey(), OpenUsersKey(), PciAcpiFindRsdt(), PciAddDevice(), PciBuildHackTable(), PciGetBiosConfig(), PciGetIrqRoutingTableFromRegistry(), PciGetRegistryValue(), PciOpenKey(), PciSaveBiosConfig(), Phase1InitializationDiscard(), PiGetDeviceRegistryProperty(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), PnpDeviceObjectToDeviceInstance(), PopReadShutdownPolicy(), ProcessDisplayRegistry(), ProcessLocaleRegistry(), ProcessorSetFriendlyName(), RegCleanupRegistry(), RegCopyTreeW(), RegDeleteTreeW(), RegDeleteValueA(), RegDeleteValueW(), RegEnumKeyExW(), RegEnumValueW(), RegFlushKey(), RegGetKeySecurity(), RegInitializeRegistry(), registry_callback(), RegLoadKeyW(), RegNotifyChangeKeyValue(), RegOpenKeyExW(), RegpCopyTree(), RegQueryInfoKeyW(), RegReplaceKeyW(), RegRestoreKeyW(), RegSaveKeyW(), RegSetKeySecurity(), RegSetKeyValueA(), RegSetKeyValueW(), RegSetValueExW(), RegUnLoadKeyW(), RtlAddAttributeActionToRXact(), RtlCheckRegistryKey(), RtlCreateRegistryKey(), RtlDeleteRegistryValue(), RtlInitializeRXact(), RtlOpenCurrentUser(), RtlpCloseRegistryHandle(), RtlpGetRegistryHandle(), RtlpNtCreateKey(), RtlpNtEnumerateSubKey(), RtlpNtMakeTemporaryKey(), RtlpNtOpenKey(), RtlpNtQueryValueKey(), RtlpNtSetValueKey(), RtlQueryRegistryValues(), RtlWriteRegistryValue(), RXactInitializeContext(), RXactpCommit(), RXactpOpenTargetKey(), RxGetRegistryParameters(), RxGetStringRegistryParameter(), RxReadRegistryParameters(), SampRegCloseKey(), SampRegCreateKey(), SampRegDeleteValue(), SampRegEnumerateSubKey(), SampRegEnumerateValue(), SampRegOpenKey(), SampRegQueryKeyInfo(), SampRegQueryValue(), SampRegSetValue(), SdbDeletePermLayerKeys(), SdbpGetPermLayersInternal(), SdbpOpenKey(), SdbSetPermLayerKeys(), SepRegQueryHelper(), SetActiveComputerNameToRegistry(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetGeoID(), SetMountedDeviceValue(), SmpCreateDynamicEnvironmentVariables(), SmpLoadDataFromRegistry(), SmpQueryRegistrySosOption(), SmpTranslateSystemPartitionInformation(), SockLoadHelperDll(), SockLoadTransportList(), SockLoadTransportMapping(), START_TEST(), Test_DuplicateHandle(), TestCreateOpen_(), TestRtlQueryRegistryValues(), UnhandledExceptionFilter(), USBH_SetPdoRegistryParameter(), USBH_WriteFailReasonID(), USBPORT_GetRegistryKeyValueFullInfo(), USBPORT_SetRegistryKeyValue(), and UserGetLanguageID().

◆ KeyName

◆ Keyword

◆ Length

Definition at line 2870 of file ndis.h.

◆ LockState

Definition at line 4587 of file ndis.h.

◆ LogBufferSize

_In_ UINT LogBufferSize

Definition at line 5822 of file ndis.h.

Referenced by NdisMWriteLogData().

◆ LogHandle

◆ MacContext

Definition at line 6109 of file ndis.h.

◆ MappedBuffer

_Out_ PVOID* MappedBuffer

Definition at line 3245 of file ndis.h.

Referenced by NdisMapFile().

◆ MaximumPhysicalMapping

_In_ BOOLEAN _In_ ULONG MaximumPhysicalMapping

Definition at line 4653 of file ndis.h.

Referenced by NdisMInitializeScatterGatherDma().

◆ MediumArraySize

◆ MemoryDescriptor

◆ MillisecondPeriod

_In_ UINT MillisecondPeriod

Definition at line 5655 of file ndis.h.

◆ MillisecondsToDelay

_In_ UINT MillisecondsToDelay

Definition at line 2828 of file ndis.h.

Referenced by NdisMSetTimer(), NdisSetTimer(), and NdisSetTimerEx().

◆ MiniportAdapterHandle

◆ MiniportVcContext

_In_ NDIS_HANDLE _In_ NDIS_HANDLE MiniportVcContext

Definition at line 2101 of file ndis.h.

◆ MsToWait

_In_ UINT MsToWait

Definition at line 5881 of file ndis.h.

Referenced by NdisWaitEvent().

◆ NdisAfHandle

_In_ NDIS_HANDLE NdisAfHandle

Definition at line 4848 of file ndis.h.

◆ NdisBindingHandle

◆ NdisDeviceHandle

◆ NdisDriverHandle

_Out_ PNDIS_HANDLE NdisDriverHandle

Definition at line 6064 of file ndis.h.

Referenced by NdisGetDriverHandle().

◆ NdisPartyHandle

Definition at line 4769 of file ndis.h.

◆ NdisProtocolHandle

_Out_ PNDIS_HANDLE NdisProtocolHandle

Definition at line 6001 of file ndis.h.

◆ NdisRequest

◆ NdisSapHandle

_In_ NDIS_HANDLE NdisSapHandle

Definition at line 4859 of file ndis.h.

◆ NdisVcHandle

_In_ NDIS_HANDLE NdisVcHandle

Definition at line 2100 of file ndis.h.

◆ NetPnPEvent

Definition at line 6082 of file ndis.h.

Referenced by NdisCompletePnPEvent(), and NduNetPnPEvent().

◆ NetworkAddress

◆ NetworkAddressLength

Definition at line 3958 of file ndis.h.

Referenced by NdisReadNetworkAddress().

◆ NextDeviceObject

◆ NumberOfDescriptors

_Out_ PNDIS_HANDLE _In_ UINT NumberOfDescriptors

Definition at line 2879 of file ndis.h.

Referenced by NdisAllocatePacketPool(), and NdisAllocatePacketPoolEx().

◆ NumberOfErrorValues

_In_ NDIS_ERROR_CODE _In_ ULONG NumberOfErrorValues

Definition at line 4437 of file ndis.h.

◆ NumberOfOverflowDescriptors

_Out_ PNDIS_HANDLE _In_ UINT _In_ UINT NumberOfOverflowDescriptors

Definition at line 2915 of file ndis.h.

Referenced by NdisAllocatePacketPoolEx().

◆ NumberOfPackets

◆ NumberOfPorts

Definition at line 5444 of file ndis.h.

◆ NumStrings

◆ Offset

Definition at line 3273 of file ndis.h.

Referenced by NdisQueryPacket().

◆ OpenErrorStatus

◆ OpenOptions

◆ OpenStatus

Definition at line 6035 of file ndis.h.

Referenced by LANRegisterAdapter().

◆ Packet

Definition at line 1549 of file ndis.h.

Referenced by AdjustPacket(), AllocateAndChainBuffer(), AllocatePacketWithBuffer(), AllocatePacketWithBufferX(), ARPReceive(), BeepCleanup(), BuildRawIpPacket(), BuildUDPPacket(), byte_till_end(), CleanupAndFreePacket(), CompletePacket(), CreatePacketFromPoolBuffer(), DcCancelSendPackets(), DcCopyPacket(), DcFlushTransmitQueue(), DcHandleRxReceivedFrames(), DcIndicateReceivePackets(), DcProcessPendingPackets(), DcReturnPacket(), DcSendPacket(), DcSendPackets(), display_buffer(), FatCleanVolumeDpc(), FatDeferredCleanVolume(), FatFspMarkVolumeDirtyWithRecover(), FatOverflowPagingFileRead(), FatPagingFileErrorHandler(), FreeNdisPacket(), FreeNdisPacketX(), GET_NUMBER_OF_SG_ELEMENTS(), GetCachedInfo(), GetDataPtr(), IopDeleteIoCompletion(), IopFreeMiniPacket(), IopLogWorker(), IoSetIoCompletion(), KdpSendControlPacket(), KdReceivePacket(), KdSendPacket(), LanReceiveWorker(), LanSubmitReceiveWork(), main(), MiniAdapterHasAddress(), MiniDequeueWorkItem(), MiniportCloseEndpoint(), MiniportOpenEndpoint(), MiniportSend(), MiniportTransferData(), MiniSendComplete(), MiniTransferDataComplete(), MouseDispatchPacket(), MouseGetPacket(), NBCompleteSend(), NBFlushPacketQueue(), NBQueuePacket(), NBSendPackets(), NdisAllocatePacket(), NdisAllocatePacketPoolEx(), NdisDprAllocatePacket(), NdisDprAllocatePacketNonInterlocked(), NdisDprFreePacket(), NdisDprFreePacketNonInterlocked(), NdisFreePacket(), NdisGetPacketCancelId(), NdisGetPoolFromPacket(), NdisMSendComplete(), NdisMTransferDataComplete(), NdisQueryPacket(), NdisSend(), NdisSetPacketCancelId(), NdisTransferData(), NdisUnchainBufferAtBack(), NdisUnchainBufferAtFront(), NduDispatchWrite(), NduReceive(), NICPrepareForTransmit(), NtRemoveIoCompletion(), NvNetCopyPacket(), NvNetGetChecksumInfo(), NvNetQueryTcpIpHeaders(), NvNetSendPacket(), NvNetSendPacketLargeSend(), ParaNdis5_CancelSendPackets(), ParaNdis5_ReturnPacket(), ParaNdis_BindBufferToPacket(), ParaNdis_IndicateReceivedPacket(), ParaNdis_PacketCopier(), ParaNdis_UnbindBufferFromPacket(), PcDiskReadLogicalSectorsLBA(), PrepareSendEntry(), PrependPacket(), ProIndicatePacket(), ProSend(), proSendPacketToMiniport(), ProtocolSendComplete(), ProtocolTransferDataComplete(), ProTransferData(), RawIPSendDatagram(), ResizePacket(), ScatterGatherSendPacket(), TCPSendDataCallback(), TestKs(), UDPSendDatagram(), USB2_RebalanceEndpoint(), USBDI_IsDeviceHighSpeed(), USBHI_GetExtendedHubInformation(), USBPORT_ClosePipe(), USBPORT_CreateDevice(), USBPORT_DmaEndpointActive(), USBPORT_DmaEndpointPaused(), USBPORT_EndpointWorker(), USBPORT_FdoPnP(), USBPORT_GetDeviceHwIds(), USBPORT_HandleGetCurrentFrame(), USBPORT_InterruptService(), USBPORT_InvalidateEndpointHandler(), USBPORT_IsrDpc(), USBPORT_IsrDpcHandler(), USBPORT_MiniportInterrupts(), USBPORT_OpenPipe(), USBPORT_PdoPnP(), USBPORT_ReopenPipe(), USBPORT_ResetPipe(), USBPORT_RestoreDevice(), USBPORT_ResumeController(), USBPORT_RH_SetFeatureUSB2PortPower(), USBPORT_RootHubClassCommand(), USBPORT_RootHubCreateDevice(), USBPORT_RootHubEndpointWorker(), USBPORT_RootHubPowerAndChirpAllCcPorts(), USBPORT_RootHubSCE(), USBPORT_RootHubStandardCommand(), USBPORT_SetEndpointState(), USBPORT_StartDevice(), USBPORT_SuspendController(), USBPORT_SynchronizeRootHubCallback(), USBPORT_TimerDpc(), USBPORT_WorkerThreadHandler(), WDF_USB_CONTROL_SETUP_PACKET_INIT(), WDF_USB_CONTROL_SETUP_PACKET_INIT_CLASS(), WDF_USB_CONTROL_SETUP_PACKET_INIT_FEATURE(), WDF_USB_CONTROL_SETUP_PACKET_INIT_GET_STATUS(), WDF_USB_CONTROL_SETUP_PACKET_INIT_VENDOR(), and XNdisGetFirstBufferFromPacket().

◆ PacketArray

◆ ParameterType

◆ ParameterValue

◆ pDeviceObject

◆ PhysicalAddress

Definition at line 3793 of file ndis.h.

◆ PhysicalDeviceObject

_Inout_opt_ PDEVICE_OBJECT* PhysicalDeviceObject

Definition at line 4640 of file ndis.h.

◆ pIndex

◆ pKernelAndUser

_Out_ PULONG pKernelAndUser

Definition at line 4564 of file ndis.h.

Referenced by NdisGetCurrentProcessorCounts().

◆ PoolHandle

◆ PortOffset

_In_ UINT _In_ UINT _In_ PVOID PortOffset

Definition at line 5445 of file ndis.h.

Referenced by NdisMDeregisterIoPortRange(), and NdisMRegisterIoPortRange().

◆ PrimaryMiniportAdapterHandle

_In_ NDIS_HANDLE PrimaryMiniportAdapterHandle

Definition at line 4703 of file ndis.h.

◆ ProtocolAfContext

Definition at line 1579 of file ndis.h.

◆ ProtocolBindingContext

◆ ProtocolCharacteristics

Definition at line 6135 of file ndis.h.

Referenced by ndisBindMiniportsToProtocol(), and NdisRegisterProtocol().

◆ ProtocolHandle

_In_ NDIS_HANDLE ProtocolHandle

Definition at line 5194 of file ndis.h.

◆ ProtocolId

_In_ UINT ProtocolId

Definition at line 2924 of file ndis.h.

Referenced by AcpiExGetProtocolBufferLength(), and CheckProtocolMatch().

◆ ProtocolPartyContext

Definition at line 1572 of file ndis.h.

◆ ProtocolReservedLength

_Out_ PNDIS_HANDLE _In_ UINT _In_ UINT _In_ UINT ProtocolReservedLength

Definition at line 2905 of file ndis.h.

Referenced by NdisAllocatePacketPool(), and NdisAllocatePacketPoolEx().

◆ ProtocolSapContext

Definition at line 4857 of file ndis.h.

◆ ProtocolSection

Definition at line 6073 of file ndis.h.

Referenced by NdisOpenProtocolConfiguration().

◆ ProtocolVcContext

Definition at line 1548 of file ndis.h.

◆ Request

Definition at line 5174 of file ndis.h.

◆ ResourceList

◆ Sap

Definition at line 4858 of file ndis.h.

◆ SelectedMediumIndex

◆ Size

Definition at line 4788 of file ndis.h.

◆ SizeOfClCharacteristics

◆ SizeOfCmCharacteristics

◆ Source

Definition at line 3169 of file ndis.h.

Referenced by __lidt(), __movsb(), __movsd(), __movsw(), _IRQL_requires_max_(), _Success_(), AcpiNsCopyDeviceId(), AcpiNsRemoveElement(), AcpiNsRemoveNullElements(), AcpiNsRepair_HID(), AcpiRsConvertAmlToResource(), AcpiRsConvertResourceToAml(), AcpiRsMoveData(), AcpiRsStrcpy(), AcpiTbSetupFadtRegisters(), AddrWidenAddress(), ApphelpDuplicateUnicodeString(), Blt_Test(), BltMask(), CdConvertBigToLittleEndian(), CheckBufferRead(), CheckBufferReadWrite(), CmpCopyCompressedName(), CmpCopyName(), ConsoleCreateUnicodeString(), convert_l4a4_unorm(), convert_r16g16(), convert_r16g16_snorm(), convert_r32g32_float(), convert_r8g8_snorm(), convert_r8g8_snorm_l8x8_unorm(), convert_r8g8_snorm_l8x8_unorm_nv(), convert_r8g8b8a8_snorm(), ConvertInputAnsiToUnicode(), ConvertInputUnicodeToAnsi(), COutputPin::ConvertTimeFormat(), CKsProxy::ConvertTimeFormat(), FxChildList::CopyAddress(), ATL::CElementTraitsBase< T >::CopyElements(), CopyFunction(), FxChildList::CopyId(), CopyResourceList(), CopyString(), CreateBase(), CreateMain(), DIB_16BPP_AlphaBlend(), DIB_16BPP_TransparentBlt(), DIB_1BPP_BitBlt(), DIB_24BPP_AlphaBlend(), DIB_24BPP_BitBlt(), DIB_24BPP_TransparentBlt(), DIB_32BPP_AlphaBlend(), DIB_32BPP_TransparentBlt(), DIB_4BPP_BitBlt(), DIB_8BPP_TransparentBlt(), DIB_DoRop(), DIB_XXBPP_AlphaBlend(), DIB_XXBPP_StretchBlt(), DIBtoVGA(), DrvBitBlt(), DrvTransparentBlt(), FxChildList::DuplicateAddress(), FxChildList::DuplicateId(), DuplicateString(), DuplicateUnicodeString(), ExpandEnvironmentStringsA(), ExpandEnvironmentStringsW(), FAST486_OPCODE_HANDLER(), filesys_CopyFile(), filesys_CopyFolder(), filesys_MoveFile(), filesys_MoveFolder(), FstubTranslateRequirement(), FstubTranslateResource(), FxDuplicateUnicodeString(), FxDuplicateUnicodeStringToString(), GreenQueryId(), CLBarItemBase::InitNuiInfo(), IntAddConsoleAlias(), IntCloneMenu(), IntCloneMenuItems(), IntCreateAliasEntry(), InterlockedReadUlong(), IntGetAliasEntry(), IntGetConsoleAlias(), IntSafeCopyUnicodeString(), IntSafeCopyUnicodeStringTerminateNULL(), IntSetMenuItemInfo(), KdpMoveMemory(), KeProfileInterruptWithSource(), KiParseProfileList(), LoadEventSources(), MediaSeeking_ConvertTimeFormat(), MediaSeekingPassThru_ConvertTimeFormat(), MemFastMoveMemory(), MmInitializeProcessAddressSpace(), NdisCopyFromPacketToPacket(), NdisCopyFromPacketToPacketSafe(), NICReadData(), NICReadDataAlign(), NICWriteData(), NICWriteDataAlign(), ntohl(), NtProcessStartup(), NtSetIntervalProfile(), Ping(), QueryStringCallback(), QueryTokenSourceTests(), RamdiskReadWriteReal(), ATL::CElementTraitsBase< T >::RelocateElements(), RtlAppendAsciizToString(), RtlAppendStringToString(), RtlAppendUnicodeStringToString(), RtlAppendUnicodeToString(), RtlCompareMemoryUlong(), RtlCopyMappedMemory(), RtlCreateUnicodeString(), RtlCreateUnicodeStringFromAsciiz(), RtlDowncaseUnicodeChar(), RtlExpandEnvironmentStrings_U(), RtlGetFullPathName_Ustr(), RtlMoveMemory(), RtlpCallQueryRegistryRoutine(), RtlpCopyParameterString(), RtlpDowncaseUnicodeChar(), RtlPrefetchMemoryNonTemporal(), RtlpSafeCopyMemory(), RtlpUpcaseUnicodeChar(), RtlUlongByteSwap(), RtlUlonglongByteSwap(), RtlUpcaseUnicodeChar(), RtlUpperChar(), RtlUshortByteSwap(), RunTraceRoute(), ScsiPortMoveMemory(), SerenumInitMultiSzString(), SerenumPdoPnp(), SetupDiGetDeviceInstallParamsW(), SmLookupSubsystem(), SourceSeekingImpl_ConvertTimeFormat(), START_TEST(), StorPortMoveMemory(), TaCopyTransportAddressInPlace(), TestKM(), TestUM(), TokenRingGetSourceRouteIndicator(), TokenRingResetSourceRouteIndicator(), TokenRingSetSourceRouteIndicator(), and VGADDI_BltSrc().

◆ SourceOffset

◆ StacksRemaining

_Out_ BOOLEAN* StacksRemaining

Definition at line 2953 of file ndis.h.

Referenced by NdisIMGetCurrentPacketStack().

◆ Status

Definition at line 3215 of file ndis.h.

◆ StatusBuffer

Definition at line 1557 of file ndis.h.

Referenced by MiniStatus(), and NdisMIndicateStatus().

◆ StatusBufferSize

Definition at line 1558 of file ndis.h.

Referenced by MiniStatus(), and NdisMIndicateStatus().

◆ StringsList

Definition at line 4754 of file ndis.h.

◆ SubKeyHandle

◆ SubKeyName

◆ SymbolicName

◆ SystemSpecific

_In_opt_ PVOID SystemSpecific

Definition at line 5840 of file ndis.h.

◆ SystemSpecific2

◆ SystemSpecific3

◆ Tag

Definition at line 4556 of file ndis.h.

◆ TimerCancelled

_Out_ _At_ TimerCancelled PBOOLEAN TimerCancelled

◆ TimerFunction

Definition at line 2811 of file ndis.h.

Referenced by NdisInitializeTimer(), and NdisMInitializeTimer().

◆ UniqueEventValue

_In_ NDIS_STATUS _In_ ULONG UniqueEventValue

Definition at line 4752 of file ndis.h.

◆ UnloadHandler

_In_ PDRIVER_UNLOAD UnloadHandler

Definition at line 4688 of file ndis.h.

Referenced by DriverEntry(), and NdisMRegisterUnloadHandler().

◆ VirtualAddress

◆ WrapperConfigurationContext