Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ndismain.h File Reference

#include <ntstatus.h>
#include <netevent.h>
#include <ntddndis.h>

Go to the source code of this file.

Classes

struct  _NDIS_SPIN_LOCK
struct  _NDIS_EVENT
struct  _NDIS_WORK_ITEM
struct  BINARY_DATA
struct  _NDIS_CONFIGURATION_PARAMETER
struct  _NDIS_WAN_LINE_UP
struct  _NDIS_WAN_LINE_DOWN
struct  _NDIS_WAN_FRAGMENT
struct  _NDIS_WAN_GET_STATS
struct  _NDIS_DMA_DESCRIPTION
struct  _NDIS_DMA_BLOCK
struct  _NDIS_PACKET_PRIVATE
struct  _MEDIA_SPECIFIC_INFORMATION
struct  _NDIS_PACKET_OOB_DATA
struct  _NDIS_PACKET
struct  _NDIS_PACKET_EXTENSION
struct  _NDIS_TCP_IP_CHECKSUM_PACKET_INFO
struct  _NDIS_IPSEC_PACKET_INFO
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_WAN_PACKET
struct  _NDIS_REQUEST
union  _NDIS_REQUEST::_DATA
struct  _NDIS_REQUEST::_DATA::_QUERY_INFORMATION
struct  _NDIS_REQUEST::_DATA::_SET_INFORMATION
struct  CO_ADDRESS_FAMILY
struct  CO_SAP
struct  _NDIS_PHYSICAL_ADDRESS_UNIT
struct  _REFERENCE
struct  _MAP_REGISTER_ENTRY
union  _NDIS_RW_LOCK_REFCOUNT
struct  _NDIS_RW_LOCK
struct  _LOCK_STATE
struct  _NDIS_TIMER

Defines

#define NDIS_NT   1
#define NDIS_INIT_FUNCTION(_F)   alloc_text(INIT,_F)
#define NDIS_PAGABLE_FUNCTION(_F)   alloc_text(PAGE,_F)
#define NDIS_PAGEABLE_FUNCTION(_F)   alloc_text(PAGE,_F)
#define EXPORT   DECLSPEC_IMPORT
#define NdisMoveMemory(Destination, Source, Length)   RtlCopyMemory(Destination, Source, Length)
#define NdisZeroMemory(Destination, Length)   RtlZeroMemory(Destination, Length)
#define NdisEqualMemory(Source1, Source2, Length)   RtlEqualMemory(Source1, Source2, Length)
#define NdisFillMemory(Destination, Length, Fill)   RtlFillMemory(Destination, Length, Fill)
#define NdisRetrieveUlong(Destination, Source)   RtlRetrieveUlong(Destination, Source)
#define NdisStoreUlong(Destination, Value)   RtlStoreUlong(Destination, Value)
#define NDIS_STRING_CONST(x)   {sizeof(L##x)-2, sizeof(L##x), L##x}
#define NdisMoveToMappedMemory(Destination, Source, Length)   NdisMoveMappedMemory(Destination,Source,Length)
#define NdisMoveFromMappedMemory(Destination, Source, Length)   NdisMoveMappedMemory(Destination,Source,Length)
#define NdisInterruptLatched   Latched
#define NdisInterruptLevelSensitive   LevelSensitive
#define NDIS_FLAGS_PROTOCOL_ID_MASK   0x0000000F
#define NDIS_FLAGS_MULTICAST_PACKET   0x00000010
#define NDIS_FLAGS_BROADCAST_PACKET   0x00000020
#define NDIS_FLAGS_DIRECTED_PACKET   0x00000040
#define NDIS_FLAGS_DONT_LOOPBACK   0x00000080
#define NDIS_FLAGS_IS_LOOPBACK_PACKET   0x00000100
#define NDIS_FLAGS_LOOPBACK_ONLY   0x00000200
#define NDIS_FLAGS_SKIP_LOOPBACK   0x00000400
#define fPACKET_WRAPPER_RESERVED   0x3F
#define fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO   0x40
#define fPACKET_ALLOCATED_BY_NDIS   0x80
#define NDIS_GET_PACKET_PROTOCOL_TYPE(_Packet_)   ((_Packet_)->Private.Flags & NDIS_PROTOCOL_ID_MASK)
#define NDIS_OOB_DATA_FROM_PACKET(_p)
#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 NDIS_PACKET_EXTENSION_FROM_PACKET(_P)   ((PNDIS_PACKET_EXTENSION)((PUCHAR)(_P) + (_P)->Private.NdisPacketOobOffset + sizeof(NDIS_PACKET_OOB_DATA)))
#define NDIS_PER_PACKET_INFO_FROM_PACKET(_P, _Id)   ((PNDIS_PACKET_EXTENSION)((PUCHAR)(_P) + (_P)->Private.NdisPacketOobOffset + sizeof(NDIS_PACKET_OOB_DATA)))->NdisPacketInfo[(_Id)]
#define NDIS_GET_ORIGINAL_PACKET(_P)   NDIS_PER_PACKET_INFO_FROM_PACKET(_P, OriginalPacketInfo)
#define NDIS_SET_ORIGINAL_PACKET(_P, _OP)   NDIS_PER_PACKET_INFO_FROM_PACKET(_P, OriginalPacketInfo) = _OP
#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 NDIS_TASK_OFFLOAD_VERSION   1
#define NdisGetPacketFlags(_Packet)   (_Packet)->Private.Flags
#define NdisSetPacketFlags(_Packet, _Flags)   (_Packet)->Private.Flags |= (_Flags)
#define NdisClearPacketFlags(_Packet, _Flags)   (_Packet)->Private.Flags &= ~(_Flags)
#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_TAPI   ((NDIS_AF)0x800)
#define CO_ADDRESS_FAMILY_TAPI_PROXY   ((NDIS_AF)0x801)
#define CO_ADDRESS_FAMILY_PROXY   0x80000000
#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 NDIS_MEMORY_CONTIGUOUS   0x00000001
#define NDIS_MEMORY_NONCACHED   0x00000002
#define NDIS_OPEN_RECEIVE_NOT_REENTRANT   0x00000001
#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_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_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_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 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)
#define NdisDprReleaseSpinLock(_SpinLock)   KeReleaseSpinLockFromDpcLevel(&(_SpinLock)->SpinLock)
#define NdisGetCurrentSystemTime(_pSystemTime)
#define NdisInterlockedIncrement(Addend)   InterlockedIncrement(Addend)
#define NdisInterlockedDecrement(Addend)   InterlockedDecrement(Addend)
#define NdisInterlockedAddUlong(_Addend, _Increment, _SpinLock)   ExInterlockedAddUlong(_Addend, _Increment, &(_SpinLock)->SpinLock)
#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 NdisInterlockedPushEntryList(ListHead, ListEntry, Lock)   ExInterlockedPushEntryList(ListHead, ListEntry, &(Lock)->SpinLock)
#define NdisInterlockedPopEntryList(ListHead, Lock)   ExInterlockedPopEntryList(ListHead, &(Lock)->SpinLock)
#define MAXIMUM_PROCESSORS   32
#define NdisInterlockedAddLargeStatistic(_Addend, _Increment)   ExInterlockedAddLargeStatistic((PLARGE_INTEGER)_Addend, _Increment)
#define NdisInterlockedPushEntrySList(SListHead, SListEntry, Lock)   ExInterlockedPushEntrySList(SListHead, SListEntry, &(Lock)->SpinLock)
#define NdisInterlockedPopEntrySList(SListHead, Lock)   ExInterlockedPopEntrySList(SListHead, &(Lock)->SpinLock)
#define NdisInterlockedFlushSList(SListHead)   ExInterlockedFlushSList(SListHead)
#define NdisInitializeSListHead(SListHead)   ExInitializeSListHead(SListHead)
#define NdisQueryDepthSList(SListHead)   ExQueryDepthSList(SListHead)
#define NdisInitializeListHead(_ListHead)   InitializeListHead(_ListHead)
#define NdisCopyLookaheadData(_Destination, _Source, _Length, _MacOptions)
#define NdisReinitializePacket(Packet)
#define NdisFreeBuffer(Buffer)   IoFreeMdl(Buffer)
#define NdisQueryBuffer(_Buffer, _VirtualAddress, _Length)
#define NdisQueryBufferSafe(_Buffer, _VirtualAddress, _Length, _Priority)
#define NdisQueryBufferOffset(_Buffer, _Offset, _Length)
#define NdisGetFirstBufferFromPacket(_Packet,_FirstBuffer,_FirstBufferVA,_FirstBufferLength,_TotalBufferLength)
#define NDIS_BUFFER_TO_SPAN_PAGES(_Buffer)
#define NdisGetBufferPhysicalArraySize(Buffer, ArraySize)   (*(ArraySize) = NDIS_BUFFER_TO_SPAN_PAGES(Buffer))
#define NDIS_BUFFER_LINKAGE(Buffer)   ((Buffer)->Next)
#define NdisRecalculatePacketCounts(Packet)
#define NdisChainBufferAtFront(Packet, Buffer)
#define NdisChainBufferAtBack(Packet, Buffer)
#define NdisQueryPacket(_Packet,_PhysicalBufferCount,_BufferCount,_FirstBuffer,_TotalPacketLength)
#define NdisGetNextBuffer(CurrentBuffer, NextBuffer)
#define NdisAdjustBufferLength(Buffer, Length)   (((Buffer)->ByteCount) = (Length))
#define NdisStallExecution(MicroSecondsToStall)   KeStallExecutionProcessor(MicroSecondsToStall)
#define NdisInitializeWorkItem(_WI_, _R_, _C_)
#define NdisFlushBuffer(Buffer, WriteToDevice)   KeFlushIoBuffers((Buffer),!(WriteToDevice), TRUE)
#define NdisGetCacheFillSize()   HalGetDmaAlignmentRequirement()
#define NDIS_PORT_TO_PORT(Handle, Port)   (((PNDIS_ADAPTER_BLOCK)(Handle))->PortOffset + (Port))
#define NdisWritePortUchar(Handle, Port, Data)   WRITE_PORT_UCHAR((PUCHAR)(NDIS_PORT_TO_PORT(Handle,Port)),(UCHAR)(Data))
#define NdisWritePortUshort(Handle, Port, Data)   WRITE_PORT_USHORT((PUSHORT)(NDIS_PORT_TO_PORT(Handle,Port)),(USHORT)(Data))
#define NdisWritePortUlong(Handle, Port, Data)   WRITE_PORT_ULONG((PULONG)(NDIS_PORT_TO_PORT(Handle,Port)),(ULONG)(Data))
#define NdisWritePortBufferUchar(Handle, Port, Buffer, Length)   NdisRawWritePortBufferUchar(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
#define NdisWritePortBufferUshort(Handle, Port, Buffer, Length)   NdisRawWritePortBufferUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
#define NdisWritePortBufferUlong(Handle, Port, Buffer, Length)   NdisRawWritePortBufferUlong(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
#define NdisReadPortUchar(Handle, Port, Data)   NdisRawReadPortUchar(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
#define NdisReadPortUshort(Handle, Port, Data)   NdisRawReadPortUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
#define NdisReadPortUlong(Handle, Port, Data)   NdisRawReadPortUlong(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
#define NdisReadPortBufferUchar(Handle, Port, Buffer, Length)   NdisRawReadPortBufferUchar(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
#define NdisReadPortBufferUshort(Handle, Port, Buffer, Length)   NdisRawReadPortBufferUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
#define NdisReadPortBufferUlong(Handle, Port, Buffer)   NdisRawReadPortBufferUlong(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
#define NdisRawWritePortUchar(Port, Data)   WRITE_PORT_UCHAR((PUCHAR)(Port),(UCHAR)(Data))
#define NdisRawWritePortUshort(Port, Data)   WRITE_PORT_USHORT((PUSHORT)(Port),(USHORT)(Data))
#define NdisRawWritePortUlong(Port, Data)   WRITE_PORT_ULONG((PULONG)(Port),(ULONG)(Data))
#define NdisRawWritePortBufferUchar(Port, Buffer, Length)   WRITE_PORT_BUFFER_UCHAR((PUCHAR)(Port),(PUCHAR)(Buffer),(Length))
#define NdisRawWritePortBufferUshort(Port, Buffer, Length)
#define NdisRawWritePortBufferUlong(Port, Buffer, Length)
#define NdisRawReadPortUchar(Port, Data)   *(Data) = READ_PORT_UCHAR((PUCHAR)(Port))
#define NdisRawReadPortUshort(Port, Data)   *(Data) = READ_PORT_USHORT((PUSHORT)(Port))
#define NdisRawReadPortUlong(Port, Data)   *(Data) = READ_PORT_ULONG((PULONG)(Port))
#define NdisRawReadPortBufferUchar(Port, Buffer, Length)   READ_PORT_BUFFER_UCHAR((PUCHAR)(Port),(PUCHAR)(Buffer),(Length))
#define NdisRawReadPortBufferUshort(Port, Buffer, Length)
#define NdisRawReadPortBufferUlong(Port, Buffer, Length)
#define NdisWriteRegisterUchar(Register, Data)
#define NdisWriteRegisterUshort(Register, Data)
#define NdisWriteRegisterUlong(Register, Data)
#define NdisWriteRegisterUcharWithStall(Register, Data, StallTime)
#define NdisWriteRegisterUshortWithStall(Register, Data, StallTime)
#define NdisWriteRegisterUlongWithStall(Register, Data, StallTime)
#define NdisReadRegisterUchar(Register, Data)   *(Data) = READ_REGISTER_UCHAR((PUCHAR)(Register))
#define NdisReadRegisterUshort(Register, Data)   *(Data) = READ_REGISTER_USHORT((PUSHORT)(Register))
#define NdisReadRegisterUlong(Register, Data)   *(Data) = READ_REGISTER_ULONG((PULONG)(Register))
#define NdisEqualAnsiString(_String1, _String2, _CaseInsensitive)   RtlEqualAnsiString(_String1, _String2, _CaseInsensitive)
#define NdisEqualString(_String1, _String2, _CaseInsensitive)   RtlEqualUnicodeString(_String1, _String2, _CaseInsensitive)
#define NdisEqualUnicodeString(_String1, _String2, _CaseInsensitive)   RtlEqualUnicodeString(_String1, _String2, _CaseInsensitive)
#define NdisFreeString(String)   NdisFreeMemory((String).Buffer, (String).MaximumLength, 0)
#define NdisPrintString(String)   DbgPrint("%ls",(String).Buffer)
#define NdisCreateLookaheadBufferFromSharedMemory(_S, _L, _B)   ((*(_B)) = (_S))
#define NdisDestroyLookaheadBufferFromSharedMemory(_B)
#define NdisReadDmaCounter(_NdisDmaHandle)   HalReadDmaCounter(((PNDIS_DMA_BLOCK)(_NdisDmaHandle))->SystemAdapterObject)
#define NdisUpdateSharedMemory(_H, _L, _V, _P)
#define NdisInitAnsiString(_as, s)   RtlInitString(_as, s)
#define NdisInitUnicodeString(_us, s)   RtlInitUnicodeString(_us, s)
#define NdisAnsiStringToUnicodeString(_us, _as)   RtlAnsiStringToUnicodeString(_us, _as, FALSE)
#define NdisUnicodeStringToAnsiString(_as, _us)   RtlUnicodeStringToAnsiString(_as, _us, FALSE)
#define NdisUpcaseUnicodeString(_d, _s)   RtlUpcaseUnicodeString(_d, _s, FALSE)
#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)

Typedefs

