ReactOS 0.4.16-dev-336-gb667d82
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 (