typedef signed int INT
typedef signed int * PINT
typedef unsigned int UINT
typedef unsigned int * PUINT
typedef UNICODE_STRING NDIS_STRING
typedef UNICODE_STRING * PNDIS_STRING
typedef PVOID NDIS_HANDLE
typedef PVOID * PNDIS_HANDLE
typedef int NDIS_STATUS
typedef int * PNDIS_STATUS
typedef CM_MCA_POS_DATA NDIS_MCA_POS_DATA
typedef CM_MCA_POS_DATA * PNDIS_MCA_POS_DATA
typedef CM_EISA_SLOT_INFORMATION NDIS_EISA_SLOT_INFORMATION
typedef CM_EISA_SLOT_INFORMATION * PNDIS_EISA_SLOT_INFORMATION
typedef CM_EISA_FUNCTION_INFORMATION NDIS_EISA_FUNCTION_INFORMATION
typedef CM_EISA_FUNCTION_INFORMATION * PNDIS_EISA_FUNCTION_INFORMATION
typedef _NDIS_SPIN_LOCK NDIS_SPIN_LOCK
typedef _NDIS_SPIN_LOCKPNDIS_SPIN_LOCK
typedef _NDIS_EVENT NDIS_EVENT
typedef _NDIS_EVENTPNDIS_EVENT
typedef VOID(* NDIS_PROC )(struct _NDIS_WORK_ITEM *, PVOID)
typedef _NDIS_WORK_ITEM NDIS_WORK_ITEM
typedef _NDIS_WORK_ITEMPNDIS_WORK_ITEM
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 _NDIS_CONFIGURATION_PARAMETER NDIS_CONFIGURATION_PARAMETER
typedef _NDIS_CONFIGURATION_PARAMETERPNDIS_CONFIGURATION_PARAMETER
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 VOID(* ADAPTER_SHUTDOWN_HANDLER )(IN PVOID ShutdownContext)
typedef CM_PARTIAL_RESOURCE_LIST NDIS_RESOURCE_LIST
typedef CM_PARTIAL_RESOURCE_LIST * PNDIS_RESOURCE_LIST
typedef _NDIS_WAN_LINE_UP NDIS_WAN_LINE_UP
typedef _NDIS_WAN_LINE_UPPNDIS_WAN_LINE_UP
typedef _NDIS_WAN_LINE_DOWN NDIS_WAN_LINE_DOWN
typedef _NDIS_WAN_LINE_DOWNPNDIS_WAN_LINE_DOWN
typedef _NDIS_WAN_FRAGMENT NDIS_WAN_FRAGMENT
typedef _NDIS_WAN_FRAGMENTPNDIS_WAN_FRAGMENT
typedef _NDIS_WAN_GET_STATS NDIS_WAN_GET_STATS
typedef _NDIS_WAN_GET_STATSPNDIS_WAN_GET_STATS
typedef _NDIS_DMA_DESCRIPTION NDIS_DMA_DESCRIPTION
typedef _NDIS_DMA_DESCRIPTIONPNDIS_DMA_DESCRIPTION
typedef _NDIS_DMA_BLOCK NDIS_DMA_BLOCK
typedef _NDIS_DMA_BLOCKPNDIS_DMA_BLOCK
typedef MDL NDIS_BUFFER
typedef MDLPNDIS_BUFFER
typedef NDIS_HANDLE PNDIS_PACKET_POOL
typedef _NDIS_PACKET_PRIVATE NDIS_PACKET_PRIVATE
typedef _NDIS_PACKET_PRIVATEPNDIS_PACKET_PRIVATE
typedef enum _NDIS_CLASS_ID NDIS_CLASS_ID
typedef _MEDIA_SPECIFIC_INFORMATION MEDIA_SPECIFIC_INFORMATION
typedef _MEDIA_SPECIFIC_INFORMATIONPMEDIA_SPECIFIC_INFORMATION
typedef _NDIS_PACKET_OOB_DATA NDIS_PACKET_OOB_DATA
typedef _NDIS_PACKET_OOB_DATAPNDIS_PACKET_OOB_DATA
typedef _NDIS_PACKET NDIS_PACKET
typedef _NDIS_PACKETPNDIS_PACKET
typedef _NDIS_PACKET ** PPNDIS_PACKET
typedef enum _NDIS_PER_PACKET_INFO NDIS_PER_PACKET_INFO
typedef enum _NDIS_PER_PACKET_INFOPNDIS_PER_PACKET_INFO
typedef _NDIS_PACKET_EXTENSION NDIS_PACKET_EXTENSION
typedef _NDIS_PACKET_EXTENSIONPNDIS_PACKET_EXTENSION
typedef _NDIS_TCP_IP_CHECKSUM_PACKET_INFO NDIS_TCP_IP_CHECKSUM_PACKET_INFO
typedef _NDIS_TCP_IP_CHECKSUM_PACKET_INFOPNDIS_TCP_IP_CHECKSUM_PACKET_INFO
typedef _NDIS_IPSEC_PACKET_INFO NDIS_IPSEC_PACKET_INFO
typedef _NDIS_IPSEC_PACKET_INFOPNDIS_IPSEC_PACKET_INFO
typedef enum _NDIS_TASK NDIS_TASK
typedef enum _NDIS_TASKPNDIS_TASK
typedef enum _NDIS_ENCAPSULATION NDIS_ENCAPSULATION
typedef _NDIS_ENCAPSULATION_FORMAT NDIS_ENCAPSULATION_FORMAT
typedef _NDIS_ENCAPSULATION_FORMATPNDIS_ENCAPSULATION_FORMAT
typedef _NDIS_TASK_OFFLOAD_HEADER NDIS_TASK_OFFLOAD_HEADER
typedef _NDIS_TASK_OFFLOAD_HEADERPNDIS_TASK_OFFLOAD_HEADER
typedef _NDIS_TASK_OFFLOAD NDIS_TASK_OFFLOAD
typedef _NDIS_TASK_OFFLOADPNDIS_TASK_OFFLOAD
typedef _NDIS_TASK_TCP_IP_CHECKSUM NDIS_TASK_TCP_IP_CHECKSUM
typedef _NDIS_TASK_TCP_IP_CHECKSUMPNDIS_TASK_TCP_IP_CHECKSUM
typedef _NDIS_TASK_TCP_LARGE_SEND NDIS_TASK_TCP_LARGE_SEND
typedef _NDIS_TASK_TCP_LARGE_SENDPNDIS_TASK_TCP_LARGE_SEND
typedef _NDIS_TASK_IPSEC NDIS_TASK_IPSEC
typedef _NDIS_TASK_IPSECPNDIS_TASK_IPSEC
typedef UINT IEEE8021PPRIORITY
typedef _NDIS_WAN_PACKET NDIS_WAN_PACKET
typedef _NDIS_WAN_PACKETPNDIS_WAN_PACKET
typedef enum _NDIS_REQUEST_TYPE NDIS_REQUEST_TYPE
typedef enum _NDIS_REQUEST_TYPEPNDIS_REQUEST_TYPE
typedef _NDIS_REQUEST NDIS_REQUEST
typedef _NDIS_REQUESTPNDIS_REQUEST
typedef ULONG NDIS_AF
typedef ULONG * PNDIS_AF
typedef * PCO_ADDRESS_FAMILY
typedef * PCO_SAP
typedef PHYSICAL_ADDRESS NDIS_PHYSICAL_ADDRESS
typedef PHYSICAL_ADDRESS * PNDIS_PHYSICAL_ADDRESS
typedef _NDIS_PHYSICAL_ADDRESS_UNIT NDIS_PHYSICAL_ADDRESS_UNIT
typedef _NDIS_PHYSICAL_ADDRESS_UNITPNDIS_PHYSICAL_ADDRESS_UNIT
typedef _REFERENCE REFERENCE
typedef _REFERENCEPREFERENCE
typedef _MAP_REGISTER_ENTRY MAP_REGISTER_ENTRY
typedef _MAP_REGISTER_ENTRYPMAP_REGISTER_ENTRY
typedef _NDIS_RW_LOCK_REFCOUNT NDIS_RW_LOCK_REFCOUNT
typedef _NDIS_RW_LOCK NDIS_RW_LOCK
typedef _NDIS_RW_LOCKPNDIS_RW_LOCK
typedef _LOCK_STATE LOCK_STATE
typedef _LOCK_STATEPLOCK_STATE
typedef _NDIS_WRAPPER_HANDLE
NDIS_WRAPPER_HANDLE * 
PNDIS_WRAPPER_HANDLE
typedef _NDIS_MAC_BLOCK NDIS_MAC_BLOCK * PNDIS_MAC_BLOCK
typedef _NDIS_ADAPTER_BLOCK
NDIS_ADAPTER_BLOCK * 
PNDIS_ADAPTER_BLOCK
typedef _NDIS_PROTOCOL_BLOCK
NDIS_PROTOCOL_BLOCK * 
PNDIS_PROTOCOL_BLOCK
typedef _NDIS_OPEN_BLOCK NDIS_OPEN_BLOCK * PNDIS_OPEN_BLOCK
typedef VOID(* PNDIS_TIMER_FUNCTION )(IN PVOID SystemSpecific1, IN PVOID FunctionContext, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)
typedef _NDIS_TIMER NDIS_TIMER
typedef _NDIS_TIMERPNDIS_TIMER

Enumerations

enum  _NDIS_PARAMETER_TYPE {
  NdisParameterInteger, NdisParameterHexInteger, NdisParameterString, NdisParameterMultiString,
  NdisParameterBinary
}
enum  _NDIS_PROCESSOR_TYPE { NdisProcessorX86, NdisProcessorMips, NdisProcessorAlpha, NdisProcessorPpc }
enum  _NDIS_ENVIRONMENT_TYPE { NdisEnvironmentWindows, NdisEnvironmentWindowsNt }
enum  _NDIS_INTERFACE_TYPE {
  NdisInterfaceInternal = Internal, NdisInterfaceIsa = Isa, NdisInterfaceEisa = Eisa, NdisInterfaceMca = MicroChannel,
  NdisInterfaceTurboChannel = TurboChannel, NdisInterfacePci = PCIBus, NdisInterfacePcMcia = PCMCIABus
}
enum  _NDIS_CLASS_ID { NdisClass802_3Priority, NdisClassWirelessWanMbxMailbox, NdisClassIrdaPacketInfo, NdisClassAtmAALInfo }
enum  _NDIS_PER_PACKET_INFO {
  TcpIpChecksumPacketInfo, IpSecPacketInfo, TcpLargeSendPacketInfo, ClassificationHandlePacketInfo,
  HeaderIndexInfo, ScatterGatherListPacketInfo, Ieee8021pPriority, OriginalPacketInfo,
  NdisInternalExtension1, NdisInternalExtension2, 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_REQUEST_TYPE {
  NdisRequestQueryInformation, NdisRequestSetInformation, NdisRequestQueryStatistics, NdisRequestOpen,
  NdisRequestClose, NdisRequestSend, NdisRequestTransferData, NdisRequestReset,
  NdisRequestGeneric1, NdisRequestGeneric2, NdisRequestGeneric3, NdisRequestGeneric4
}

Functions

EXPORT VOID NdisInitializeReadWriteLock (IN PNDIS_RW_LOCK Lock)
EXPORT VOID NdisAcquireReadWriteLock (IN PNDIS_RW_LOCK Lock, IN BOOLEAN fWrite, IN PLOCK_STATE LockState)
EXPORT VOID NdisReleaseReadWriteLock (IN PNDIS_RW_LOCK Lock, IN PLOCK_STATE LockState)
EXPORT VOID NdisGetCurrentProcessorCpuUsage (OUT PULONG pCpuUsage)
EXPORT VOID NdisGetCurrentProcessorCounts (OUT PULONG pIdleCount, OUT PULONG pKernelAndUser, OUT PULONG pIndex)
EXPORT VOID NdisGetSystemUpTime (OUT PULONG pSystemUpTime)
EXPORT VOID NdisOpenConfiguration (OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE ConfigurationHandle, IN NDIS_HANDLE WrapperConfigurationContext)
EXPORT VOID NdisOpenConfigurationKeyByName (OUT PNDIS_STATUS Status, IN NDIS_HANDLE ConfigurationHandle, IN PNDIS_STRING SubKeyName, OUT PNDIS_HANDLE SubKeyHandle)
EXPORT VOID NdisOpenConfigurationKeyByIndex (OUT PNDIS_STATUS Status, IN NDIS_HANDLE ConfigurationHandle, IN ULONG Index, OUT PNDIS_STRING KeyName, OUT PNDIS_HANDLE KeyHandle)
EXPORT VOID NdisReadConfiguration (OUT PNDIS_STATUS Status, OUT PNDIS_CONFIGURATION_PARAMETER *ParameterValue, IN NDIS_HANDLE ConfigurationHandle, IN PNDIS_STRING Keyword, IN NDIS_PARAMETER_TYPE ParameterType)
EXPORT VOID NdisWriteConfiguration (OUT PNDIS_STATUS Status, IN NDIS_HANDLE ConfigurationHandle, IN PNDIS_STRING Keyword, IN PNDIS_CONFIGURATION_PARAMETER ParameterValue)
EXPORT VOID NdisCloseConfiguration (IN NDIS_HANDLE ConfigurationHandle)
EXPORT VOID NdisReadNetworkAddress (OUT PNDIS_STATUS Status, OUT PVOID *NetworkAddress, OUT PUINT NetworkAddressLength, IN NDIS_HANDLE ConfigurationHandle)
EXPORT VOID NdisReadEisaSlotInformation (OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT SlotNumber, OUT PNDIS_EISA_FUNCTION_INFORMATION EisaData)
EXPORT VOID NdisReadEisaSlotInformationEx (OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT SlotNumber, OUT PNDIS_EISA_FUNCTION_INFORMATION *EisaData, OUT PUINT NumberOfFunctions)
EXPORT VOID NdisReadMcaPosInformation (OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, IN PUINT ChannelNumber, OUT PNDIS_MCA_POS_DATA McaData)
EXPORT ULONG NdisReadPciSlotInformation (IN NDIS_HANDLE NdisAdapterHandle, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
EXPORT ULONG NdisWritePciSlotInformation (IN NDIS_HANDLE NdisAdapterHandle, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
EXPORT NDIS_STATUS NdisPciAssignResources (IN NDIS_HANDLE NdisMacHandle, IN NDIS_HANDLE NdisWrapperHandle, IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SlotNumber, OUT PNDIS_RESOURCE_LIST *AssignedResources)
EXPORT ULONG NdisReadPcmciaAttributeMemory (IN NDIS_HANDLE NdisAdapterHandle, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
EXPORT ULONG NdisWritePcmciaAttributeMemory (IN NDIS_HANDLE NdisAdapterHandle, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
EXPORT VOID NdisAllocateBufferPool (OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE PoolHandle, IN UINT NumberOfDescriptors)
EXPORT VOID NdisFreeBufferPool (IN NDIS_HANDLE PoolHandle)
EXPORT VOID NdisAllocateBuffer (OUT PNDIS_STATUS Status, OUT PNDIS_BUFFER *Buffer, IN NDIS_HANDLE PoolHandle, IN PVOID VirtualAddress, IN UINT Length)
EXPORT VOID NdisCopyBuffer (OUT PNDIS_STATUS Status, OUT PNDIS_BUFFER *Buffer, IN NDIS_HANDLE PoolHandle, IN PVOID MemoryDescriptor, IN UINT Offset, IN UINT Length)
EXPORT VOID NdisAllocatePacketPool (OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE PoolHandle, IN UINT NumberOfDescriptors, IN UINT ProtocolReservedLength)
EXPORT VOID NdisAllocatePacketPoolEx (OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE PoolHandle, IN UINT NumberOfDescriptors, IN UINT NumberOfOverflowDescriptors, IN UINT ProtocolReservedLength)
EXPORT VOID NdisSetPacketPoolProtocolId (IN NDIS_HANDLE PacketPoolHandle, IN UINT ProtocolId)
EXPORT UINT NdisPacketPoolUsage (IN NDIS_HANDLE PoolHandle)
EXPORT VOID NdisFreePacketPool (IN NDIS_HANDLE PoolHandle)
EXPORT VOID NdisFreePacket (IN PNDIS_PACKET Packet)
EXPORT VOID NdisDprFreePacket (IN PNDIS_PACKET Packet)
EXPORT VOID NdisDprFreePacketNonInterlocked (IN PNDIS_PACKET Packet)
EXPORT VOID NdisAllocatePacket (OUT PNDIS_STATUS Status, OUT PNDIS_PACKET *Packet, IN NDIS_HANDLE PoolHandle)
EXPORT VOID NdisDprAllocatePacket (OUT PNDIS_STATUS Status, OUT PNDIS_PACKET *Packet, IN NDIS_HANDLE PoolHandle)
EXPORT VOID NdisDprAllocatePacketNonInterlocked (OUT PNDIS_STATUS Status, OUT PNDIS_PACKET *Packet, IN NDIS_HANDLE PoolHandle)
EXPORT VOID NdisUnchainBufferAtFront (IN OUT PNDIS_PACKET Packet, OUT PNDIS_BUFFER *Buffer)
EXPORT VOID NdisUnchainBufferAtBack (IN OUT PNDIS_PACKET Packet, OUT PNDIS_BUFFER *Buffer)
EXPORT VOID NdisCopyFromPacketToPacket (IN PNDIS_PACKET Destination, IN UINT DestinationOffset, IN UINT BytesToCopy, IN PNDIS_PACKET Source, IN UINT SourceOffset, OUT PUINT BytesCopied)
EXPORT NDIS_STATUS NdisAllocateMemory (OUT PVOID *VirtualAddress, IN UINT Length, IN UINT MemoryFlags, IN NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress)
EXPORT NDIS_STATUS NdisAllocateMemoryWithTag (OUT PVOID *VirtualAddress, IN UINT Length, IN ULONG Tag)
EXPORT VOID NdisFreeMemory (IN PVOID VirtualAddress, IN UINT Length, IN UINT MemoryFlags)
EXPORT VOID NdisInitializeEvent (IN PNDIS_EVENT Event)
EXPORT VOID NdisSetEvent (IN PNDIS_EVENT Event)
EXPORT VOID NdisResetEvent (IN PNDIS_EVENT Event)
EXPORT BOOLEAN NdisWaitEvent (IN PNDIS_EVENT Event, IN UINT msToWait)
EXPORT NDIS_STATUS NdisScheduleWorkItem (IN PNDIS_WORK_ITEM WorkItem)
EXPORT NDIS_STATUS NdisQueryMapRegisterCount (IN NDIS_INTERFACE_TYPE BusType, OUT PUINT MapRegisterCount)
EXPORT VOID NdisOpenFile (OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE FileHandle, OUT PUINT FileLength, IN PNDIS_STRING FileName, IN NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress)
EXPORT VOID NdisCloseFile (IN NDIS_HANDLE FileHandle)
EXPORT VOID NdisMapFile (OUT PNDIS_STATUS Status, OUT PVOID *MappedBuffer, IN NDIS_HANDLE FileHandle)
EXPORT VOID NdisUnmapFile (IN NDIS_HANDLE FileHandle)
EXPORT VOID NdisWriteErrorLogEntry (IN NDIS_HANDLE NdisAdapterHandle, IN NDIS_ERROR_CODE ErrorCode, IN ULONG NumberOfErrorValues,...)
EXPORT VOID NdisInitializeString (OUT PNDIS_STRING Destination, IN PUCHAR Source)
EXPORT VOID NdisSetTimer (IN PNDIS_TIMER Timer, IN UINT MillisecondsToDelay)
EXPORT VOID NdisAllocateDmaChannel (OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE NdisDmaHandle, IN NDIS_HANDLE NdisAdapterHandle, IN PNDIS_DMA_DESCRIPTION DmaDescription, IN ULONG MaximumLength)
EXPORT VOID NdisFreeDmaChannel (IN NDIS_HANDLE NdisDmaHandle)
EXPORT VOID NdisSetupDmaTransfer (OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisDmaHandle, IN PNDIS_BUFFER Buffer, IN ULONG Offset, IN ULONG Length, IN BOOLEAN WriteToDevice)
EXPORT VOID NdisCompleteDmaTransfer (OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisDmaHandle, IN PNDIS_BUFFER Buffer, IN ULONG Offset, IN ULONG Length, IN BOOLEAN WriteToDevice)
EXPORT VOID NdisInitializeWrapper (OUT PNDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)
EXPORT VOID NdisTerminateWrapper (IN NDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific)
EXPORT CCHAR NdisSystemProcessorCount (VOID)
EXPORT VOID NdisImmediateReadPortUchar (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG Port, OUT PUCHAR Data)
EXPORT VOID NdisImmediateReadPortUshort (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG Port, OUT PUSHORT Data)
EXPORT VOID NdisImmediateReadPortUlong (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG Port, OUT PULONG Data)
EXPORT VOID NdisImmediateWritePortUchar (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG Port, IN UCHAR Data)
EXPORT VOID NdisImmediateWritePortUshort (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG Port, IN USHORT Data)
EXPORT VOID NdisImmediateWritePortUlong (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG Port, IN ULONG Data)
EXPORT VOID NdisImmediateReadSharedMemory (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, IN PUCHAR Buffer, IN ULONG Length)
EXPORT VOID NdisImmediateWriteSharedMemory (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, IN PUCHAR Buffer, IN ULONG Length)
EXPORT ULONG NdisImmediateReadPciSlotInformation (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
EXPORT ULONG NdisImmediateWritePciSlotInformation (IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)


Define Documentation

#define CO_ADDRESS_FAMILY_1394   ((NDIS_AF)0x5)
 

Definition at line 992 of file ndismain.h.

#define CO_ADDRESS_FAMILY_IRDA   ((NDIS_AF)0x4)
 

Definition at line 991 of file ndismain.h.

#define CO_ADDRESS_FAMILY_L2TP   ((NDIS_AF)0x3)
 

Definition at line 990 of file ndismain.h.

#define CO_ADDRESS_FAMILY_PPP   ((NDIS_AF)0x6)
 

Definition at line 993 of file ndismain.h.

#define CO_ADDRESS_FAMILY_PROXY   0x80000000
 

Definition at line 1000 of file ndismain.h.

#define CO_ADDRESS_FAMILY_PSCHED   ((NDIS_AF)0x2)
 

Definition at line 989 of file ndismain.h.

#define CO_ADDRESS_FAMILY_Q2931   ((NDIS_AF)0x1)
 

Definition at line 988 of file ndismain.h.

#define CO_ADDRESS_FAMILY_TAPI   ((NDIS_AF)0x800)
 

Definition at line 994 of file ndismain.h.

#define CO_ADDRESS_FAMILY_TAPI_PROXY   ((NDIS_AF)0x801)
 

Definition at line 995 of file ndismain.h.

#define CRYPTO_GENERIC_ERROR   1
 

Definition at line 672 of file ndismain.h.

#define CRYPTO_INVALID_PACKET_SYNTAX   6
 

Definition at line 677 of file ndismain.h.

#define CRYPTO_INVALID_PROTOCOL   7
 

Definition at line 678 of file ndismain.h.

#define CRYPTO_SUCCESS   0
 

Definition at line 671 of file ndismain.h.

#define CRYPTO_TRANSPORT_AH_AUTH_FAILED   2
 

Definition at line 673 of file ndismain.h.

#define CRYPTO_TRANSPORT_ESP_AUTH_FAILED   3
 

Definition at line 674 of file ndismain.h.

#define CRYPTO_TUNNEL_AH_AUTH_FAILED   4
 

Definition at line 675 of file ndismain.h.

#define CRYPTO_TUNNEL_ESP_AUTH_FAILED   5
 

Definition at line 676 of file ndismain.h.

#define EXPORT   DECLSPEC_IMPORT
 

Definition at line 67 of file ndismain.h.

#define fPACKET_ALLOCATED_BY_NDIS   0x80
 

Definition at line 460 of file ndismain.h.

#define fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO   0x40
 

Definition at line 459 of file ndismain.h.

#define fPACKET_WRAPPER_RESERVED   0x3F
 

Definition at line 458 of file ndismain.h.

#define MAX_HASHES   4
 

Definition at line 668 of file ndismain.h.

#define MAXIMUM_PROCESSORS   32
 

Definition at line 1420 of file ndismain.h.

Referenced by IoDisconnectInterrupt(), KeInsertQueueDpc(), KeSetIdealProcessorThread(), KeSetTargetProcessorDpc(), KeStartAllProcessors(), KiInitializeKernel(), KiTimerListExpire(), and NtSetInformationThread().

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

Definition at line 1976 of file ndismain.h.

#define NDIS_BUFFER_TO_SPAN_PAGES _Buffer   ) 
 

Value:

(MmGetMdlByteCount(_Buffer)==0 ? \ 1 : \ (COMPUTE_PAGES_SPANNED( \ MmGetMdlVirtualAddress(_Buffer), \ MmGetMdlByteCount(_Buffer))))

Definition at line 1955 of file ndismain.h.

#define NDIS_ERROR_CODE   ULONG
 

Definition at line 1221 of file ndismain.h.

#define NDIS_ERROR_CODE_ADAPTER_DISABLED   EVENT_NDIS_ADAPTER_DISABLED
 

Definition at line 1237 of file ndismain.h.

#define NDIS_ERROR_CODE_ADAPTER_NOT_FOUND   EVENT_NDIS_ADAPTER_NOT_FOUND
 

Definition at line 1226 of file ndismain.h.

#define NDIS_ERROR_CODE_BAD_IO_BASE_ADDRESS   EVENT_NDIS_BAD_IO_BASE_ADDRESS
 

Definition at line 1235 of file ndismain.h.

#define NDIS_ERROR_CODE_BAD_VERSION   EVENT_NDIS_BAD_VERSION
 

Definition at line 1229 of file ndismain.h.

#define NDIS_ERROR_CODE_DRIVER_FAILURE   EVENT_NDIS_DRIVER_FAILURE
 

Definition at line 1228 of file ndismain.h.

#define NDIS_ERROR_CODE_HARDWARE_FAILURE   EVENT_NDIS_HARDWARE_FAILURE
 

Definition at line 1225 of file ndismain.h.

#define NDIS_ERROR_CODE_INTERRUPT_CONNECT   EVENT_NDIS_INTERRUPT_CONNECT
 

Definition at line 1227 of file ndismain.h.

#define NDIS_ERROR_CODE_INVALID_VALUE_FROM_ADAPTER   EVENT_NDIS_INVALID_VALUE_FROM_ADAPTER
 

Definition at line 1233 of file ndismain.h.

#define NDIS_ERROR_CODE_MISSING_CONFIGURATION_PARAMETER   EVENT_NDIS_MISSING_CONFIGURATION_PARAMETER
 

Definition at line 1234 of file ndismain.h.

#define NDIS_ERROR_CODE_NETWORK_ADDRESS   EVENT_NDIS_NETWORK_ADDRESS
 

Definition at line 1231 of file ndismain.h.

#define NDIS_ERROR_CODE_OUT_OF_RESOURCES   EVENT_NDIS_OUT_OF_RESOURCE
 

Definition at line 1224 of file ndismain.h.

#define NDIS_ERROR_CODE_RECEIVE_SPACE_SMALL   EVENT_NDIS_RECEIVE_SPACE_SMALL
 

Definition at line 1236 of file ndismain.h.

#define NDIS_ERROR_CODE_RESOURCE_CONFLICT   EVENT_NDIS_RESOURCE_CONFLICT
 

Definition at line 1223 of file ndismain.h.

#define NDIS_ERROR_CODE_TIMEOUT   EVENT_NDIS_TIMEOUT
 

Definition at line 1230 of file ndismain.h.

#define NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION   EVENT_NDIS_UNSUPPORTED_CONFIGURATION
 

Definition at line 1232 of file ndismain.h.

#define NDIS_FLAGS_BROADCAST_PACKET   0x00000020
 

Definition at line 448 of file ndismain.h.

#define NDIS_FLAGS_DIRECTED_PACKET   0x00000040
 

Definition at line 449 of file ndismain.h.

#define NDIS_FLAGS_DONT_LOOPBACK   0x00000080
 

Definition at line 450 of file ndismain.h.

#define NDIS_FLAGS_IS_LOOPBACK_PACKET   0x00000100
 

Definition at line 451 of file ndismain.h.

#define NDIS_FLAGS_LOOPBACK_ONLY   0x00000200
 

Definition at line 452 of file ndismain.h.

#define NDIS_FLAGS_MULTICAST_PACKET   0x00000010
 

Definition at line 447 of file ndismain.h.

#define NDIS_FLAGS_PROTOCOL_ID_MASK   0x0000000F
 

Definition at line 445 of file ndismain.h.

#define NDIS_FLAGS_SKIP_LOOPBACK   0x00000400
 

Definition at line 453 of file ndismain.h.

#define NDIS_GET_ORIGINAL_PACKET _P   )     NDIS_PER_PACKET_INFO_FROM_PACKET(_P, OriginalPacketInfo)
 

Definition at line 632 of file ndismain.h.

#define NDIS_GET_PACKET_HEADER_SIZE _Packet   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->HeaderSize

Definition at line 504 of file ndismain.h.

#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;\ } \ }

Definition at line 521 of file ndismain.h.

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

Definition at line 499 of file ndismain.h.

#define NDIS_GET_PACKET_STATUS _Packet   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->Status

Definition at line 507 of file ndismain.h.

#define NDIS_GET_PACKET_TIME_RECEIVED _Packet   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->TimeReceived

Definition at line 516 of file ndismain.h.

#define NDIS_GET_PACKET_TIME_SENT _Packet   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->TimeSent

Definition at line 513 of file ndismain.h.

#define NDIS_GET_PACKET_TIME_TO_SEND _Packet   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->TimeToSend

Definition at line 510 of file ndismain.h.

#define NDIS_INIT_FUNCTION _F   )     alloc_text(INIT,_F)
 

Definition at line 36 of file ndismain.h.

#define NDIS_MEMORY_CONTIGUOUS   0x00000001
 

Definition at line 1122 of file ndismain.h.

#define NDIS_MEMORY_NONCACHED   0x00000002
 

Definition at line 1123 of file ndismain.h.

#define NDIS_NT   1
 

Definition at line 6 of file ndismain.h.

#define NDIS_OOB_DATA_FROM_PACKET _p   ) 
 

Value:

(PNDIS_PACKET_OOB_DATA)((PUCHAR)(_p) + \ (_p)->Private.NdisPacketOobOffset)

Definition at line 501 of file ndismain.h.

#define NDIS_OPEN_RECEIVE_NOT_REENTRANT   0x00000001
 

Definition at line 1128 of file ndismain.h.

#define NDIS_PACKET_EXTENSION_FROM_PACKET _P   )     ((PNDIS_PACKET_EXTENSION)((PUCHAR)(_P) + (_P)->Private.NdisPacketOobOffset + sizeof(NDIS_PACKET_OOB_DATA)))
 

Definition at line 630 of file ndismain.h.

#define NDIS_PAGABLE_FUNCTION _F   )     alloc_text(PAGE,_F)
 

Definition at line 37 of file ndismain.h.

#define NDIS_PAGEABLE_FUNCTION _F   )     alloc_text(PAGE,_F)
 

Definition at line 38 of file ndismain.h.

#define NDIS_PER_PACKET_INFO_FROM_PACKET _P,
_Id   )     ((PNDIS_PACKET_EXTENSION)((PUCHAR)(_P) + (_P)->Private.NdisPacketOobOffset + sizeof(NDIS_PACKET_OOB_DATA)))->NdisPacketInfo[(_Id)]
 

Definition at line 631 of file ndismain.h.

#define NDIS_PHYSICAL_ADDRESS_CONST _Low,
_High   )     { (ULONG)(_Low), (LONG)(_High) }
 

Definition at line 1093 of file ndismain.h.

#define NDIS_PORT_TO_PORT Handle,
Port   )     (((PNDIS_ADAPTER_BLOCK)(Handle))->PortOffset + (Port))
 

Definition at line 2344 of file ndismain.h.

#define NDIS_SET_ORIGINAL_PACKET _P,
_OP   )     NDIS_PER_PACKET_INFO_FROM_PACKET(_P, OriginalPacketInfo) = _OP
 

Definition at line 633 of file ndismain.h.

#define NDIS_SET_PACKET_HEADER_SIZE _Packet,
_HdrSize   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->HeaderSize = (_HdrSize)

Definition at line 538 of file ndismain.h.

#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;\ ((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->MediaSpecificInformation = (_MediaSpecificInfo);\ ((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->SizeMediaSpecificInfo = (_SizeMediaSpecificInfo);\ } \ }

Definition at line 555 of file ndismain.h.

#define NDIS_SET_PACKET_STATUS _Packet,
_Status   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->Status = (_Status)

Definition at line 541 of file ndismain.h.

#define NDIS_SET_PACKET_TIME_RECEIVED _Packet,
_TimeReceived   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->TimeReceived = (_TimeReceived)

Definition at line 550 of file ndismain.h.

#define NDIS_SET_PACKET_TIME_SENT _Packet,
_TimeSent   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->TimeSent = (_TimeSent)

Definition at line 547 of file ndismain.h.

#define NDIS_SET_PACKET_TIME_TO_SEND _Packet,
_TimeToSend   ) 
 

Value:

((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \ (_Packet)->Private.NdisPacketOobOffset))->TimeToSend = (_TimeToSend)

Definition at line 544 of file ndismain.h.

#define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED   ((NDIS_STATUS)0xC0010028L)
 

Definition at line 1209 of file ndismain.h.

#define NDIS_STATUS_ADAPTER_NOT_FOUND   ((NDIS_STATUS)0xC0010006L)
 

Definition at line 1173 of file ndismain.h.

#define NDIS_STATUS_ADAPTER_NOT_OPEN   ((NDIS_STATUS)0xC0010012L)
 

Definition at line 1186 of file ndismain.h.

#define NDIS_STATUS_ADAPTER_NOT_READY   ((NDIS_STATUS)0xC0010011L)
 

Definition at line 1185 of file ndismain.h.

#define NDIS_STATUS_ADAPTER_REMOVED   ((NDIS_STATUS)0xC0010018L)
 

Definition at line 1192 of file ndismain.h.

#define NDIS_STATUS_ALREADY_MAPPED   ((NDIS_STATUS)0xC001001DL)
 

Definition at line 1197 of file ndismain.h.

#define NDIS_STATUS_BAD_CHARACTERISTICS   ((NDIS_STATUS)0xC0010005L)
 

Definition at line 1172 of file ndismain.h.

#define NDIS_STATUS_BAD_VERSION   ((NDIS_STATUS)0xC0010004L)
 

Definition at line 1171 of file ndismain.h.

#define NDIS_STATUS_BUFFER_OVERFLOW   ((NDIS_STATUS)STATUS_BUFFER_OVERFLOW)
 

Definition at line 1166 of file ndismain.h.

#define NDIS_STATUS_BUFFER_TOO_SHORT   ((NDIS_STATUS)0xC0010016L)
 

Definition at line 1190 of file ndismain.h.

#define NDIS_STATUS_CALL_ACTIVE   ((NDIS_STATUS)0x00010007L)
 

Definition at line 1139 of file ndismain.h.

#define NDIS_STATUS_CELLRATE_NOT_AVAILABLE   ((NDIS_STATUS)0xC0010026L)
 

Definition at line 1207 of file ndismain.h.

#define NDIS_STATUS_CLOSED   ((NDIS_STATUS)0x40010007L)
 

Definition at line 1145 of file ndismain.h.

#define NDIS_STATUS_CLOSING   ((NDIS_STATUS)0xC0010002L)
 

Definition at line 1170 of file ndismain.h.

#define NDIS_STATUS_CLOSING_INDICATING   ((NDIS_STATUS)0xC001000EL)
 

Definition at line 1181 of file ndismain.h.

#define NDIS_STATUS_DEST_OUT_OF_ORDER   ((NDIS_STATUS)0xC0010024L)
 

Definition at line 1205 of file ndismain.h.

#define NDIS_STATUS_DEVICE_FAILED   ((NDIS_STATUS)0xC0010008L)
 

Definition at line 1175 of file ndismain.h.

#define NDIS_STATUS_ERROR_READING_FILE   ((NDIS_STATUS)0xC001001CL)
 

Definition at line 1196 of file ndismain.h.

#define NDIS_STATUS_FAILURE   ((NDIS_STATUS) STATUS_UNSUCCESSFUL)
 

Definition at line 1168 of file ndismain.h.

#define NDIS_STATUS_FILE_NOT_FOUND   ((NDIS_STATUS)0xC001001BL)
 

Definition at line 1195 of file ndismain.h.

#define NDIS_STATUS_GROUP_ADDRESS_IN_USE   ((NDIS_STATUS)0xC001001AL)
 

Definition at line 1194 of file ndismain.h.

#define NDIS_STATUS_HARD_ERRORS   ((NDIS_STATUS)0x80010004L)
 

Definition at line 1165 of file ndismain.h.

#define NDIS_STATUS_HARDWARE_LINE_DOWN   ((NDIS_STATUS)0x4001000EL)
 

Definition at line 1152 of file ndismain.h.

#define NDIS_STATUS_HARDWARE_LINE_UP   ((NDIS_STATUS)0x4001000DL)
 

Definition at line 1151 of file ndismain.h.

#define NDIS_STATUS_INCOMPATABLE_QOS   ((NDIS_STATUS)0xC0010027L)
 

Definition at line 1208 of file ndismain.h.

#define NDIS_STATUS_INTERFACE_DOWN   ((NDIS_STATUS)0x40010010L)
 

Definition at line 1154 of file ndismain.h.

#define NDIS_STATUS_INTERFACE_UP   ((NDIS_STATUS)0x4001000FL)
 

Definition at line 1153 of file ndismain.h.

#define NDIS_STATUS_INVALID_ADDRESS   ((NDIS_STATUS)0xC0010022L)
 

Definition at line 1203 of file ndismain.h.

#define NDIS_STATUS_INVALID_DATA   ((NDIS_STATUS)0xC0010015L)
 

Definition at line 1189 of file ndismain.h.

#define NDIS_STATUS_INVALID_DEVICE_REQUEST   ((NDIS_STATUS)STATUS_INVALID_DEVICE_REQUEST)
 

Definition at line 1213 of file ndismain.h.

#define NDIS_STATUS_INVALID_LENGTH   ((NDIS_STATUS)0xC0010014L)
 

Definition at line 1188 of file ndismain.h.

#define NDIS_STATUS_INVALID_OID   ((NDIS_STATUS)0xC0010017L)
 

Definition at line 1191 of file ndismain.h.

#define NDIS_STATUS_INVALID_PACKET   ((NDIS_STATUS)0xC001000FL)
 

Definition at line 1183 of file ndismain.h.

#define NDIS_STATUS_INVALID_SAP   ((NDIS_STATUS)0xC0010020L)
 

Definition at line 1201 of file ndismain.h.

#define NDIS_STATUS_LINK_SPEED_CHANGE   ((NDIS_STATUS)0x40010013L)
 

Definition at line 1158 of file ndismain.h.

#define NDIS_STATUS_MEDIA_BUSY   ((NDIS_STATUS)0x40010011L)
 

Definition at line 1155 of file ndismain.h.

#define NDIS_STATUS_MEDIA_CONNECT   ((NDIS_STATUS)0x4001000BL)
 

Definition at line 1149 of file ndismain.h.

#define NDIS_STATUS_MEDIA_DISCONNECT   ((NDIS_STATUS)0x4001000CL)
 

Definition at line 1150 of file ndismain.h.

#define NDIS_STATUS_MEDIA_SPECIFIC_INDICATION   ((NDIS_STATUS)0x40010012L)
 

Definition at line 1156 of file ndismain.h.

#define NDIS_STATUS_MULTICAST_EXISTS   ((NDIS_STATUS)0xC001000AL)
 

Definition at line 1177 of file ndismain.h.

#define NDIS_STATUS_MULTICAST_FULL   ((NDIS_STATUS)0xC0010009L)
 

Definition at line 1176 of file ndismain.h.

#define NDIS_STATUS_MULTICAST_NOT_FOUND   ((NDIS_STATUS)0xC001000BL)
 

Definition at line 1178 of file ndismain.h.

#define NDIS_STATUS_NETWORK_UNREACHABLE   ((NDIS_STATUS)STATUS_NETWORK_UNREACHABLE)
 

Definition at line 1214 of file ndismain.h.

#define NDIS_STATUS_NO_CABLE   ((NDIS_STATUS)0xC001001FL)
 

Definition at line 1199 of file ndismain.h.

#define NDIS_STATUS_NO_ROUTE_TO_DESTINATION   ((NDIS_STATUS)0xC0010029L)
 

Definition at line 1210 of file ndismain.h.

#define NDIS_STATUS_NOT_ACCEPTED   ((NDIS_STATUS)0x00010003L)
 

Definition at line 1138 of file ndismain.h.

#define NDIS_STATUS_NOT_COPIED   ((NDIS_STATUS)0x00010002L)
 

Definition at line 1137 of file ndismain.h.

#define NDIS_STATUS_NOT_INDICATING   ((NDIS_STATUS)0xC0010013L)
 

Definition at line 1187 of file ndismain.h.

#define NDIS_STATUS_NOT_RECOGNIZED   ((NDIS_STATUS)0x00010001L)
 

Definition at line 1136 of file ndismain.h.

#define NDIS_STATUS_NOT_RESETTABLE   ((NDIS_STATUS)0x80010001L)
 

Definition at line 1163 of file ndismain.h.

#define NDIS_STATUS_NOT_SUPPORTED   ((NDIS_STATUS)STATUS_NOT_SUPPORTED)
 

Definition at line 1182 of file ndismain.h.

#define NDIS_STATUS_ONLINE   ((NDIS_STATUS)0x40010003L)
 

Definition at line 1141 of file ndismain.h.

#define NDIS_STATUS_OPEN_FAILED   ((NDIS_STATUS)0xC0010007L)
 

Definition at line 1174 of file ndismain.h.

#define NDIS_STATUS_OPEN_LIST_FULL   ((NDIS_STATUS)0xC0010010L)
 

Definition at line 1184 of file ndismain.h.

#define NDIS_STATUS_PENDING   ((NDIS_STATUS) STATUS_PENDING)
 

Definition at line 1135 of file ndismain.h.

#define NDIS_STATUS_REQUEST_ABORTED   ((NDIS_STATUS)0xC001000CL)
 

Definition at line 1179 of file ndismain.h.

#define NDIS_STATUS_RESET_END   ((NDIS_STATUS)0x40010005L)
 

Definition at line 1143 of file ndismain.h.

#define NDIS_STATUS_RESET_IN_PROGRESS   ((NDIS_STATUS)0xC001000DL)
 

Definition at line 1180 of file ndismain.h.

#define NDIS_STATUS_RESET_START   ((NDIS_STATUS)0x40010004L)
 

Definition at line 1142 of file ndismain.h.

#define NDIS_STATUS_RESOURCE_CONFLICT   ((NDIS_STATUS)0xC001001EL)
 

Definition at line 1198 of file ndismain.h.

#define NDIS_STATUS_RESOURCES   ((NDIS_STATUS)STATUS_INSUFFICIENT_RESOURCES)
 

Definition at line 1169 of file ndismain.h.

#define NDIS_STATUS_RING_STATUS   ((NDIS_STATUS)0x40010006L)
 

Definition at line 1144 of file ndismain.h.

#define NDIS_STATUS_SAP_IN_USE   ((NDIS_STATUS)0xC0010021L)
 

Definition at line 1202 of file ndismain.h.

#define NDIS_STATUS_SOFT_ERRORS   ((NDIS_STATUS)0x80010003L)
 

Definition at line 1164 of file ndismain.h.

#define NDIS_STATUS_SUCCESS   ((NDIS_STATUS)STATUS_SUCCESS)
 

Definition at line 1134 of file ndismain.h.

#define NDIS_STATUS_TOKEN_RING_OPEN_ERROR   ((NDIS_STATUS)0xC0011000L)
 

Definition at line 1212 of file ndismain.h.

#define NDIS_STATUS_UNSUPPORTED_MEDIA   ((NDIS_STATUS)0xC0010019L)
 

Definition at line 1193 of file ndismain.h.

#define NDIS_STATUS_VC_NOT_ACTIVATED   ((NDIS_STATUS)0xC0010023L)
 

Definition at line 1204 of file ndismain.h.

#define NDIS_STATUS_VC_NOT_AVAILABLE   ((NDIS_STATUS)0xC0010025L)
 

Definition at line 1206 of file ndismain.h.

#define NDIS_STATUS_WAN_CO_FRAGMENT   ((NDIS_STATUS)0x40010015L)
 

Definition at line 1160 of file ndismain.h.

#define NDIS_STATUS_WAN_CO_LINKPARAMS   ((NDIS_STATUS)0x40010016L)
 

Definition at line 1161 of file ndismain.h.

#define NDIS_STATUS_WAN_FRAGMENT   ((NDIS_STATUS)0x4001000AL)
 

Definition at line 1148 of file ndismain.h.

#define NDIS_STATUS_WAN_GET_STATS   ((NDIS_STATUS)0x40010014L)
 

Definition at line 1159 of file ndismain.h.

#define NDIS_STATUS_WAN_LINE_DOWN   ((NDIS_STATUS)0x40010009L)
 

Definition at line 1147 of file ndismain.h.

#define NDIS_STATUS_WAN_LINE_UP   ((NDIS_STATUS)0x40010008L)
 

Definition at line 1146 of file ndismain.h.

#define NDIS_STATUS_WW_INDICATION   NDIS_STATUS_MEDIA_SPECIFIC_INDICATION
 

Definition at line 1157 of file ndismain.h.

#define NDIS_STRING_CONST  )     {sizeof(L##x)-2, sizeof(L##x), L##x}
 

Definition at line 80 of file ndismain.h.

#define NDIS_TASK_OFFLOAD_VERSION   1
 

Definition at line 706 of file ndismain.h.

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

Definition at line 1374 of file ndismain.h.

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

Definition at line 2173 of file ndismain.h.

#define NdisAllocateFromNPagedLookasideList _L   )     ExAllocateFromNPagedLookasideList(_L)
 

Definition at line 3222 of file ndismain.h.

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

Definition at line 1370 of file ndismain.h.

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

Definition at line 3208 of file ndismain.h.

#define NdisChainBufferAtBack Packet,
Buffer   ) 
 

Value:

{ \ PNDIS_BUFFER TmpBuffer = (Buffer); \ \ for (;;) \ { \ if (TmpBuffer->Next == NULL) \ break; \ TmpBuffer = TmpBuffer->Next; \ } \ if ((Packet)->Private.Head != NULL) \ { \ (Packet)->Private.Tail->Next = (Buffer); \ } \ else \ { \ (Packet)->Private.Head = (Buffer); \ } \ (Packet)->Private.Tail = TmpBuffer; \ TmpBuffer->Next = NULL; \ (Packet)->Private.ValidCounts = FALSE; \ }

Definition at line 2044 of file ndismain.h.

#define NdisChainBufferAtFront Packet,
Buffer   ) 
 

Value:

{ \ PNDIS_BUFFER TmpBuffer = (Buffer); \ \ for (;;) \ { \ if (TmpBuffer->Next == (PNDIS_BUFFER)NULL) \ break; \ TmpBuffer = TmpBuffer->Next; \ } \ if ((Packet)->Private.Head == NULL) \ { \ (Packet)->Private.Tail = TmpBuffer; \ } \ TmpBuffer->Next = (Packet)->Private.Head; \ (Packet)->Private.Head = (Buffer); \ (Packet)->Private.ValidCounts = FALSE; \ }

Definition at line 2015 of file ndismain.h.

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

Definition at line 918 of file ndismain.h.

#define NdisCopyLookaheadData _Destination,
_Source,
_Length,
_MacOptions   ) 
 

Value:

{ \ if ((_MacOptions) & NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA) \ { \ RtlCopyMemory(_Destination, _Source, _Length); \ } \ else \ { \ PUCHAR _Src = (PUCHAR)(_Source); \ PUCHAR _Dest = (PUCHAR)(_Destination); \ PUCHAR _End = _Dest + (_Length); \ while (_Dest < _End) \ { \ *_Dest++ = *_Src++; \ } \ } \ }

Definition at line 1724 of file ndismain.h.

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

Definition at line 2915 of file ndismain.h.

#define NdisDeleteNPagedLookasideList _L   )     ExDeleteNPagedLookasideList(_L)
 

Definition at line 3221 of file ndismain.h.

#define NdisDestroyLookaheadBufferFromSharedMemory _B   ) 
 

Definition at line 2926 of file ndismain.h.

#define NdisDprAcquireSpinLock _SpinLock   ) 
 

Value:

{ \ KeAcquireSpinLockAtDpcLevel(&(_SpinLock)->SpinLock); \ (_SpinLock)->OldIrql = DISPATCH_LEVEL; \ }

Definition at line 1378 of file ndismain.h.

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

Definition at line 1384 of file ndismain.h.

#define NdisEqualAnsiString _String1,
_String2,
_CaseInsensitive   )     RtlEqualAnsiString(_String1, _String2, _CaseInsensitive)
 

Definition at line 2873 of file ndismain.h.

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

Definition at line 75 of file ndismain.h.

#define NdisEqualString _String1,
_String2,
_CaseInsensitive   )     RtlEqualUnicodeString(_String1, _String2, _CaseInsensitive)
 

Definition at line 2876 of file ndismain.h.

#define NdisEqualUnicodeString _String1,
_String2,
_CaseInsensitive   )     RtlEqualUnicodeString(_String1, _String2, _CaseInsensitive)
 

Definition at line 2879 of file ndismain.h.

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

Definition at line 76 of file ndismain.h.

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

Definition at line 2328 of file ndismain.h.

#define NdisFreeBuffer Buffer   )     IoFreeMdl(Buffer)
 

Definition at line 1904 of file ndismain.h.

#define NdisFreeSpinLock _SpinLock   ) 
 

Definition at line 1372 of file ndismain.h.

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

Definition at line 2898 of file ndismain.h.

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

Definition at line 3223 of file ndismain.h.

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

Definition at line 1962 of file ndismain.h.

 
#define NdisGetCacheFillSize  )     HalGetDmaAlignmentRequirement()
 

Definition at line 2336 of file ndismain.h.

#define NdisGetCurrentSystemTime _pSystemTime   ) 
 

Value:

{ \ KeQuerySystemTime(_pSystemTime); \ }

Definition at line 1386 of file ndismain.h.

#define NdisGetFirstBufferFromPacket _Packet,
_FirstBuffer,
_FirstBufferVA,
_FirstBufferLength,
_TotalBufferLength   ) 
 

Value:

{ \ PNDIS_BUFFER _pBuf; \ \ _pBuf = (_Packet)->Private.Head; \ *(_FirstBuffer) = _pBuf; \ *(_FirstBufferVA) = MmGetMdlVirtualAddress(_pBuf); \ *(_FirstBufferLength) = \ *(_TotalBufferLength) = MmGetMdlByteCount(_pBuf); \ for (_pBuf = _pBuf->Next; \ _pBuf != NULL; \ _pBuf = _pBuf->Next) \ { \ *(_TotalBufferLength) += MmGetMdlByteCount(_pBuf); \ } \ }

Definition at line 1938 of file ndismain.h.

#define NdisGetNextBuffer CurrentBuffer,
NextBuffer   ) 
 

Value:

{ \ *(NextBuffer) = (CurrentBuffer)->Next; \ }

Definition at line 2157 of file ndismain.h.

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

Definition at line 905 of file ndismain.h.

#define NdisGetPhysicalAddressHigh _PhysicalAddress   )     ((_PhysicalAddress).HighPart)
 

Definition at line 1046 of file ndismain.h.

#define NdisGetPhysicalAddressLow _PhysicalAddress   )     ((_PhysicalAddress).LowPart)
 

Definition at line 1072 of file ndismain.h.

#define NdisInitAnsiString _as,
 )     RtlInitString(_as, s)
 

Definition at line 3206 of file ndismain.h.

#define NdisInitializeListHead _ListHead   )     InitializeListHead(_ListHead)
 

Definition at line 1526 of file ndismain.h.

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

Definition at line 3218 of file ndismain.h.

#define NdisInitializeSListHead SListHead   )     ExInitializeSListHead(SListHead)
 

Definition at line 1490 of file ndismain.h.

#define NdisInitializeWorkItem _WI_,
_R_,
_C_   ) 
 

Value:

{ \ (_WI_)->Context = _C_; \ (_WI_)->Routine = _R_; \ }

Definition at line 2262 of file ndismain.h.

#define NdisInitUnicodeString _us,
 )     RtlInitUnicodeString(_us, s)
 

Definition at line 3207 of file ndismain.h.

#define NdisInterlockedAddLargeStatistic _Addend,
_Increment   )     ExInterlockedAddLargeStatistic((PLARGE_INTEGER)_Addend, _Increment)
 

Definition at line 1475 of file ndismain.h.

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

Definition at line 1399 of file ndismain.h.

#define NdisInterlockedDecrement Addend   )     InterlockedDecrement(Addend)
 

Definition at line 1397 of file ndismain.h.

#define NdisInterlockedFlushSList SListHead   )     ExInterlockedFlushSList(SListHead)
 

Definition at line 1488 of file ndismain.h.

#define NdisInterlockedIncrement Addend   )     InterlockedIncrement(Addend)
 

Definition at line 1395 of file ndismain.h.

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

Definition at line 1402 of file ndismain.h.

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

Definition at line 1405 of file ndismain.h.

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

Definition at line 1414 of file ndismain.h.

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

Definition at line 1485 of file ndismain.h.

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

Definition at line 1411 of file ndismain.h.

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

Definition at line 1482 of file ndismain.h.

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

Definition at line 1408 of file ndismain.h.

#define NdisInterruptLatched   Latched
 

Definition at line 193 of file ndismain.h.

#define NdisInterruptLevelSensitive   LevelSensitive
 

Definition at line 194 of file ndismain.h.

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

Definition at line 157 of file ndismain.h.

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

Definition at line 73 of file ndismain.h.

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

Definition at line 155 of file ndismain.h.

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

Definition at line 2900 of file ndismain.h.

#define NdisQueryBuffer _Buffer,
_VirtualAddress,
_Length   ) 
 

Value:

{ \ if (ARGUMENT_PRESENT(_VirtualAddress)) \ { \ *(PVOID *)(_VirtualAddress) = MmGetSystemAddressForMdl(_Buffer); \ } \ *(_Length) = MmGetMdlByteCount(_Buffer); \ }

Definition at line 1906 of file ndismain.h.

#define NdisQueryBufferOffset _Buffer,
_Offset,
_Length   ) 
 

Value:

{ \ *(_Offset) = MmGetMdlByteOffset(_Buffer); \ *(_Length) = MmGetMdlByteCount(_Buffer); \ }

Definition at line 1927 of file ndismain.h.

#define NdisQueryBufferSafe _Buffer,
_VirtualAddress,
_Length,
_Priority   ) 
 

Value:

{ \ PVOID _VA; \ \ _VA = MmGetSystemAddressForMdlSafe(_Buffer, _Priority); \ if (ARGUMENT_PRESENT(_VirtualAddress)) \ { \ *(PVOID *)(_VirtualAddress) = _VA; \ } \ *(_Length) = (_VA != NULL) ? MmGetMdlByteCount(_Buffer) : 0; \ }

Definition at line 1915 of file ndismain.h.

#define NdisQueryDepthSList SListHead   )     ExQueryDepthSList(SListHead)
 

Definition at line 1492 of file ndismain.h.

#define NdisQueryPacket _Packet,
_PhysicalBufferCount,
_BufferCount,
_FirstBuffer,
_TotalPacketLength   ) 
 

Definition at line 2099 of file ndismain.h.

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

Definition at line 2657 of file ndismain.h.

#define NdisRawReadPortBufferUlong Port,
Buffer,
Length   ) 
 

Value:

{ \ ULONG_PTR _Port = (ULONG_PTR)(Port); \ PULONG _Current = (Buffer); \ PULONG _End = _Current + (Length); \ for ( ; _Current < _End; ++_Current) \ { \ *(UNALIGNED ULONG *)_Current = READ_PORT_ULONG((PULONG)_Port); \ } \ }

Definition at line 2698 of file ndismain.h.

#define NdisRawReadPortBufferUshort Port,
Buffer,
Length   ) 
 

Value:

{ \ ULONG_PTR _Port = (ULONG_PTR)(Port); \ PUSHORT _Current = (Buffer); \ PUSHORT _End = _Current + (Length); \ for ( ; _Current < _End; ++_Current) \ { \ *(UNALIGNED USHORT *)_Current = READ_PORT_USHORT((PUSHORT)_Port); \ } \ }

Definition at line 2673 of file ndismain.h.

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

Definition at line 2621 of file ndismain.h.

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

Definition at line 2641 of file ndismain.h.

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

Definition at line 2631 of file ndismain.h.

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

Definition at line 2557 of file ndismain.h.

#define NdisRawWritePortBufferUlong Port,
Buffer,
Length   ) 
 

Value:

{ \ ULONG_PTR _Port = (ULONG_PTR)(Port); \ PULONG _Current = (Buffer); \ PULONG _End = _Current + (Length); \ for ( ; _Current < _End; ++_Current) \ { \ WRITE_PORT_ULONG((PULONG)_Port,*(UNALIGNED ULONG *)_Current); \ } \ }

Definition at line 2597 of file ndismain.h.

#define NdisRawWritePortBufferUshort Port,
Buffer,
Length   ) 
 

Value:

{ \ ULONG_PTR _Port = (ULONG_PTR)(Port); \ PUSHORT _Current = (Buffer); \ PUSHORT _End = _Current + (Length); \ for ( ; _Current < _End; ++_Current) \ { \ WRITE_PORT_USHORT((PUSHORT)_Port,*(UNALIGNED USHORT *)_Current);\ } \ }

Definition at line 2572 of file ndismain.h.

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

Definition at line 2521 of file ndismain.h.

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

Definition at line 2541 of file ndismain.h.

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

Definition at line 2531 of file ndismain.h.

#define NdisReadDmaCounter _NdisDmaHandle   )     HalReadDmaCounter(((PNDIS_DMA_BLOCK)(_NdisDmaHandle))->SystemAdapterObject)
 

Definition at line 3038 of file ndismain.h.

#define NdisReadPortBufferUchar Handle,
Port,
Buffer,
Length   )     NdisRawReadPortBufferUchar(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
 

Definition at line 2479 of file ndismain.h.

#define NdisReadPortBufferUlong Handle,
Port,
Buffer   )     NdisRawReadPortBufferUlong(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
 

Definition at line 2503 of file ndismain.h.

#define NdisReadPortBufferUshort Handle,
Port,
Buffer,
Length   )     NdisRawReadPortBufferUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
 

Definition at line 2491 of file ndismain.h.

#define NdisReadPortUchar Handle,
Port,
Data   )     NdisRawReadPortUchar(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
 

Definition at line 2440 of file ndismain.h.

#define NdisReadPortUlong Handle,
Port,
Data   )     NdisRawReadPortUlong(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
 

Definition at line 2463 of file ndismain.h.

#define NdisReadPortUshort Handle,
Port,
Data   )     NdisRawReadPortUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
 

Definition at line 2451 of file ndismain.h.

#define NdisReadRegisterUchar Register,
Data   )     *(Data) = READ_REGISTER_UCHAR((PUCHAR)(Register))
 

Definition at line 2844 of file ndismain.h.

#define NdisReadRegisterUlong Register,
Data   )     *(Data) = READ_REGISTER_ULONG((PULONG)(Register))
 

Definition at line 2870 of file ndismain.h.

#define NdisReadRegisterUshort Register,
Data   )     *(Data) = READ_REGISTER_USHORT((PUSHORT)(Register))
 

Definition at line 2857 of file ndismain.h.

#define NdisRecalculatePacketCounts Packet   ) 
 

Value:

{ \ { \ PNDIS_BUFFER TmpBuffer = (Packet)->Private.Head; \ if (TmpBuffer) \ { \ while (TmpBuffer->Next) \ { \ TmpBuffer = TmpBuffer->Next; \ } \ (Packet)->Private.Tail = TmpBuffer; \ } \ (Packet)->Private.ValidCounts = FALSE; \ } \ }

Definition at line 1988 of file ndismain.h.

#define NdisReinitializePacket Packet   ) 
 

Value:

{ \ (Packet)->Private.Head = (PNDIS_BUFFER)NULL; \ (Packet)->Private.ValidCounts = FALSE; \ }

Definition at line 1831 of file ndismain.h.

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

Definition at line 1376 of file ndismain.h.

#define NdisRetrieveUlong Destination,
Source   )     RtlRetrieveUlong(Destination, Source)
 

Definition at line 77 of file ndismain.h.

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

Definition at line 917 of file ndismain.h.

#define NdisSetPhysicalAddressHigh _PhysicalAddress,
_Value   )     ((_PhysicalAddress).HighPart) = (_Value)
 

Definition at line 1059 of file ndismain.h.

#define NdisSetPhysicalAddressLow _PhysicalAddress,
_Value   )     ((_PhysicalAddress).LowPart) = (_Value)
 

Definition at line 1086 of file ndismain.h.

#define NdisStallExecution MicroSecondsToStall   )     KeStallExecutionProcessor(MicroSecondsToStall)
 

Definition at line 2225 of file ndismain.h.

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

Definition at line 78 of file ndismain.h.

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

Definition at line 3209 of file ndismain.h.

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

Definition at line 3210 of file ndismain.h.

#define NdisUpdateSharedMemory _H,
_L,
_V,
_P   ) 
 

Definition at line 3065 of file ndismain.h.

#define NdisWritePortBufferUchar Handle,
Port,
Buffer,
Length   )     NdisRawWritePortBufferUchar(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
 

Definition at line 2399 of file ndismain.h.

#define NdisWritePortBufferUlong Handle,
Port,
Buffer,
Length   )     NdisRawWritePortBufferUlong(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
 

Definition at line 2424 of file ndismain.h.

#define NdisWritePortBufferUshort Handle,
Port,
Buffer,
Length   )     NdisRawWritePortBufferUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Buffer),(Length))
 

Definition at line 2411 of file ndismain.h.

#define NdisWritePortUchar Handle,
Port,
Data   )     WRITE_PORT_UCHAR((PUCHAR)(NDIS_PORT_TO_PORT(Handle,Port)),(UCHAR)(Data))
 

Definition at line 2359 of file ndismain.h.

#define NdisWritePortUlong Handle,
Port,
Data   )     WRITE_PORT_ULONG((PULONG)(NDIS_PORT_TO_PORT(Handle,Port)),(ULONG)(Data))
 

Definition at line 2382 of file ndismain.h.

#define NdisWritePortUshort Handle,
Port,
Data   )     WRITE_PORT_USHORT((PUSHORT)(NDIS_PORT_TO_PORT(Handle,Port)),(USHORT)(Data))
 

Definition at line 2370 of file ndismain.h.

#define NdisWriteRegisterUchar Register,
Data   ) 
 

Value:

{ \ WRITE_REGISTER_UCHAR((Register),(Data)); \ READ_REGISTER_UCHAR(Register); \ }

Definition at line 2727 of file ndismain.h.

#define NdisWriteRegisterUcharWithStall Register,
Data,
StallTime   ) 
 

Value:

{ \ WRITE_REGISTER_UCHAR((Register),(Data)); \ NdisStallExecution(StallTime); \ READ_REGISTER_UCHAR(Register); \ }

Definition at line 2784 of file ndismain.h.

#define NdisWriteRegisterUlong Register,
Data   ) 
 

Value:

{ \ WRITE_REGISTER_ULONG((Register),(Data)); \ READ_REGISTER_ULONG(Register); \ }

Definition at line 2764 of file ndismain.h.

#define NdisWriteRegisterUlongWithStall Register,
Data,
StallTime   ) 
 

Value:

{ \ WRITE_REGISTER_ULONG((Register),(Data)); \ NdisStallExecution(StallTime); \ READ_REGISTER_ULONG(Register); \ }

Definition at line 2826 of file ndismain.h.

#define NdisWriteRegisterUshort Register,
Data   ) 
 

Value:

{ \ WRITE_REGISTER_USHORT((Register),(Data)); \ READ_REGISTER_USHORT(Register); \ }

Definition at line 2746 of file ndismain.h.

#define NdisWriteRegisterUshortWithStall Register,
Data,
StallTime   ) 
 

Value:

{ \ WRITE_REGISTER_USHORT((Register),(Data)); \ NdisStallExecution(StallTime); \ READ_REGISTER_USHORT(Register); \ }

Definition at line 2805 of file ndismain.h.

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

Definition at line 74 of file ndismain.h.

#define TRUNCATED_HASH_LEN   12
 

Definition at line 669 of file ndismain.h.


Typedef Documentation

typedef VOID(* ADAPTER_SHUTDOWN_HANDLER)(IN PVOID ShutdownContext)
 

Definition at line 277 of file ndismain.h.

typedef UINT IEEE8021PPRIORITY
 

Definition at line 869 of file ndismain.h.

typedef signed int INT
 

Definition at line 25 of file ndismain.h.

Referenced by __declspec(), _RemoveNonTaskWindows(), CallNextHookEx(), CheckClause(), CItemInWindow(), CItemInWindowVarOwnerDraw(), ClearDlg(), ClearDlgNoState(), ClientThreadSetup(), CliSaveImeHotKeyWorker(), Compare(), CompStrAToCharW(), CompStrAToStringExW(), CompStrAToStringW(), CompStrAToUndetW(), CompStrWToCharA(), CompStrWToStringA(), CompStrWToStringExA(), CompStrWToUndetA(), ConImeInputLangchange(), ConvertDIBIcon(), CopyImeFile(), CreateCRDRevArray(), DlgDirSelectHelper(), DoCreateScreenBuffer(), DrawIconCallBack(), DrawStateW(), DrawSwitchWndHilite(), DT_GetLineBreak(), ECImeComposition(), EcImeRequestHandler(), ECInsertText(), ECTabTheTextOut(), EnumPropsA(), EnumPropsW(), EnumRegisterWordProcA(), EnumRegisterWordProcW(), ExtractColumn(), GetImeLayout(), GetLinkProperties(), GetThreadsWithPKL(), HelpMenu(), ImeSystemHandler(), ImmConfigureIMEA(), ImmConfigureIMEW(), ImmEnumRegisterWordA(), ImmEnumRegisterWordW(), ImmEscapeA(), ImmEscapeW(), ImmGenerateMessage(), ImmGetCandidateListCountWorker(), ImmGetConversionListA(), ImmGetConversionListW(), ImmGetDescriptionA(), ImmGetGuideLineWorker(), ImmGetIMEFileNameA(), ImmGetRegisterWordStyleA(), ImmGetRegisterWordStyleW(), ImmIMPQueryIMEA(), ImmIMPQueryIMEW(), ImmIMPSetIMEA(), ImmIMPSetIMEW(), ImmInstallIMEA(), ImmInstallIMEW(), ImmPostMessages(), ImmReconversionWorker(), ImmRegisterWordA(), ImmRegisterWordW(), ImmTranslateMessage(), ImmUnregisterWordA(), ImmUnregisterWordW(), IncrementISel(), InitOemXlateTables(), InitSwitchWndInfo(), InquireIme(), InternalEnumProps(), InternalGetCandidateListAtoW(), InternalGetCandidateListWtoA(), InternalGetCompositionStringW(), InternalSCS_CHANGECLAUSE(), InternalSCS_SETSTR(), ISelFromPt(), IsUnicodeFullWidth(), LastFullVisible(), LBCalcItemRowsAndColumns(), LBCalcVarITopScrollAmt(), LBGetItemRect(), LBGetSetItemHeightHandler(), LBGetText(), LBGetVariableHeightItemHeight(), LBlstrcmpi(), LBPage(), LFontAtoLFontW(), LFontWtoLFontA(), ListBoxWndProcWorker(), LoadLinkInfo(), LoadStringA(), MainWndProc(), MBToWCSEx(), MESSAGECALL(), MLDeleteText(), MLDrawText(), MLEditWndProc(), MLIchToYPos(), NextPrevTaskIndex(), NtUserGetCursorFrameInfo(), NtUserSystemParametersInfo(), ResetSystemColors(), SKC1MousePosition(), SvSpontUnadvise(), SystemParametersInfo(), TimersProc(), TransGetOpenJ(), TransSetConversionWindow(), TSW_CalcRowAndCol(), UserIsFullWidth(), xxxAlterHilite(), xxxCancelTracking(), xxxDlgDirListHelper(), xxxDrawMenuItem(), xxxEnableWndSBArrows(), xxxFindString(), xxxFreeImeKeyboardLayouts(), xxxImmActivateAndUnloadThreadsLayout(), xxxImmActivateThreadsLayout(), xxxImmUnloadThreadsLayout(), xxxInsureVisible(), xxxInterSendMsgEx(), xxxLBBinarySearchString(), xxxLBBlockHilite(), xxxLbDir(), xxxLBInitStorage(), xxxLbInsertFile(), xxxLBInsertItem(), xxxLBoxCtlCharInput(), xxxLBoxCtlDelete(), xxxLBoxCtlHScrollMultiColumn(), xxxLBoxCtlKeyInput(), xxxLBoxCtlScroll(), xxxLBoxDoDeleteItems(), xxxLBPaint(), xxxLBSetCount(), xxxLBSetSel(), xxxMNChar(), xxxMNCompute(), xxxMNFindChar(), xxxMoveSwitchWndHilite(), xxxODI_ColorInit(), xxxPaintIconsInSwitchWindow(), xxxRealDrawMenuItem(), xxxResetWorld(), xxxScrollWindowEx(), xxxSetPKLinThreads(), xxxTrackMouse(), xxxTurnOffStickyKeys(), and xxxUnlatchStickyKeys().

typedef struct _LOCK_STATE LOCK_STATE
 

typedef struct _MAP_REGISTER_ENTRY MAP_REGISTER_ENTRY
 

typedef struct _MEDIA_SPECIFIC_INFORMATION MEDIA_SPECIFIC_INFORMATION
 

typedef ULONG NDIS_AF
 

Definition at line 987 of file ndismain.h.

typedef MDL NDIS_BUFFER
 

Definition at line 415 of file ndismain.h.

typedef enum _NDIS_CLASS_ID NDIS_CLASS_ID
 

typedef struct _NDIS_CONFIGURATION_PARAMETER NDIS_CONFIGURATION_PARAMETER
 

typedef struct _NDIS_DMA_BLOCK NDIS_DMA_BLOCK
 

typedef struct _NDIS_DMA_DESCRIPTION NDIS_DMA_DESCRIPTION
 

typedef CM_EISA_FUNCTION_INFORMATION NDIS_EISA_FUNCTION_INFORMATION
 

Definition at line 59 of file ndismain.h.

typedef CM_EISA_SLOT_INFORMATION NDIS_EISA_SLOT_INFORMATION
 

Definition at line 58 of file ndismain.h.

typedef enum _NDIS_ENCAPSULATION NDIS_ENCAPSULATION
 

typedef struct _NDIS_ENCAPSULATION_FORMAT NDIS_ENCAPSULATION_FORMAT
 

typedef enum _NDIS_ENVIRONMENT_TYPE NDIS_ENVIRONMENT_TYPE
 

typedef struct _NDIS_EVENT NDIS_EVENT
 

typedef PVOID NDIS_HANDLE
 

Definition at line 48 of file ndismain.h.

typedef enum _NDIS_INTERFACE_TYPE NDIS_INTERFACE_TYPE
 

typedef KINTERRUPT_MODE NDIS_INTERRUPT_MODE
 

Definition at line 195 of file ndismain.h.

typedef struct _NDIS_IPSEC_PACKET_INFO NDIS_IPSEC_PACKET_INFO
 

typedef CM_MCA_POS_DATA NDIS_MCA_POS_DATA
 

Definition at line 57 of file ndismain.h.

typedef struct _NDIS_PACKET NDIS_PACKET
 

typedef struct _NDIS_PACKET_EXTENSION NDIS_PACKET_EXTENSION
 

typedef struct _NDIS_PACKET_OOB_DATA NDIS_PACKET_OOB_DATA
 

typedef struct _NDIS_PACKET_PRIVATE NDIS_PACKET_PRIVATE
 

typedef enum _NDIS_PARAMETER_TYPE NDIS_PARAMETER_TYPE
 

typedef enum _NDIS_PER_PACKET_INFO NDIS_PER_PACKET_INFO
 

typedef PHYSICAL_ADDRESS NDIS_PHYSICAL_ADDRESS
 

Definition at line 1029 of file ndismain.h.

typedef struct _NDIS_PHYSICAL_ADDRESS_UNIT NDIS_PHYSICAL_ADDRESS_UNIT
 

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

Definition at line 181 of file ndismain.h.

typedef enum _NDIS_PROCESSOR_TYPE NDIS_PROCESSOR_TYPE
 

typedef struct _NDIS_REQUEST NDIS_REQUEST
 

typedef enum _NDIS_REQUEST_TYPE NDIS_REQUEST_TYPE
 

typedef CM_PARTIAL_RESOURCE_LIST NDIS_RESOURCE_LIST
 

Definition at line 285 of file ndismain.h.

typedef struct _NDIS_RW_LOCK NDIS_RW_LOCK
 

typedef union _NDIS_RW_LOCK_REFCOUNT NDIS_RW_LOCK_REFCOUNT
 

typedef struct _NDIS_SPIN_LOCK NDIS_SPIN_LOCK
 

typedef int NDIS_STATUS
 

Definition at line 50 of file ndismain.h.

typedef UNICODE_STRING NDIS_STRING
 

Definition at line 29 of file ndismain.h.

typedef enum _NDIS_TASK NDIS_TASK
 

typedef struct _NDIS_TASK_IPSEC NDIS_TASK_IPSEC
 

typedef struct _NDIS_TASK_OFFLOAD NDIS_TASK_OFFLOAD
 

typedef struct _NDIS_TASK_OFFLOAD_HEADER NDIS_TASK_OFFLOAD_HEADER
 

typedef struct _NDIS_TASK_TCP_IP_CHECKSUM NDIS_TASK_TCP_IP_CHECKSUM
 

typedef struct _NDIS_TASK_TCP_LARGE_SEND NDIS_TASK_TCP_LARGE_SEND
 

typedef struct _NDIS_TCP_IP_CHECKSUM_PACKET_INFO NDIS_TCP_IP_CHECKSUM_PACKET_INFO
 

typedef struct _NDIS_TIMER NDIS_TIMER
 

typedef struct _NDIS_WAN_FRAGMENT NDIS_WAN_FRAGMENT
 

typedef struct _NDIS_WAN_GET_STATS NDIS_WAN_GET_STATS
 

typedef struct _NDIS_WAN_LINE_DOWN NDIS_WAN_LINE_DOWN
 

typedef struct _NDIS_WAN_LINE_UP NDIS_WAN_LINE_UP
 

typedef struct _NDIS_WAN_PACKET NDIS_WAN_PACKET
 

typedef struct _NDIS_WORK_ITEM NDIS_WORK_ITEM
 

typedef * PCO_ADDRESS_FAMILY
 

typedef * PCO_SAP
 

typedef signed int * PINT
 

Definition at line 25 of file ndismain.h.

Referenced by BNMultiExtent(), ECTabTheTextOut(), LBSetTabStops(), SizeRect(), and xxxSystemParametersInfo().

typedef struct _LOCK_STATE * PLOCK_STATE
 

typedef struct _MAP_REGISTER_ENTRY * PMAP_REGISTER_ENTRY
 

typedef struct _MEDIA_SPECIFIC_INFORMATION * PMEDIA_SPECIFIC_INFORMATION
 

typedef struct _NDIS_ADAPTER_BLOCK NDIS_ADAPTER_BLOCK* PNDIS_ADAPTER_BLOCK
 

Definition at line 2959 of file ndismain.h.

typedef ULONG * PNDIS_AF
 

Definition at line 987 of file ndismain.h.

typedef MDL * PNDIS_BUFFER
 

Definition at line 415 of file ndismain.h.

typedef struct _NDIS_CONFIGURATION_PARAMETER * PNDIS_CONFIGURATION_PARAMETER
 

typedef struct _NDIS_DMA_BLOCK * PNDIS_DMA_BLOCK
 

typedef struct _NDIS_DMA_DESCRIPTION * PNDIS_DMA_DESCRIPTION
 

typedef CM_EISA_FUNCTION_INFORMATION * PNDIS_EISA_FUNCTION_INFORMATION
 

Definition at line 59 of file ndismain.h.

typedef CM_EISA_SLOT_INFORMATION * PNDIS_EISA_SLOT_INFORMATION
 

Definition at line 58 of file ndismain.h.

typedef struct _NDIS_ENCAPSULATION_FORMAT* PNDIS_ENCAPSULATION_FORMAT
 

typedef enum _NDIS_ENVIRONMENT_TYPE * PNDIS_ENVIRONMENT_TYPE
 

typedef struct _NDIS_EVENT * PNDIS_EVENT
 

typedef PVOID * PNDIS_HANDLE
 

Definition at line 48 of file ndismain.h.

typedef enum _NDIS_INTERFACE_TYPE * PNDIS_INTERFACE_TYPE
 

typedef KINTERRUPT_MODE * PNDIS_INTERRUPT_MODE
 

Definition at line 195 of file ndismain.h.

typedef struct _NDIS_IPSEC_PACKET_INFO * PNDIS_IPSEC_PACKET_INFO
 

typedef struct _NDIS_MAC_BLOCK NDIS_MAC_BLOCK* PNDIS_MAC_BLOCK
 

Definition at line 2958 of file ndismain.h.

typedef CM_MCA_POS_DATA * PNDIS_MCA_POS_DATA
 

Definition at line 57 of file ndismain.h.

typedef struct _NDIS_OPEN_BLOCK NDIS_OPEN_BLOCK* PNDIS_OPEN_BLOCK
 

Definition at line 2961 of file ndismain.h.

typedef struct _NDIS_PACKET * PNDIS_PACKET
 

typedef struct _NDIS_PACKET_EXTENSION * PNDIS_PACKET_EXTENSION
 

typedef struct _NDIS_PACKET_OOB_DATA * PNDIS_PACKET_OOB_DATA
 

typedef NDIS_HANDLE PNDIS_PACKET_POOL
 

Definition at line 418 of file ndismain.h.

typedef struct _NDIS_PACKET_PRIVATE * PNDIS_PACKET_PRIVATE
 

typedef enum _NDIS_PARAMETER_TYPE * PNDIS_PARAMETER_TYPE
 

typedef enum _NDIS_PER_PACKET_INFO * PNDIS_PER_PACKET_INFO
 

typedef PHYSICAL_ADDRESS * PNDIS_PHYSICAL_ADDRESS
 

Definition at line 1029 of file ndismain.h.

typedef struct _NDIS_PHYSICAL_ADDRESS_UNIT * PNDIS_PHYSICAL_ADDRESS_UNIT
 

typedef enum _NDIS_PROCESSOR_TYPE * PNDIS_PROCESSOR_TYPE
 

typedef struct _NDIS_PROTOCOL_BLOCK NDIS_PROTOCOL_BLOCK* PNDIS_PROTOCOL_BLOCK
 

Definition at line 2960 of file ndismain.h.

typedef struct _NDIS_REQUEST * PNDIS_REQUEST
 

typedef enum _NDIS_REQUEST_TYPE * PNDIS_REQUEST_TYPE
 

typedef CM_PARTIAL_RESOURCE_LIST * PNDIS_RESOURCE_LIST
 

Definition at line 285 of file ndismain.h.

typedef struct _NDIS_RW_LOCK * PNDIS_RW_LOCK
 

typedef struct _NDIS_SPIN_LOCK * PNDIS_SPIN_LOCK
 

typedef int * PNDIS_STATUS
 

Definition at line 50 of file ndismain.h.

typedef UNICODE_STRING * PNDIS_STRING
 

Definition at line 29 of file ndismain.h.

typedef enum _NDIS_TASK * PNDIS_TASK
 

typedef struct _NDIS_TASK_IPSEC * PNDIS_TASK_IPSEC
 

typedef struct _NDIS_TASK_OFFLOAD * PNDIS_TASK_OFFLOAD
 

typedef struct _NDIS_TASK_OFFLOAD_HEADER * PNDIS_TASK_OFFLOAD_HEADER
 

typedef struct _NDIS_TASK_TCP_IP_CHECKSUM * PNDIS_TASK_TCP_IP_CHECKSUM
 

typedef struct _NDIS_TASK_TCP_LARGE_SEND * PNDIS_TASK_TCP_LARGE_SEND
 

typedef struct _NDIS_TCP_IP_CHECKSUM_PACKET_INFO * PNDIS_TCP_IP_CHECKSUM_PACKET_INFO
 

typedef struct _NDIS_TIMER * PNDIS_TIMER
 

typedef VOID(* PNDIS_TIMER_FUNCTION)(IN PVOID SystemSpecific1, IN PVOID FunctionContext, IN PVOID SystemSpecific2, IN PVOID SystemSpecific3)
 

Definition at line 2969 of file ndismain.h.

typedef struct _NDIS_WAN_FRAGMENT * PNDIS_WAN_FRAGMENT
 

typedef struct _NDIS_WAN_GET_STATS * PNDIS_WAN_GET_STATS
 

typedef struct _NDIS_WAN_LINE_DOWN * PNDIS_WAN_LINE_DOWN
 

typedef struct _NDIS_WAN_LINE_UP * PNDIS_WAN_LINE_UP
 

typedef struct _NDIS_WAN_PACKET * PNDIS_WAN_PACKET
 

typedef struct _NDIS_WORK_ITEM * PNDIS_WORK_ITEM
 

typedef struct _NDIS_WRAPPER_HANDLE NDIS_WRAPPER_HANDLE* PNDIS_WRAPPER_HANDLE
 

Definition at line 2957 of file ndismain.h.

typedef struct _NDIS_PACKET ** PPNDIS_PACKET
 

typedef struct _REFERENCE * PREFERENCE
 

typedef unsigned int * PUINT
 

Definition at line 26 of file ndismain.h.

Referenced by OpenKeyboardLayoutFile(), and xxxMenuWindowProc().

typedef struct _REFERENCE REFERENCE
 

typedef unsigned int UINT
 

Definition at line 26 of file ndismain.h.

Referenced by __declspec(), _BuildNameList(), _BuildPropList(), _CheckMenuItem(), _ClientCopyDDEIn1(), _CreateWindowEx(), _DefSetText(), _EnumClipboardFormats(), _FindProp(), _GetAsyncKeyState(), _GetKeyboardLayoutList(), _GetKeyNameText(), _GetKeyState(), _GetMenuState(), _GetMouseMovePointsEx(), _GetPriorityClipboardFormat(), _GetQueueStatus(), _GetScrollBarInfo(), _GetSubMenu(), _GetWindowLongPtr(), _GetWindowWord(), _InitializeImmEntryTable(), _LockWindowStation(), _MNGetpItemIndex(), _MonitorFromPoint(), _MonitorFromWindow(), _PrintInxClause(), _SetMenuDefaultItem(), _SetWindowStationUser(), _SetWindowWord(), _SetWinEventHook(), AccessTimeOutReset(), CICMUserInterface::AddAssociateTab(), AddInstance(), AddNextContiguousRectangle(), AddPathEllipsis(), CICMUserInterface::AddProfileTab(), AdjustPushState(), AnimateWindow(), AppendToWindowsMenu(), AreNonClientAreasToBePainted(), ArrangeIconicWindows(), CDlg::BaseDlgProc(), bCheckIfDualBootingWithWin31(), BltValidInit(), BNCalcRect(), BNMultiDraw(), BNMultiExtent(), BroadcastSystemMessage(), BuildHimcList(), BuildHwndList(), ButtonWndProcWorker(), CalcbfExtra(), CalcWakeMask(), ChangeDibColors(), ChangeMenuA(), ChangeMenuW(), CharHandlerFromConsole(), CheckAllowForeground(), CheckClause(), CheckImeHotKey(), CheckMenuRadioItem(), CheckValidLayoutName(), CleanupConsoleMessages(), CleanupInputThreadMessages(), CliGetPreloadKeyboardLayouts(), CliImmInitializeHotKeys(), CliSetSingleHotKey(), ComboBoxWndProcWorker(), CommonCreateWindowStation(), Compare(), CompStrAToCharW(), CompStrAToStringExA(), CompStrAToStringExW(), CompStrAToStringW(), CompStrAToUndetA(), CompStrAToUndetW(), CompStrWToCharA(), CompStrWToStringA(), CompStrWToStringExA(), CompStrWToStringExW(), CompStrWToUndetA(), CompStrWToUndetW(), ConsoleDragQueryFile(), ConsoleWindowProc(), ConvertMemHandle(), ConvertToDDB(), CopyOutputString(), Create(), CreateBitmapStrip(), CreateIcoCurIndirect(), CreateInputContext(), CreateLocalMemHandle(), CreateMenuFromResource(), CreateScreenBitmap(), CreateScreenBuffer(), CShellExtensionPage::CShellExtensionPage(), DBGGetWindowLong(), DBGGetWindowLongPtr(), DdeGetLastError(), DdeInitializeA(), DdeInitializeW(), DdeQueryConvInfo(), DefDlgProcWorker(), DefFrameProcWorker(), DefMDIChildProcWorker(), DefWindowProcWorker(), DeleteProperties(), CPropertyPage::DialogProc(), CDialog::DialogProc(), DispatchLocalSize(), DlgDirSelectHelper(), CResizeDlg::DlgProc(), DlgSetFocus(), DoCallback(), DoTimer(), DrawEdge(), DrawFrameControl(), DrawPushButton(), DrawSwitchWndHilite(), DrawTextExWorker(), dsoGetOffset(), dsoGetSize(), DWP_GetHotKey(), DWP_SetHotKey(), ECCalcMarginForDBCSFont(), EcImeRequestHandler(), ECSetFont(), ECSetMargin(), ECTabTheTextOut(), ECUpdateFormat(), EditWndProc(), EndTaskDlgProc(), EnumClipboardFormats(), EnumRegisterWordProcA(), EnumRegisterWordProcW(), ExtractIconFromBMP(), ExtractIconFromEXE(), ExtractIconFromICO(), FastGetProfileIntW(), FastGetProfileValue(), FindBestPos(), FindQMsg(), FixupDdeExecuteIfNecessary(), FKActivationTimer(), Get31ModeFrom40ModeJ(), Get31ModeFrom40ModeK(), GetACPCharSet(), GetActiveKeyboardName(), GetActualNegA(), GetAsyncKeyState(), GetBestImage(), GetChar(), GetClipboardCodePage(), GetClipboardData(), GetClipboardFormatName(), GetCompStrJapan(), GetCompStrKorea(), GetCompStrPRC(), GetCompStrTaiwan(), GetDeskWallpaperName(), GetDlgItemInt(), GetDlgItemText(), GetFlags(), GetFrameControlMetrics(), GetHardErrorText(), GetIconIdEx(), CICMUserInterface::GetIconLocation(), GetImmFileName(), GetKBCodePage(), GetKeyboardLayoutCP(), GetKeyNameText(), GetKeyState(), GetMenuDefaultItem(), GetMenuDepth(), GetMenuItemID(), GetMenuItemInfo(), GetMenuState(), GetMouseKeyFlags(), GetParentArrangeRect(), GetPrimaryMonitor(), GetRegIntFromID(), GetRegistryValues(), GetSiteSidFromToken(), GetSizeDialogTemplate(), GetSystemPathName(), GetThreadKeyboardLayoutCP(), GetWindowInfo(), GetWndSBDisableFlags(), HandleKeyEvent(), HandleMouseEvent(), HardErrorHandler(), HelpMenu(), HitTestScrollBar(), HMInitHandleTable(), IconFromBestImage(), IMENonIMEToggle(), ImeRunHelp(), ImeSystemHandler(), ImmCallImeConsoleIME(), ImmCreateSoftKeyboard(), ImmEnumInputContext(), ImmEnumRegisterWordA(), ImmEnumRegisterWordW(), ImmFreeLayout(), ImmGetDescriptionA(), ImmGetDescriptionW(), ImmGetIMEFileNameA(), ImmGetIMEFileNameW(), ImmGetRegisterWordStyleA(), ImmGetRegisterWordStyleW(), ImmGetVirtualKey(), ImmProcessKey(), ImmTranslateMessage(), ImmWINNLSGetIMEHotkey(), InitFunctionTables(), InitializeFullScreen(), InitializeInstance(), InitOLEFormats(), InitWindowMsgTable(), InquireIme(), InternalCreateDialog(), InternalDdeCreateStringHandle(), InternalDdeInitialize(), InternalDdeQueryString(), InternalEnumObjects(), InternalEnumWindows(), InternalGetCompositionStringA(), InternalGetCompositionStringW(), InternalMapVirtualKeyEx(), InternalSetTimer(), CICMUserInterface::InvokeCommand(), IsDialogMessageW(), IsDlgButtonChecked(), ISelFromPt(), IsPushButton(), IsSAS(), JobCalloutAddProcess(), JTransCompositionA(), JTransCompositionW(), KillTooltipTimer(), LBCalcAllocNeeded(), LBGetItemRect(), LBGetVariableHeightItemHeight(), LBPrintCallback(), LBSetItemData(), LBSetVariableHeightItemHeight(), ListBoxWndProcWorker(), LoadDIB(), LoadKeyboardLayoutWorker(), LoadPreloadKeyboardLayouts(), LockDesktopMenu(), LW_DriversInit(), LW_RegisterWindows(), Magnitude(), MapVirtualKey(), MapVirtualKeyEx(), MatchImage(), MB_AddPushButtons(), MB_CopyToClipboard(), MB_DlgProcWorker(), MB_FindDlgTemplateSize(), MB_GetIconOrdNum(), MBToWCSEx(), MDIActivateDlgProcWorker(), MDIClientWndProcWorker(), MDIRemoveSysMenu(), MDISetMenu(), MenuLoadChicagoTemplates(), MenuLoadWinTemplates(), MenuRecalc(), MessageBoxWorker(), MESSAGECALL(), MLBuildchLines(), MLChar(), MLDrawText(), MLEditWndProc(), MLEnsureCaretVisible(), MLGetLineWidth(), MLKeyDown(), MLMouseMotion(), MLScroll(), MNCheckScroll(), MNFindItemInColumn(), MNFindNextValidItem(), MNItemHitTest(), MNLookUpItem(), MNRecalcTabStrings(), MNSetTimerToCloseHierarchy(), MNSetTimerToOpenHierarchy(), ModifyMenuItem(), MyAbs(), NtUserBlockInput(), NtUserBuildHimcList(), NtUserBuildHwndList(), NtUserBuildNameList(), NtUserCreateWindowStation(), NtUserfnHkINLPCBTCREATESTRUCT(), NtUserGetCaretBlinkTime(), NtUserGetDoubleClickTime(), NtUserGetIconSize(), NtUserGetImeHotKey(), NtUserGetInternalWindowPos(), NtUserGetKeyboardLayoutList(), NtUserHardErrorControl(), NtUserLoadKeyboardLayoutEx(), NtUserLockWindowStation(), NtUserMapVirtualKeyEx(), NtUserRegisterWindowMessage(), NtUserSendInput(), NtUserSetWindowStationUser(), OemKeyScan(), CAddProfileDialog::OpenFileHookProc(), OpenKeyboardLayoutFile(), OpenMultiplePortDevice(), PackFrameControls(), ParkIcon(), PeekMessage(), PrivateExtractIconExA(), PrivateExtractIconExW(), PrivateExtractIconsA(), PrivateExtractIconsW(), ProbeAndCaptureSoftKbdData(), ProcessKeyboardInput(), PropertiesUpdate(), CICMUserInterface::QueryContextMenu(), RawInputThread(), ReaderMouseMove(), ReaderProcInternal(), ReadLayoutFile(), ReadOutputString(), ReCreateDbcsScreenBuffer(), RegisterWindowMessage(), ReleaseCacheDC(), RemoveGaps(), RemoveProcessFromJob(), CGlobals::ReportEx(), RestoreSpb(), ResultsDlgProc(), RtlCaptureLargeAnsiString(), RtlGetIdFromDirectory(), RW_RegisterControls(), SB_TranslateOutputToOem(), SB_TranslateOutputToUnicode(), Scale2424(), Scale424(), Scale48(), Scale824(), Scale88(), SCR_FONTCODEPAGE(), SelectInputContext(), SendNotifyMessage(), SetDebugHotKeys(), SetDlgItemInt(), SetEndTaskDlgStatus(), SetKeyboardRate(), SetMenuItemBitmaps(), SetMenuItemInfoStruct(), SetSysColorsTemp(), SetVideoTimeout(), SKC1ButtonDown(), SKC1ButtonUp(), SKT1ButtonUp(), SKT1InvertButton(), SKT1MousePosition(), SKT1SetCursor(), SKWndProcC1(), SKWndProcT1(), SLCreate(), SLEditWndProc(), SLKeyDown(), SLPasteText(), SLReplaceSel(), SmartRectInRegion(), SmartStretchDIBits(), SmoothScrollWindowEx(), SrvInvalidateBitMapRect(), SrvSetConsoleCP(), SrvSetConsoleDisplayMode(), StaticCallback(), StringLength(), StrToUInt(), SystemParametersInfo(), SystoChar(), TextCopy(), TooltipRender(), TransConvertList(), TransferWakeBit(), TransGetConversionMode(), TransGetLevel(), TransGetMode(), TransHanjaMode(), TransSetConversionMode(), TransSetMode(), UnmaximizeChildWindows(), UnpackDDElParam(), UserClientShutdown(), UserGetAtomName(), UserHardErrorEx(), UserIsFullWidth(), UserLpkTabbedTextOut(), UserRealizePalette(), ValidateOwnerDepth(), ValidateParentDepth(), WINNLSGetIMEHotkey(), WINNLSTranslateMessage(), WINNLSTranslateMessageJ(), WINNLSTranslateMessageK(), WndProc(), WowServerLoadCreateCursorIcon(), WWSB_DoSrvWriteConsole(), WWSB_FillOutput(), WWSB_WriteOutputString(), xxxArrangeIconicWindows(), xxxBNDrawText(), xxxBNInitDC(), xxxBNOwnerDraw(), xxxBNPaint(), xxxBNReleaseCapture(), xxxButtonDrawCheck(), xxxButtonDrawNewState(), xxxButtonEvent(), xxxCalcValidRects(), xxxCallHook2(), xxxCallJournalPlaybackHook(), xxxCallJournalRecordHook(), xxxCancelTracking(), xxxCBCalcControlRects(), xxxCBInternalUpdateEditWindow(), xxxCBInvertStaticWindow(), xxxCBPaint(), xxxCheckDefPushButton(), xxxCreateDefaultImeWindow(), xxxCreateWindowEx(), xxxDefWindowProc(), xxxDesktopRecalc(), xxxDesktopThread(), xxxDestroyWindow(), xxxDispatchMessage(), xxxDlgDirListHelper(), xxxDoHotKeyStuff(), xxxDoScroll(), xxxDoScrollMenu(), xxxDrawButton(), xxxDrawCaptionBar(), xxxDrawCaptionTemp(), xxxDrawMenuItem(), xxxDrawThumb(), xxxDrawWindowFrame(), xxxDWP_DoNCActivate(), xxxDWP_NCMouse(), xxxDWP_ProcessVirtKey(), xxxEnableSBCtlArrows(), xxxEnableScrollBar(), xxxEndDeferWindowPosEx(), xxxEndScroll(), xxxFindString(), xxxFreeWindow(), xxxGetDummyPalette(), xxxGetDummyText(), xxxGetMenuBarInfo(), xxxGetSystemMenu(), xxxGetWindowText(), xxxGotoNextMnem(), xxxHandleMenuMessages(), xxxHandleNCMouseGuys(), xxxHardErrorControl(), xxxHiliteMenuItem(), xxxHkCallHook(), xxxHotTrackMenu(), xxxImmActivateThreadsLayout(), xxxImmProcessKey(), xxxInitActivateDlg(), xxxInsertMenuItem(), xxxInternalGetMessage(), xxxInternalInvalidate(), xxxInterSendMsgEx(), xxxInvertLBItem(), xxxKENLSProcs(), xxxKeyEvent(), xxxLBBinarySearchString(), xxxLBCreate(), xxxLbDir(), xxxLBDrawLBItem(), xxxLBInsertItem(), xxxLBoxCtlKeyInput(), xxxLBoxDrawItem(), xxxLBPaint(), xxxLBSetCaret(), xxxLBSetCount(), xxxLBSetRedraw(), xxxLBSetSel(), xxxLoadDesktopWallpaper(), xxxMB_FindLongestString(), xxxMDIActivate(), xxxMDIDestroy(), xxxMenuBarDraw(), xxxMenuDraw(), xxxMenuWindowProc(), xxxMessageBeep(), xxxMinMaximize(), xxxMNChar(), xxxMNCompute(), xxxMNDismissWithNotify(), xxxMNDoubleClick(), xxxMNFindChar(), xxxMNFindWindowFromPoint(), xxxMNGetBitmapSize(), xxxMNInvertItem(), xxxMNKeyDown(), xxxMNMouseMove(), xxxMNPositionHierarchy(), xxxMNSetTop(), xxxMNUpdateDraggingInfo(), xxxMouseActivate(), xxxNumpadCursor(), xxxOldNextWindow(), xxxPollAndWaitForSingleObject(), xxxProcessEventMessage(), xxxReadPostMessage(), xxxRealDrawMenuItem(), xxxRedrawHungWindow(), xxxRedrawHungWindowFrame(), xxxRemoveDefaultButton(), xxxRemoveDeleteMenuHelper(), xxxSBTrackInit(), xxxSBTrackLoop(), xxxSBWndProc(), xxxScanSysQueue(), xxxSendInput(), xxxSendMenuSelect(), xxxSendMessageCallback(), xxxSendMessageTimeout(), xxxSetDeskPattern(), xxxSetDeskWallpaper(), xxxSetForegroundWindow2(), xxxSetFrameTitle(), xxxSetLBScrollParms(), xxxSetLPITEMInfo(), xxxSetMenuInfo(), xxxSetNCFonts(), xxxSetStaticImage(), xxxSetSysColors(), xxxSetSysMenu(), xxxSetWindowLongPtr(), xxxSetWindowPlacement(), xxxShowOwnedPopups(), xxxShowWindow(), xxxStaticPaint(), xxxSysCommand(), xxxSystemBroadcastMessage(), xxxSystemParametersInfo(), xxxSystemTimerProc(), xxxTA_AccelerateMenu(), xxxTM_MoveDragRect(), xxxTooltipWndProc(), xxxTrackInitSize(), xxxTrackMouse(), xxxTrackMouseMove(), xxxTranslateAccelerator(), xxxTranslateMessage(), xxxUpdatePerUserSystemParameters(), xxxUpdateSystemCursorsFromRegistry(), xxxUpdateSystemIconsFromRegistry(), zzzBltValidBits(), zzzDrawInvertScrollArea(), and zzzSetSystemImage().


Enumeration Type Documentation

enum _NDIS_CLASS_ID
 

Enumeration values:
NdisClass802_3Priority 
NdisClassWirelessWanMbxMailbox 
NdisClassIrdaPacketInfo 
NdisClassAtmAALInfo 

Definition at line 466 of file ndismain.h.

enum _NDIS_ENCAPSULATION
 

Enumeration values:
UNSPECIFIED_Encapsulation 
NULL_Encapsulation 
IEEE_802_3_Encapsulation 
IEEE_802_5_Encapsulation 
LLC_SNAP_ROUTED_Encapsulation 
LLC_SNAP_BRIDGED_Encapsulation 

Definition at line 720 of file ndismain.h.

enum _NDIS_ENVIRONMENT_TYPE
 

Enumeration values:
NdisEnvironmentWindows 
NdisEnvironmentWindowsNt 

Definition at line 249 of file ndismain.h.

enum _NDIS_INTERFACE_TYPE
 

Enumeration values:
NdisInterfaceInternal 
NdisInterfaceIsa 
NdisInterfaceEisa 
NdisInterfaceMca 
NdisInterfaceTurboChannel 
NdisInterfacePci 
NdisInterfacePcMcia 

Definition at line 260 of file ndismain.h.

00261 { 00262 NdisInterfaceInternal = Internal, 00263 NdisInterfaceIsa = Isa, 00264 NdisInterfaceEisa = Eisa, 00265 NdisInterfaceMca = MicroChannel, 00266 NdisInterfaceTurboChannel = TurboChannel, 00267 NdisInterfacePci = PCIBus, 00268 NdisInterfacePcMcia = PCMCIABus 00269 } NDIS_INTERFACE_TYPE, *PNDIS_INTERFACE_TYPE;

enum _NDIS_PARAMETER_TYPE
 

Enumeration values:
NdisParameterInteger 
NdisParameterHexInteger 
NdisParameterString 
NdisParameterMultiString 
NdisParameterBinary 

Definition at line 205 of file ndismain.h.

enum _NDIS_PER_PACKET_INFO
 

Enumeration values:
TcpIpChecksumPacketInfo 
IpSecPacketInfo 
TcpLargeSendPacketInfo 
ClassificationHandlePacketInfo 
HeaderIndexInfo 
ScatterGatherListPacketInfo 
Ieee8021pPriority 
OriginalPacketInfo 
NdisInternalExtension1 
NdisInternalExtension2 
MaxPerPacketInfo 

Definition at line 607 of file ndismain.h.

00608 { 00609 TcpIpChecksumPacketInfo, 00610 IpSecPacketInfo, 00611 TcpLargeSendPacketInfo, 00612 ClassificationHandlePacketInfo, 00613 HeaderIndexInfo, // Internal NDIS use only 00614 ScatterGatherListPacketInfo, 00615 Ieee8021pPriority, 00616 OriginalPacketInfo, 00617 NdisInternalExtension1, // Internal NDIS use only 00618 NdisInternalExtension2, // Internal NDIS use only 00619 #if PKT_DBG 00620 NdisInternalPktDebug, // Internal NDIS use only 00621 #endif 00622 MaxPerPacketInfo 00623 } NDIS_PER_PACKET_INFO, *PNDIS_PER_PACKET_INFO;

enum _NDIS_PROCESSOR_TYPE
 

Enumeration values:
NdisProcessorX86 
NdisProcessorMips 
NdisProcessorAlpha 
NdisProcessorPpc 

Definition at line 238 of file ndismain.h.

enum _NDIS_REQUEST_TYPE
 

Enumeration values:
NdisRequestQueryInformation 
NdisRequestSetInformation 
NdisRequestQueryStatistics 
NdisRequestOpen 
NdisRequestClose 
NdisRequestSend 
NdisRequestTransferData 
NdisRequestReset 
NdisRequestGeneric1 
NdisRequestGeneric2 
NdisRequestGeneric3 
NdisRequestGeneric4 

Definition at line 926 of file ndismain.h.

enum _NDIS_TASK
 

Enumeration values:
TcpIpChecksumNdisTask 
IpSecNdisTask 
TcpLargeSendNdisTask 
MaxNdisTask 

Definition at line 712 of file ndismain.h.


Function Documentation

EXPORT VOID NdisAcquireReadWriteLock IN PNDIS_RW_LOCK  Lock,
IN BOOLEAN  fWrite,
IN PLOCK_STATE  LockState
 

EXPORT VOID NdisAllocateBuffer OUT PNDIS_STATUS  Status,
OUT PNDIS_BUFFER Buffer,
IN NDIS_HANDLE  PoolHandle,
IN PVOID  VirtualAddress,
IN UINT  Length
 

EXPORT VOID NdisAllocateBufferPool OUT PNDIS_STATUS  Status,
OUT PNDIS_HANDLE  PoolHandle,
IN UINT  NumberOfDescriptors
 

EXPORT VOID NdisAllocateDmaChannel OUT PNDIS_STATUS  Status,
OUT PNDIS_HANDLE  NdisDmaHandle,
IN NDIS_HANDLE  NdisAdapterHandle,
IN PNDIS_DMA_DESCRIPTION  DmaDescription,
IN ULONG  MaximumLength
 

EXPORT NDIS_STATUS NdisAllocateMemory OUT PVOID *  VirtualAddress,
IN UINT  Length,
IN UINT  MemoryFlags,
IN NDIS_PHYSICAL_ADDRESS  HighestAcceptableAddress
 

EXPORT NDIS_STATUS NdisAllocateMemoryWithTag OUT PVOID *  VirtualAddress,
IN UINT  Length,
IN ULONG  Tag
 

EXPORT VOID NdisAllocatePacket OUT PNDIS_STATUS  Status,
OUT PNDIS_PACKET Packet,
IN NDIS_HANDLE  PoolHandle
 

EXPORT VOID NdisAllocatePacketPool OUT PNDIS_STATUS  Status,
OUT PNDIS_HANDLE  PoolHandle,
IN UINT  NumberOfDescriptors,
IN UINT  ProtocolReservedLength
 

EXPORT VOID NdisAllocatePacketPoolEx OUT PNDIS_STATUS  Status,
OUT PNDIS_HANDLE  PoolHandle,
IN UINT  NumberOfDescriptors,
IN UINT  NumberOfOverflowDescriptors,
IN UINT  ProtocolReservedLength
 

EXPORT VOID NdisCloseConfiguration IN NDIS_HANDLE  ConfigurationHandle  ) 
 

EXPORT VOID NdisCloseFile IN NDIS_HANDLE  FileHandle  ) 
 

EXPORT VOID NdisCompleteDmaTransfer OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  NdisDmaHandle,
IN PNDIS_BUFFER  Buffer,
IN ULONG  Offset,
IN ULONG  Length,
IN BOOLEAN  WriteToDevice
 

EXPORT VOID NdisCopyBuffer OUT PNDIS_STATUS  Status,
OUT PNDIS_BUFFER Buffer,
IN NDIS_HANDLE  PoolHandle,
IN PVOID  MemoryDescriptor,
IN UINT  Offset,
IN UINT  Length
 

EXPORT VOID NdisCopyFromPacketToPacket IN PNDIS_PACKET  Destination,
IN UINT  DestinationOffset,
IN UINT  BytesToCopy,
IN PNDIS_PACKET  Source,
IN UINT  SourceOffset,
OUT PUINT  BytesCopied
 

EXPORT VOID NdisDprAllocatePacket OUT PNDIS_STATUS  Status,
OUT PNDIS_PACKET Packet,
IN NDIS_HANDLE  PoolHandle
 

EXPORT VOID NdisDprAllocatePacketNonInterlocked OUT PNDIS_STATUS  Status,
OUT PNDIS_PACKET Packet,
IN NDIS_HANDLE  PoolHandle
 

EXPORT VOID NdisDprFreePacket IN PNDIS_PACKET  Packet  ) 
 

EXPORT VOID NdisDprFreePacketNonInterlocked IN PNDIS_PACKET  Packet  ) 
 

EXPORT VOID NdisFreeBufferPool IN NDIS_HANDLE  PoolHandle  ) 
 

EXPORT VOID NdisFreeDmaChannel IN NDIS_HANDLE  NdisDmaHandle  ) 
 

EXPORT VOID NdisFreeMemory IN PVOID  VirtualAddress,
IN UINT  Length,
IN UINT  MemoryFlags
 

EXPORT VOID NdisFreePacket IN PNDIS_PACKET  Packet  ) 
 

EXPORT VOID NdisFreePacketPool IN NDIS_HANDLE  PoolHandle  ) 
 

EXPORT VOID NdisGetCurrentProcessorCounts OUT PULONG  pIdleCount,
OUT PULONG  pKernelAndUser,
OUT PULONG  pIndex
 

EXPORT VOID NdisGetCurrentProcessorCpuUsage OUT PULONG  pCpuUsage  ) 
 

EXPORT VOID NdisGetSystemUpTime OUT PULONG  pSystemUpTime  ) 
 

EXPORT ULONG NdisImmediateReadPciSlotInformation IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SlotNumber,
IN ULONG  Offset,
IN PVOID  Buffer,
IN ULONG  Length
 

EXPORT VOID NdisImmediateReadPortUchar IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  Port,
OUT PUCHAR  Data
 

EXPORT VOID NdisImmediateReadPortUlong IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  Port,
OUT PULONG  Data
 

EXPORT VOID NdisImmediateReadPortUshort IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  Port,
OUT PUSHORT  Data
 

EXPORT VOID NdisImmediateReadSharedMemory IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SharedMemoryAddress,
IN PUCHAR  Buffer,
IN ULONG  Length
 

EXPORT ULONG NdisImmediateWritePciSlotInformation IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SlotNumber,
IN ULONG  Offset,
IN PVOID  Buffer,
IN ULONG  Length
 

EXPORT VOID NdisImmediateWritePortUchar IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  Port,
IN UCHAR  Data
 

EXPORT VOID NdisImmediateWritePortUlong IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  Port,
IN ULONG  Data
 

EXPORT VOID NdisImmediateWritePortUshort IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  Port,
IN USHORT  Data
 

EXPORT VOID NdisImmediateWriteSharedMemory IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SharedMemoryAddress,
IN PUCHAR  Buffer,
IN ULONG  Length
 

EXPORT VOID NdisInitializeEvent IN PNDIS_EVENT  Event  ) 
 

EXPORT VOID NdisInitializeReadWriteLock IN PNDIS_RW_LOCK  Lock  ) 
 

EXPORT VOID NdisInitializeString OUT PNDIS_STRING  Destination,
IN PUCHAR  Source
 

EXPORT VOID NdisInitializeWrapper OUT PNDIS_HANDLE  NdisWrapperHandle,
IN PVOID  SystemSpecific1,
IN PVOID  SystemSpecific2,
IN PVOID  SystemSpecific3
 

EXPORT VOID NdisMapFile OUT PNDIS_STATUS  Status,
OUT PVOID *  MappedBuffer,
IN NDIS_HANDLE  FileHandle
 

EXPORT VOID NdisOpenConfiguration OUT PNDIS_STATUS  Status,
OUT PNDIS_HANDLE  ConfigurationHandle,
IN NDIS_HANDLE  WrapperConfigurationContext
 

EXPORT VOID NdisOpenConfigurationKeyByIndex OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  ConfigurationHandle,
IN ULONG  Index,
OUT PNDIS_STRING  KeyName,
OUT PNDIS_HANDLE  KeyHandle
 

EXPORT VOID NdisOpenConfigurationKeyByName OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  ConfigurationHandle,
IN PNDIS_STRING  SubKeyName,
OUT PNDIS_HANDLE  SubKeyHandle
 

EXPORT VOID NdisOpenFile OUT PNDIS_STATUS  Status,
OUT PNDIS_HANDLE  FileHandle,
OUT PUINT  FileLength,
IN PNDIS_STRING  FileName,
IN NDIS_PHYSICAL_ADDRESS  HighestAcceptableAddress
 

EXPORT UINT NdisPacketPoolUsage IN NDIS_HANDLE  PoolHandle  ) 
 

EXPORT NDIS_STATUS NdisPciAssignResources IN NDIS_HANDLE  NdisMacHandle,
IN NDIS_HANDLE  NdisWrapperHandle,
IN NDIS_HANDLE  WrapperConfigurationContext,
IN ULONG  SlotNumber,
OUT PNDIS_RESOURCE_LIST AssignedResources
 

EXPORT NDIS_STATUS NdisQueryMapRegisterCount IN NDIS_INTERFACE_TYPE  BusType,
OUT PUINT  MapRegisterCount
 

EXPORT VOID NdisReadConfiguration OUT PNDIS_STATUS  Status,
OUT PNDIS_CONFIGURATION_PARAMETER ParameterValue,
IN NDIS_HANDLE  ConfigurationHandle,
IN PNDIS_STRING  Keyword,
IN NDIS_PARAMETER_TYPE  ParameterType
 

EXPORT VOID NdisReadEisaSlotInformation OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  WrapperConfigurationContext,
OUT PUINT  SlotNumber,
OUT PNDIS_EISA_FUNCTION_INFORMATION  EisaData
 

EXPORT VOID NdisReadEisaSlotInformationEx OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  WrapperConfigurationContext,
OUT PUINT  SlotNumber,
OUT PNDIS_EISA_FUNCTION_INFORMATION EisaData,
OUT PUINT  NumberOfFunctions
 

EXPORT VOID NdisReadMcaPosInformation OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  WrapperConfigurationContext,
IN PUINT  ChannelNumber,
OUT PNDIS_MCA_POS_DATA  McaData
 

EXPORT VOID NdisReadNetworkAddress OUT PNDIS_STATUS  Status,
OUT PVOID *  NetworkAddress,
OUT PUINT  NetworkAddressLength,
IN NDIS_HANDLE  ConfigurationHandle
 

EXPORT ULONG NdisReadPciSlotInformation IN NDIS_HANDLE  NdisAdapterHandle,
IN ULONG  SlotNumber,
IN ULONG  Offset,
IN PVOID  Buffer,
IN ULONG  Length
 

EXPORT ULONG NdisReadPcmciaAttributeMemory IN NDIS_HANDLE  NdisAdapterHandle,
IN ULONG  Offset,
IN PVOID  Buffer,
IN ULONG  Length
 

EXPORT VOID NdisReleaseReadWriteLock IN PNDIS_RW_LOCK  Lock,
IN PLOCK_STATE  LockState
 

EXPORT VOID NdisResetEvent IN PNDIS_EVENT  Event  ) 
 

EXPORT NDIS_STATUS NdisScheduleWorkItem IN PNDIS_WORK_ITEM  WorkItem  ) 
 

EXPORT VOID NdisSetEvent IN PNDIS_EVENT  Event  ) 
 

EXPORT VOID NdisSetPacketPoolProtocolId IN NDIS_HANDLE  PacketPoolHandle,
IN UINT  ProtocolId
 

EXPORT VOID NdisSetTimer IN PNDIS_TIMER  Timer,
IN UINT  MillisecondsToDelay
 

EXPORT VOID NdisSetupDmaTransfer OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  NdisDmaHandle,
IN PNDIS_BUFFER  Buffer,
IN ULONG  Offset,
IN ULONG  Length,
IN BOOLEAN  WriteToDevice
 

EXPORT CCHAR NdisSystemProcessorCount VOID   ) 
 

EXPORT VOID NdisTerminateWrapper IN NDIS_HANDLE  NdisWrapperHandle,
IN PVOID  SystemSpecific
 

EXPORT VOID NdisUnchainBufferAtBack IN OUT PNDIS_PACKET  Packet,
OUT PNDIS_BUFFER Buffer
 

EXPORT VOID NdisUnchainBufferAtFront IN OUT PNDIS_PACKET  Packet,
OUT PNDIS_BUFFER Buffer
 

EXPORT VOID NdisUnmapFile IN NDIS_HANDLE  FileHandle  ) 
 

EXPORT BOOLEAN NdisWaitEvent IN PNDIS_EVENT  Event,
IN UINT  msToWait
 

EXPORT VOID NdisWriteConfiguration OUT PNDIS_STATUS  Status,
IN NDIS_HANDLE  ConfigurationHandle,
IN PNDIS_STRING  Keyword,
IN PNDIS_CONFIGURATION_PARAMETER  ParameterValue
 

EXPORT VOID NdisWriteErrorLogEntry IN NDIS_HANDLE  NdisAdapterHandle,
IN NDIS_ERROR_CODE  ErrorCode,
IN ULONG  NumberOfErrorValues,
  ...
 

EXPORT ULONG NdisWritePciSlotInformation IN NDIS_HANDLE  NdisAdapterHandle,
IN ULONG  SlotNumber,
IN ULONG  Offset,
IN PVOID  Buffer,
IN ULONG  Length
 

EXPORT ULONG NdisWritePcmciaAttributeMemory IN NDIS_HANDLE  NdisAdapterHandle,
IN ULONG  Offset,
IN PVOID  Buffer,
IN ULONG  Length
 


Generated on Sat May 15 19:44:49 2004 for test by doxygen 1.3.7