test: ndismini.h File Reference

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

# ndismini.h File Reference

`#include <afilter.h>`
`#include <efilter.h>`
`#include <tfilter.h>`
`#include <ffilter.h>`

Go to the source code of this file.

## Classes

struct | _NDIS30_MINIPORT_CHARACTERISTICS
struct | _NDIS40_MINIPORT_CHARACTERISTICS
struct | _NDIS50_MINIPORT_CHARACTERISTICS
struct | _NDIS_MINIPORT_INTERRUPT
struct | _NDIS_MINIPORT_TIMER
struct | _NDIS_MINIPORT_WORK_ITEM
struct | _NDIS_BIND_PATHS
struct | FILTERDBS
struct | _NDIS_MINIPORT_BLOCK

## Defines

#define | NDIS_M_MAX_LOOKAHEAD 526
#define | NUMBER_OF_WORK_ITEM_TYPES NdisMaxWorkItems
#define | NUMBER_OF_SINGLE_WORK_ITEMS 6
#define | NDIS_DMA_24BITS ((NDIS_DMA_SIZE)0)
#define | NDIS_DMA_32BITS ((NDIS_DMA_SIZE)1)
#define | NDIS_DMA_64BITS ((NDIS_DMA_SIZE)2)
#define | NdisMSetTimer(_Timer, _Delay) NdisSetTimer((PNDIS_TIMER)_Timer, _Delay)
#define | NdisMUpdateSharedMemory(_H, _L, _V, _P) NdisUpdateSharedMemory(_H, _L, _V, _P)
#define | NdisMSetupDmaTransfer(_S, _H, _B, _O, _L, _M_) NdisSetupDmaTransfer(_S, _H, _B, _O, _L, _M_)
#define | NdisMCompleteDmaTransfer(_S, _H, _B, _O, _L, _M_) NdisCompleteDmaTransfer(_S, _H, _B, _O, _L, _M_)
#define | NdisMInitializeWrapper(_a, _b, _c, _d) NdisInitializeWrapper((_a),(_b),(_c),(_d))
#define | NdisIMInitializeDeviceInstance(_H_, _I_) NdisIMInitializeDeviceInstanceEx(_H_, _I_, NULL)
#define | NdisMSetAttributes(_H_, _C_, _M_, _T_)
#define | NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT 0x00000001
#define | NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT 0x00000002
#define | NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS 0x00000004
#define | NDIS_ATTRIBUTE_BUS_MASTER 0x00000008
#define | NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER 0x00000010
#define | NDIS_ATTRIBUTE_DESERIALIZE 0x00000020
#define | NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND 0x00000040
#define | NdisMSendComplete(_M, _P, _S) (*((PNDIS_MINIPORT_BLOCK)(_M))->SendCompleteHandler)(_M, _P, _S)
#define | NdisMSendResourcesAvailable(_M) (*((PNDIS_MINIPORT_BLOCK)(_M))->SendResourcesHandler)(_M)
#define | NdisMResetComplete(_M, _S, _A) (*((PNDIS_MINIPORT_BLOCK)(_M))->ResetCompleteHandler)(_M, _S, _A)
#define | NdisMTransferDataComplete(_M, _P, _S, _B) (*((PNDIS_MINIPORT_BLOCK)(_M))->TDCompleteHandler)(_M, _P, _S, _B)
#define | NdisMWanSendComplete(_M_, _P_, _S_) (*((PNDIS_MINIPORT_BLOCK)(_M_))->WanSendCompleteHandler)(_M_, _P_, _S_)
#define | NdisMQueryInformationComplete(_M, _S) (*((PNDIS_MINIPORT_BLOCK)(_M))->QueryCompleteHandler)(_M, _S)
#define | NdisMSetInformationComplete(_M, _S) (*((PNDIS_MINIPORT_BLOCK)(_M))->SetCompleteHandler)(_M, _S)
#define | NdisMIndicateReceivePacket(_H, _P, _N)
#define | NdisMWanIndicateReceive(_S_, _M_, _C_, _P_, _Z_) (*((PNDIS_MINIPORT_BLOCK)(_M_))->WanRcvHandler)(_S_, _M_, _C_, _P_, _Z_)
#define | NdisMWanIndicateReceiveComplete(_M_, _C_) (*((PNDIS_MINIPORT_BLOCK)(_M_))->WanRcvCompleteHandler)(_M_, _C_)
#define | NdisMEthIndicateReceive(_H, _C, _B, _SZ, _L, _LSZ, _PSZ)
#define | NdisMTrIndicateReceive(_H, _C, _B, _SZ, _L, _LSZ, _PSZ)
#define | NdisMFddiIndicateReceive(_H, _C, _B, _SZ, _L, _LSZ, _PSZ)
#define | NdisMArcIndicateReceive(_H, _HD, _D, _SZ)
#define | NdisMEthIndicateReceiveComplete(_H)
#define | NdisMTrIndicateReceiveComplete(_H)
#define | NdisMFddiIndicateReceiveComplete(_H)
#define | NdisMArcIndicateReceiveComplete(_H)
#define | NdisMIndicateStatus(_M, _G, _SB, _BS) (*((PNDIS_MINIPORT_BLOCK)(_M))->StatusHandler)(_M, _G, _SB, _BS)
#define | NdisMIndicateStatusComplete(_M) (*((PNDIS_MINIPORT_BLOCK)(_M))->StatusCompleteHandler)(_M)
#define | NdisMCmRequestComplete(_S_, _AH_, _VH_, _PH_, _R_) NdisCoRequestComplete(_S_, _AH_, _VH_, _PH_, _R_)
#define | NdisMCmOpenAddressFamilyComplete(_S_, _H_, _C_) NdisCmOpenAddressFamilyComplete(_S_, _H_, _C_)
#define | NdisMCmCloseAddressFamilyComplete(_S_, _H_) NdisCmCloseAddressFamilyComplete(_S_, _H_)
#define | NdisMCmRegisterSapComplete(_S_, _H_, _C_) NdisCmRegisterSapComplete(_S_, _H_, _C_)
#define | NdisMCmDeregisterSapComplete(_S_, _H_) NdisCmDeregisterSapComplete(_S_, _H_)
#define | NdisMCmMakeCallComplete(_S_, _VH_, _PH_, _CC_, _CP_) NdisCmMakeCallComplete(_S_, _VH_, _PH_, _CC_, _CP_)
#define | NdisMCmCloseCallComplete(_S_, _VH_, _PH_) NdisCmCloseCallComplete(_S_, _VH_, _PH_)
#define | NdisMCmAddPartyComplete(_S_, _H_, _C_, _P_) NdisCmAddPartyComplete(_S_, _H_, _C_, _P_)
#define | NdisMCmDropPartyComplete(_S_, _H_) NdisCmDropPartyComplete(_S_, _H_)
#define | NdisMCmDispatchIncomingCall(_SH_, _VH_, _CP_) NdisCmDispatchIncomingCall(_SH_, _VH_, _CP_)
#define | NdisMCmDispatchCallConnected(_H_) NdisCmDispatchCallConnected(_H_)
#define | NdisMCmModifyCallQoSComplete(_S_, _H_, _P_) NdisCmModifyCallQoSComplete(_S_, _H_, _P_)
#define | NdisMCmDispatchIncomingCallQoSChange(_H_, _P_) NdisCmDispatchIncomingCallQoSChange(_H_, _P_)
#define | NdisMCmDispatchIncomingCloseCall(_S_, _H_, _B_, _Z_) NdisCmDispatchIncomingCloseCall(_S_, _H_, _B_, _Z_)
#define | NdisMCmDispatchIncomingDropParty(_S_, _H_, _B_, _Z_) NdisCmDispatchIncomingDropParty(_S_, _H_, _B_, _Z_)

## Typedefs

typedef _NDIS_M_DRIVER_BLOCK NDIS_M_DRIVER_BLOCK * | PNDIS_M_DRIVER_BLOCK
typedef _NDIS_MINIPORT_BLOCK NDIS_MINIPORT_BLOCK * | PNDIS_MINIPORT_BLOCK
typedef _CO_CALL_PARAMETERS CO_CALL_PARAMETERS * | PCO_CALL_PARAMETERS
typedef _CO_MEDIA_PARAMETERS CO_MEDIA_PARAMETERS * | PCO_MEDIA_PARAMETERS
typedef _NDIS_CALL_MANAGER_CHARACTERISTICS * | PNDIS_CALL_MANAGER_CHARACTERISTICS
typedef _NDIS_AF_LIST NDIS_AF_LIST * | PNDIS_AF_LIST
typedef _NULL_FILTER NULL_FILTER * | PNULL_FILTER
typedef BOOLEAN(* | W_CHECK_FOR_HANG_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext)
typedef VOID(* | W_DISABLE_INTERRUPT_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext)
typedef VOID(* | W_ENABLE_INTERRUPT_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext)
typedef VOID(* | W_HALT_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext)
typedef VOID(* | W_HANDLE_INTERRUPT_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext)
typedef NDIS_STATUS(* | W_INITIALIZE_HANDLER )(OUT PNDIS_STATUS OpenErrorStatus, OUT PUINT SelectedMediumIndex, IN PNDIS_MEDIUM MediumArray, IN UINT MediumArraySize, IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE WrapperConfigurationContext)
typedef VOID(* | W_ISR_HANDLER )(OUT PBOOLEAN InterruptRecognized, OUT PBOOLEAN QueueMiniportHandleInterrupt, IN NDIS_HANDLE MiniportAdapterContext)
typedef NDIS_STATUS(* | W_QUERY_INFORMATION_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesWritten, OUT PULONG BytesNeeded)
typedef NDIS_STATUS(* | W_RECONFIGURE_HANDLER )(OUT PNDIS_STATUS OpenErrorStatus, IN NDIS_HANDLE MiniportAdapterContext OPTIONAL, IN NDIS_HANDLE WrapperConfigurationContext)
typedef NDIS_STATUS(* | W_RESET_HANDLER )(OUT PBOOLEAN AddressingReset, IN NDIS_HANDLE MiniportAdapterContext)
typedef NDIS_STATUS(* | W_SEND_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN PNDIS_PACKET Packet, IN UINT Flags)
typedef NDIS_STATUS(* | WM_SEND_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE NdisLinkHandle, IN PNDIS_WAN_PACKET Packet)
typedef NDIS_STATUS(* | W_SET_INFORMATION_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesRead, OUT PULONG BytesNeeded)
typedef NDIS_STATUS(* | W_TRANSFER_DATA_HANDLER )(OUT PNDIS_PACKET Packet, OUT PUINT BytesTransferred, IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE MiniportReceiveContext, IN UINT ByteOffset, IN UINT BytesToTransfer)
typedef NDIS_STATUS(* | WM_TRANSFER_DATA_HANDLER )(VOID)
typedef _NDIS30_MINIPORT_CHARACTERISTICS | NDIS30_MINIPORT_CHARACTERISTICS
typedef VOID(* | W_RETURN_PACKET_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN PNDIS_PACKET Packet)
typedef VOID(* | W_SEND_PACKETS_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)
typedef VOID(* | W_ALLOCATE_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN PVOID VirtualAddress, IN PNDIS_PHYSICAL_ADDRESS PhysicalAddress, IN ULONG Length, IN PVOID Context)
typedef _NDIS40_MINIPORT_CHARACTERISTICS | NDIS40_MINIPORT_CHARACTERISTICS
typedef NDIS_STATUS(* | W_CO_CREATE_VC_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE NdisVcHandle, OUT PNDIS_HANDLE MiniportVcContext)
typedef NDIS_STATUS(* | W_CO_DELETE_VC_HANDLER )(IN NDIS_HANDLE MiniportVcContext)
typedef NDIS_STATUS(* | W_CO_ACTIVATE_VC_HANDLER )(IN NDIS_HANDLE MiniportVcContext, IN OUT PCO_CALL_PARAMETERS CallParameters)
typedef NDIS_STATUS(* | W_CO_DEACTIVATE_VC_HANDLER )(IN NDIS_HANDLE MiniportVcContext)
typedef VOID(* | W_CO_SEND_PACKETS_HANDLER )(IN NDIS_HANDLE MiniportVcContext, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)
typedef NDIS_STATUS(* | W_CO_REQUEST_HANDLER )(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE MiniportVcContext OPTIONAL, IN OUT PNDIS_REQUEST NdisRequest)
typedef _NDIS50_MINIPORT_CHARACTERISTICS | NDIS50_MINIPORT_CHARACTERISTICS
typedef _NDIS30_MINIPORT_CHARACTERISTICS | NDIS_MINIPORT_CHARACTERISTICS
typedef NDIS_MINIPORT_CHARACTERISTICS * | PNDIS_MINIPORT_CHARACTERISTICS
typedef NDIS_MINIPORT_CHARACTERISTICS | NDIS_WAN_MINIPORT_CHARACTERISTICS
typedef _NDIS_MINIPORT_INTERRUPT | NDIS_MINIPORT_INTERRUPT
typedef _NDIS_MINIPORT_INTERRUPT * | PNDIS_MINIPORT_INTERRUPT
typedef _NDIS_MINIPORT_TIMER | NDIS_MINIPORT_TIMER
typedef _NDIS_MINIPORT_TIMER * | PNDIS_MINIPORT_TIMER
typedef VOID(* | FILTER_PACKET_INDICATION_HANDLER )(IN NDIS_HANDLE Miniport, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)
typedef VOID(* | ETH_RCV_INDICATE_HANDLER )(IN PETH_FILTER Filter, IN NDIS_HANDLE MacReceiveContext, IN PCHAR Address, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookaheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize)
typedef VOID(* | ETH_RCV_COMPLETE_HANDLER )(IN PETH_FILTER Filter)
typedef VOID(* | FDDI_RCV_INDICATE_HANDLER )(IN PFDDI_FILTER Filter, IN NDIS_HANDLE MacReceiveContext, IN PCHAR Address, IN UINT AddressLength, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookaheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize)
typedef VOID(* | FDDI_RCV_COMPLETE_HANDLER )(IN PFDDI_FILTER Filter)
typedef VOID(* | TR_RCV_INDICATE_HANDLER )(IN PTR_FILTER Filter, IN NDIS_HANDLE MacReceiveContext, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookaheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize)
typedef VOID(* | TR_RCV_COMPLETE_HANDLER )(IN PTR_FILTER Filter)
typedef VOID(* | WAN_RCV_HANDLER )(OUT PNDIS_STATUS Status, IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext, IN PUCHAR Packet, IN ULONG PacketSize)
typedef VOID(* | WAN_RCV_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext)
typedef VOID(* | NDIS_M_SEND_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_PACKET Packet, IN NDIS_STATUS Status)
typedef VOID(* | NDIS_WM_SEND_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle, IN PVOID Packet, IN NDIS_STATUS Status)
typedef VOID(* | NDIS_M_TD_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_PACKET Packet, IN NDIS_STATUS Status, IN UINT BytesTransferred)
typedef VOID(* | NDIS_M_SEND_RESOURCES_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle)
typedef VOID(* | NDIS_M_STATUS_HANDLER )(IN NDIS_HANDLE MiniportHandle, IN NDIS_STATUS GeneralStatus, IN PVOID StatusBuffer, IN UINT StatusBufferSize)
typedef VOID(* | NDIS_M_STS_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle)
typedef VOID(* | NDIS_M_REQ_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_STATUS Status)
typedef VOID(* | NDIS_M_RESET_COMPLETE_HANDLER )(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_STATUS Status, IN BOOLEAN AddressingReset)
typedef VOID(FASTCALL * | NDIS_M_PROCESS_DEFERRED )(IN PNDIS_MINIPORT_BLOCK Miniport)
typedef BOOLEAN(FASTCALL * | NDIS_M_START_SENDS )(IN PNDIS_MINIPORT_BLOCK Miniport)
typedef enum _NDIS_WORK_ITEM_TYPE | NDIS_WORK_ITEM_TYPE
typedef enum _NDIS_WORK_ITEM_TYPE * | PNDIS_WORK_ITEM_TYPE
typedef _NDIS_MINIPORT_WORK_ITEM | NDIS_MINIPORT_WORK_ITEM
typedef _NDIS_MINIPORT_WORK_ITEM * | PNDIS_MINIPORT_WORK_ITEM
typedef NDIS_STATUS(FASTCALL * | NDIS_M_QUEUE_WORK_ITEM )(IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, IN PVOID WorkItemContext)
typedef NDIS_STATUS(FASTCALL * | NDIS_M_QUEUE_NEW_WORK_ITEM )(IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, IN PVOID WorkItemContext)
typedef VOID(FASTCALL * | NDIS_M_DEQUEUE_WORK_ITEM )(IN PNDIS_MINIPORT_BLOCK Miniport, IN NDIS_WORK_ITEM_TYPE WorkItemType, OUT PVOID *WorkItemContext)
typedef _NDIS_BIND_PATHS | NDIS_BIND_PATHS
typedef _NDIS_BIND_PATHS * | PNDIS_BIND_PATHS
typedef * | PFILTERDBS
typedef VOID(* | W_MINIPORT_CALLBACK )(IN NDIS_HANDLE MiniportAdapterContext, IN PVOID CallbackContext)
typedef UCHAR | NDIS_DMA_SIZE

## Enumerations

enum | _NDIS_WORK_ITEM_TYPE { NdisWorkItemRequest, NdisWorkItemSend, NdisWorkItemReturnPackets, NdisWorkItemResetRequested, NdisWorkItemResetInProgress, NdisWorkItemHalt, NdisWorkItemSendLoopback, NdisWorkItemMiniportCallback, NdisMaxWorkItems }

## Functions

EXPORT NDIS_STATUS | NdisIMQueueMiniportCallback (IN NDIS_HANDLE MiniportAdapterHandle, IN W_MINIPORT_CALLBACK CallbackRoutine, IN PVOID CallbackContext)
EXPORT BOOLEAN | NdisIMSwitchToMiniport (IN NDIS_HANDLE MiniportAdapterHandle, OUT PNDIS_HANDLE SwitchHandle)
EXPORT VOID | NdisIMRevertBack (IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE SwitchHandle)
EXPORT NDIS_STATUS | NdisIMRegisterLayeredMiniport (IN NDIS_HANDLE NdisWrapperHandle, IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics, IN UINT CharacteristicsLength, OUT PNDIS_HANDLE DriverHandle)
EXPORT VOID | NdisIMDeregisterLayeredMiniport (IN NDIS_HANDLE DriverHandle)
EXPORT VOID | NdisIMAssociateMiniport (IN NDIS_HANDLE DriverHandle, IN NDIS_HANDLE ProtocolHandle)
EXPORT NDIS_STATUS | NdisMRegisterDevice (IN NDIS_HANDLE NdisWrapperHandle, IN PNDIS_STRING DeviceName, IN PNDIS_STRING SymbolicName, IN PDRIVER_DISPATCH MajorFunctions[], OUT PDEVICE_OBJECT *pDeviceObject, OUT NDIS_HANDLE *NdisDeviceHandle)
EXPORT NDIS_STATUS | NdisMDeregisterDevice (IN NDIS_HANDLE NdisDeviceHandle)
EXPORT VOID | NdisMRegisterUnloadHandler (IN NDIS_HANDLE NdisWrapperHandle, IN PDRIVER_UNLOAD UnloadHandler)
EXPORT NDIS_STATUS | NdisMAllocateMapRegisters (IN NDIS_HANDLE MiniportAdapterHandle, IN UINT DmaChannel, IN NDIS_DMA_SIZE DmaSize, IN ULONG PhysicalMapRegistersNeeded, IN ULONG MaximumPhysicalMapping)
EXPORT VOID | NdisMFreeMapRegisters (IN NDIS_HANDLE MiniportAdapterHandle)
EXPORT NDIS_STATUS | NdisMInitializeScatterGatherDma (IN NDIS_HANDLE MiniportAdapterHandle, IN BOOLEAN Dma64BitAddresses, IN ULONG MaximumPhysicalMapping)
EXPORT NDIS_STATUS | NdisMRegisterIoPortRange (OUT PVOID *PortOffset, IN NDIS_HANDLE MiniportAdapterHandle, IN UINT InitialPort, IN UINT NumberOfPorts)
EXPORT VOID | NdisMDeregisterIoPortRange (IN NDIS_HANDLE MiniportAdapterHandle, IN UINT InitialPort, IN UINT NumberOfPorts, IN PVOID PortOffset)
EXPORT NDIS_STATUS | NdisMMapIoSpace (OUT PVOID *VirtualAddress, IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress, IN UINT Length)
EXPORT VOID | NdisMUnmapIoSpace (IN NDIS_HANDLE MiniportAdapterHandle, IN PVOID VirtualAddress, IN UINT Length)
EXPORT NDIS_STATUS | NdisMRegisterInterrupt (OUT PNDIS_MINIPORT_INTERRUPT Interrupt, IN NDIS_HANDLE MiniportAdapterHandle, IN UINT InterruptVector, IN UINT InterruptLevel, IN BOOLEAN RequestIsr, IN BOOLEAN SharedInterrupt, IN NDIS_INTERRUPT_MODE InterruptMode)
EXPORT VOID | NdisMDeregisterInterrupt (IN PNDIS_MINIPORT_INTERRUPT Interrupt)
EXPORT BOOLEAN | NdisMSynchronizeWithInterrupt (IN PNDIS_MINIPORT_INTERRUPT Interrupt, IN PVOID SynchronizeFunction, IN PVOID SynchronizeContext)
EXPORT VOID | NdisMQueryAdapterResources (OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PNDIS_RESOURCE_LIST ResourceList, IN OUT PUINT BufferSize)
VOID | NdisMSetPeriodicTimer (IN PNDIS_MINIPORT_TIMER Timer, IN UINT MillisecondPeriod)
EXPORT VOID | NdisMInitializeTimer (IN OUT PNDIS_MINIPORT_TIMER Timer, IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_TIMER_FUNCTION TimerFunction, IN PVOID FunctionContext)
EXPORT VOID | NdisMCancelTimer (IN PNDIS_MINIPORT_TIMER Timer, OUT PBOOLEAN TimerCancelled)
EXPORT VOID | NdisMSleep (IN ULONG MicrosecondsToSleep)
EXPORT VOID | NdisMStartBufferPhysicalMapping (IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_BUFFER Buffer, IN ULONG PhysicalMapRegister, IN BOOLEAN WriteToDevice, OUT PNDIS_PHYSICAL_ADDRESS_UNIT PhysicalAddressArray, OUT PUINT ArraySize)
EXPORT VOID | NdisMCompleteBufferPhysicalMapping (IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_BUFFER Buffer, IN ULONG PhysicalMapRegister)
EXPORT VOID | NdisMAllocateSharedMemory (IN NDIS_HANDLE MiniportAdapterHandle, IN ULONG Length, IN BOOLEAN Cached, OUT PVOID *VirtualAddress, OUT PNDIS_PHYSICAL_ADDRESS PhysicalAddress)
EXPORT NDIS_STATUS | NdisMAllocateSharedMemoryAsync (IN NDIS_HANDLE MiniportAdapterHandle, IN ULONG Length, IN BOOLEAN Cached, IN PVOID Context)
EXPORT VOID | NdisMFreeSharedMemory (IN NDIS_HANDLE MiniportAdapterHandle, IN ULONG Length, IN BOOLEAN Cached, IN PVOID VirtualAddress, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress)
EXPORT NDIS_STATUS | NdisMRegisterDmaChannel (OUT PNDIS_HANDLE MiniportDmaHandle, IN NDIS_HANDLE MiniportAdapterHandle, IN UINT DmaChannel, IN BOOLEAN Dma32BitAddresses, IN PNDIS_DMA_DESCRIPTION DmaDescription, IN ULONG MaximumLength)
EXPORT VOID | NdisMDeregisterDmaChannel (IN NDIS_HANDLE MiniportDmaHandle)
EXPORT ULONG | NdisMReadDmaCounter (IN NDIS_HANDLE MiniportDmaHandle)
EXPORT NDIS_STATUS | NdisMRegisterMiniport (IN NDIS_HANDLE NdisWrapperHandle, IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics, IN UINT CharacteristicsLength)
EXPORT NDIS_STATUS | NdisIMInitializeDeviceInstanceEx (IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DriverInstance, IN NDIS_HANDLE DeviceContext OPTIONAL)
EXPORT NDIS_STATUS | NdisIMCancelInitializeDeviceInstance (IN NDIS_HANDLE DriverHandle, IN PNDIS_STRING DeviceInstance)
EXPORT NDIS_HANDLE | NdisIMGetDeviceContext (IN NDIS_HANDLE MiniportAdapterHandle)
EXPORT NDIS_HANDLE | NdisIMGetBindingContext (IN NDIS_HANDLE NdisBindingHandle)
EXPORT NDIS_STATUS | NdisIMDeInitializeDeviceInstance (IN NDIS_HANDLE NdisMiniportHandle)
EXPORT VOID | NdisIMCopySendPerPacketInfo (IN PNDIS_PACKET DstPacket, IN PNDIS_PACKET SrcPacket)
EXPORT VOID | NdisIMCopySendCompletePerPacketInfo (IN PNDIS_PACKET DstPacket, PNDIS_PACKET SrcPacket)
EXPORT VOID | NdisMSetAttributesEx (IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE MiniportAdapterContext, IN UINT CheckForHangTimeInSeconds OPTIONAL, IN ULONG AttributeFlags, IN NDIS_INTERFACE_TYPE AdapterType OPTIONAL)
EXPORT NDIS_STATUS | NdisMSetMiniportSecondary (IN NDIS_HANDLE MiniportHandle, IN NDIS_HANDLE PrimaryMiniportHandle)
EXPORT NDIS_STATUS | NdisMPromoteMiniport (IN NDIS_HANDLE MiniportHandle)
EXPORT NDIS_STATUS | NdisMRemoveMiniport (IN NDIS_HANDLE MiniportHandle)
EXPORT VOID | NdisMRegisterAdapterShutdownHandler (IN NDIS_HANDLE MiniportHandle, IN PVOID ShutdownContext, IN ADAPTER_SHUTDOWN_HANDLER ShutdownHandler)
EXPORT VOID | NdisMDeregisterAdapterShutdownHandler (IN NDIS_HANDLE MiniportHandle)
EXPORT NDIS_STATUS | NdisMPciAssignResources (IN NDIS_HANDLE MiniportHandle, IN ULONG SlotNumber, IN PNDIS_RESOURCE_LIST *AssignedResources)
EXPORT NDIS_STATUS | NdisMCreateLog (IN NDIS_HANDLE MiniportAdapterHandle, IN UINT Size, OUT PNDIS_HANDLE LogHandle)
EXPORT VOID | NdisMCloseLog (IN NDIS_HANDLE LogHandle)
EXPORT NDIS_STATUS | NdisMWriteLogData (IN NDIS_HANDLE LogHandle, IN PVOID LogBuffer, IN UINT LogBufferSize)
EXPORT VOID | NdisMFlushLog (IN NDIS_HANDLE LogHandle)
EXPORT VOID | NdisMGetDeviceProperty (IN NDIS_HANDLE MiniportAdapterHandle, IN OUT PDEVICE_OBJECT *PhysicalDeviceObject OPTIONAL, IN OUT PDEVICE_OBJECT *FunctionalDeviceObject OPTIONAL, IN OUT PDEVICE_OBJECT *NextDeviceObject OPTIONAL, IN OUT PCM_RESOURCE_LIST *AllocatedResources OPTIONAL, IN OUT PCM_RESOURCE_LIST *AllocatedResourcesTranslated OPTIONAL)
EXPORT NDIS_STATUS | NdisMQueryAdapterInstanceName (OUT PNDIS_STRING pAdapterInstanceName, IN NDIS_HANDLE MiniportHandle)
EXPORT VOID | NdisMCoIndicateReceivePacket (IN NDIS_HANDLE NdisVcHandle, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)
EXPORT VOID | NdisMCoIndicateStatus (IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisVcHandle OPTIONAL, IN NDIS_STATUS GeneralStatus, IN PVOID StatusBuffer OPTIONAL, IN ULONG StatusBufferSize)
EXPORT VOID | NdisMCoReceiveComplete (IN NDIS_HANDLE MiniportAdapterHandle)
EXPORT VOID | NdisMCoSendComplete (IN NDIS_STATUS Status, IN NDIS_HANDLE NdisVcHandle, IN PNDIS_PACKET Packet)
EXPORT VOID | NdisMCoActivateVcComplete (IN NDIS_STATUS Status, IN NDIS_HANDLE NdisVcHandle, IN PCO_CALL_PARAMETERS CallParameters)
EXPORT VOID | NdisMCoDeactivateVcComplete (IN NDIS_STATUS Status, IN NDIS_HANDLE NdisVcHandle)
EXPORT VOID | NdisMCoRequestComplete (IN NDIS_STATUS Status, IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_REQUEST Request)
EXPORT NDIS_STATUS | NdisMCmRegisterAddressFamily (IN NDIS_HANDLE MiniportAdapterHandle, IN PCO_ADDRESS_FAMILY AddressFamily, IN PNDIS_CALL_MANAGER_CHARACTERISTICS CmCharacteristics, IN UINT SizeOfCmCharacteristics)
EXPORT NDIS_STATUS | NdisMCmCreateVc (IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisAfHandle, IN NDIS_HANDLE MiniportVcContext, OUT PNDIS_HANDLE NdisVcHandle)
EXPORT NDIS_STATUS | NdisMCmDeleteVc (IN NDIS_HANDLE NdisVcHandle)
EXPORT NDIS_STATUS | NdisMCmActivateVc (IN NDIS_HANDLE NdisVcHandle, IN PCO_CALL_PARAMETERS CallParameters)
EXPORT NDIS_STATUS | NdisMCmDeactivateVc (IN NDIS_HANDLE NdisVcHandle)
EXPORT NDIS_STATUS | NdisMCmRequest (IN NDIS_HANDLE NdisAfHandle, IN NDIS_HANDLE NdisVcHandle OPTIONAL, IN NDIS_HANDLE NdisPartyHandle OPTIONAL, IN OUT PNDIS_REQUEST NdisRequest)

## Define Documentation

#define NDIS_ATTRIBUTE_BUS_MASTER 0x00000008

| Definition at line 1489 of file ndismini.h.

#define NDIS_ATTRIBUTE_DESERIALIZE 0x00000020

| Definition at line 1491 of file ndismini.h.

#define NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT 0x00000001

| Definition at line 1486 of file ndismini.h.

#define NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT 0x00000002

| Definition at line 1487 of file ndismini.h.

#define NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS 0x00000004

| Definition at line 1488 of file ndismini.h.

#define NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER 0x00000010

| Definition at line 1490 of file ndismini.h.

#define NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND 0x00000040

| Definition at line 1492 of file ndismini.h.

#define NDIS_DMA_24BITS ((NDIS_DMA_SIZE)0)

| Definition at line 1130 of file ndismini.h.

#define NDIS_DMA_32BITS ((NDIS_DMA_SIZE)1)

| Definition at line 1131 of file ndismini.h.

#define NDIS_DMA_64BITS ((NDIS_DMA_SIZE)2)

| Definition at line 1132 of file ndismini.h.

#define NDIS_M_MAX_LOOKAHEAD 526

| Definition at line 6 of file ndismini.h.

#define NdisIMInitializeDeviceInstance | ( | _H_,
|  | _I_ |  | ) | NdisIMInitializeDeviceInstanceEx(_H_, _I_, NULL)

| Definition at line 1410 of file ndismini.h.

#define NdisMArcIndicateReceive | ( | _H,
|  | _HD,
|  | _D,
|  | _SZ |  | ) |

Value:

    {                                                                                                                                                               \
            ArcFilterDprIndicateReceive(((PNDIS_MINIPORT_BLOCK)(_H))->ArcDB,                        \
                                                                    _HD,                                                                                    \
                                                                    _D,                                                                                             \
                                                                    _SZ                                                                                             \
                                                                    );                                                                                              \
    }

Definition at line 1686 of file ndismini.h.

#define NdisMArcIndicateReceiveComplete | ( | _H |  | ) |

Value:

    {                                                                                                                                                               \
            if (((PNDIS_MINIPORT_BLOCK)_H)->EthDB)                                                                          \
            {                                                                                                                                                       \
                    NdisMEthIndicateReceiveComplete(_H);                                                                    \
            }                                                                                                                                                       \
                                                                                                                                                                    \
            ArcFilterDprIndicateReceiveComplete(((PNDIS_MINIPORT_BLOCK)_H)->ArcDB);         \
    }

Definition at line 1750 of file ndismini.h.

#define NdisMCmAddPartyComplete | ( | _S_,
|  | _H_,
|  | _C_,
|  | _P_ |  | ) | NdisCmAddPartyComplete(_S_, _H_, _C_, _P_)

| Definition at line 2062 of file ndismini.h.

#define NdisMCmCloseAddressFamilyComplete | ( | _S_,
|  | _H_ |  | ) | NdisCmCloseAddressFamilyComplete(_S_, _H_)

| Definition at line 1999 of file ndismini.h.

#define NdisMCmCloseCallComplete | ( | _S_,
|  | _VH_,
|  | _PH_ |  | ) | NdisCmCloseCallComplete(_S_, _VH_, _PH_)

| Definition at line 2049 of file ndismini.h.

#define NdisMCmDeregisterSapComplete | ( | _S_,
|  | _H_ |  | ) | NdisCmDeregisterSapComplete(_S_, _H_)

| Definition at line 2023 of file ndismini.h.

#define NdisMCmDispatchCallConnected | ( | _H_ |  | ) | NdisCmDispatchCallConnected(_H_)

| Definition at line 2095 of file ndismini.h.

#define NdisMCmDispatchIncomingCall | ( | _SH_,
|  | _VH_,
|  | _CP_ |  | ) | NdisCmDispatchIncomingCall(_SH_, _VH_, _CP_)

| Definition at line 2085 of file ndismini.h.

#define NdisMCmDispatchIncomingCallQoSChange | ( | _H_,
|  | _P_ |  | ) | NdisCmDispatchIncomingCallQoSChange(_H_, _P_)

| Definition at line 2118 of file ndismini.h.

#define NdisMCmDispatchIncomingCloseCall | ( | _S_,
|  | _H_,
|  | _B_,
|  | _Z_ |  | ) | NdisCmDispatchIncomingCloseCall(_S_, _H_, _B_, _Z_)

| Definition at line 2131 of file ndismini.h.

#define NdisMCmDispatchIncomingDropParty | ( | _S_,
|  | _H_,
|  | _B_,
|  | _Z_ |  | ) | NdisCmDispatchIncomingDropParty(_S_, _H_, _B_, _Z_)

| Definition at line 2143 of file ndismini.h.

#define NdisMCmDropPartyComplete | ( | _S_,
|  | _H_ |  | ) | NdisCmDropPartyComplete(_S_, _H_)

| Definition at line 2073 of file ndismini.h.

#define NdisMCmMakeCallComplete | ( | _S_,
|  | _VH_,
|  | _PH_,
|  | _CC_,
|  | _CP_ |  | ) | NdisCmMakeCallComplete(_S_, _VH_, _PH_, _CC_, _CP_)

| Definition at line 2037 of file ndismini.h.

#define NdisMCmModifyCallQoSComplete | ( | _S_,
|  | _H_,
|  | _P_ |  | ) | NdisCmModifyCallQoSComplete(_S_, _H_, _P_)

| Definition at line 2106 of file ndismini.h.

#define NdisMCmOpenAddressFamilyComplete | ( | _S_,
|  | _H_,
|  | _C_ |  | ) | NdisCmOpenAddressFamilyComplete(_S_, _H_, _C_)

| Definition at line 1988 of file ndismini.h.

#define NdisMCmRegisterSapComplete | ( | _S_,
|  | _H_,
|  | _C_ |  | ) | NdisCmRegisterSapComplete(_S_, _H_, _C_)

| Definition at line 2012 of file ndismini.h.

#define NdisMCmRequestComplete | ( | _S_,
|  | _AH_,
|  | _VH_,
|  | _PH_,
|  | _R_ |  | ) | NdisCoRequestComplete(_S_, _AH_, _VH_, _PH_, _R_)

| Definition at line 1977 of file ndismini.h.

#define NdisMCompleteDmaTransfer | ( | _S,
|  | _H,
|  | _B,
|  | _O,
|  | _L,
|  | _M_ |  | ) | NdisCompleteDmaTransfer(_S, _H, _B, _O, _L, _M_)

| Definition at line 1381 of file ndismini.h.

#define NdisMEthIndicateReceive | ( | _H,
|  | _C,
|  | _B,
|  | _SZ,
|  | _L,
|  | _LSZ,
|  | _PSZ |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->EthRxIndicateHandler)(                                          \
                    ((PNDIS_MINIPORT_BLOCK)(_H))->EthDB,                                                                    \
                    _C,                                                                                                                                             \
                    _B,                                                                                                                                             \
                    _B,                                                                                                                                             \
                    _SZ,                                                                                                                                    \
                    _L,                                                                                                                                             \
                    _LSZ,                                                                                                                                   \
                    _PSZ                                                                                                                                    \
                    );                                                                                                                                              \
    }

Definition at line 1603 of file ndismini.h.

#define NdisMEthIndicateReceiveComplete | ( | _H |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->EthRxCompleteHandler)(                                          \
                                                                                    ((PNDIS_MINIPORT_BLOCK)_H)->EthDB);             \
    }

Definition at line 1705 of file ndismini.h.

#define NdisMFddiIndicateReceive | ( | _H,
|  | _C,
|  | _B,
|  | _SZ,
|  | _L,
|  | _LSZ,
|  | _PSZ |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->FddiRxIndicateHandler)(                                         \
                            ((PNDIS_MINIPORT_BLOCK)(_H))->FddiDB,                                                           \
                            _C,                                                                                                                                     \
                            (PUCHAR)_B + 1,                                                                                                         \
                            ((((PUCHAR)_B)[0] & 0x40) ? FDDI_LENGTH_OF_LONG_ADDRESS                         \
                                                            : FDDI_LENGTH_OF_SHORT_ADDRESS),                                        \
                            _B,                                                                                                                                     \
                            _SZ,                                                                                                                            \
                            _L,                                                                                                                                     \
                            _LSZ,                                                                                                                           \
                            _PSZ                                                                                                                            \
            );                                                                                                                                                      \
    }

Definition at line 1659 of file ndismini.h.

#define NdisMFddiIndicateReceiveComplete | ( | _H |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->FddiRxCompleteHandler)(                                         \
                                                                                    ((PNDIS_MINIPORT_BLOCK)_H)->FddiDB);    \
    }

Definition at line 1735 of file ndismini.h.

#define NdisMIndicateReceivePacket | ( | _H,
|  | _P,
|  | _N |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->PacketIndicateHandler)(                                         \
                                                    _H,                                                                                                             \
                                                    _P,                                                                                                             \
                                                    _N);                                                                                                    \
    }

Definition at line 1552 of file ndismini.h.

#define NdisMIndicateStatus | ( | _M,
|  | _G,
|  | _SB,
|  | _BS |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->StatusHandler)(_M, _G, _SB, _BS)

| Definition at line 1772 of file ndismini.h.

#define NdisMIndicateStatusComplete | ( | _M |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->StatusCompleteHandler)(_M)

| Definition at line 1784 of file ndismini.h.

#define NdisMInitializeWrapper | ( | _a,
|  | _b,
|  | _c,
|  | _d |  | ) | NdisInitializeWrapper((_a),(_b),(_c),(_d))

| Definition at line 1394 of file ndismini.h.

#define NdisMQueryInformationComplete | ( | _M,
|  | _S |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->QueryCompleteHandler)(_M, _S)

| Definition at line 1536 of file ndismini.h.

#define NdisMResetComplete | ( | _M,
|  | _S,
|  | _A |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->ResetCompleteHandler)(_M, _S, _A)

| Definition at line 1517 of file ndismini.h.

#define NdisMSendComplete | ( | _M,
|  | _P,
|  | _S |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->SendCompleteHandler)(_M, _P, _S)

| Definition at line 1513 of file ndismini.h.

#define NdisMSendResourcesAvailable | ( | _M |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->SendResourcesHandler)(_M)

| Definition at line 1515 of file ndismini.h.

#define NdisMSetAttributes | ( | _H_,
|  | _C_,
|  | _M_,
|  | _T_ |  | ) |

Value:

    NdisMSetAttributesEx(_H_,                                                                       \
                                                                                             _C_,                                                                   \
                                                                                             0,                                                                             \
                                                                                             (_M_) ? NDIS_ATTRIBUTE_BUS_MASTER : 0, \
                                                                                             _T_)                                                                   \

Definition at line 1468 of file ndismini.h.

#define NdisMSetInformationComplete | ( | _M,
|  | _S |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->SetCompleteHandler)(_M, _S)

| Definition at line 1539 of file ndismini.h.

#define NdisMSetTimer | ( | _Timer,
|  | _Delay |  | ) | NdisSetTimer((PNDIS_TIMER)_Timer, _Delay)

| Definition at line 1237 of file ndismini.h.

#define NdisMSetupDmaTransfer | ( | _S,
|  | _H,
|  | _B,
|  | _O,
|  | _L,
|  | _M_ |  | ) | NdisSetupDmaTransfer(_S, _H, _B, _O, _L, _M_)

| Definition at line 1367 of file ndismini.h.

#define NdisMTransferDataComplete | ( | _M,
|  | _P,
|  | _S,
|  | _B |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M))->TDCompleteHandler)(_M, _P, _S, _B)

| Definition at line 1519 of file ndismini.h.

#define NdisMTrIndicateReceive | ( | _H,
|  | _C,
|  | _B,
|  | _SZ,
|  | _L,
|  | _LSZ,
|  | _PSZ |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->TrRxIndicateHandler)(                                           \
                    ((PNDIS_MINIPORT_BLOCK)(_H))->TrDB,                                                                             \
                    _C,                                                                                                                                             \
                    _B,                                                                                                                                             \
                    _SZ,                                                                                                                                    \
                    _L,                                                                                                                                             \
                    _LSZ,                                                                                                                                   \
                    _PSZ                                                                                                                                    \
                    );                                                                                                                                              \
    }

Definition at line 1631 of file ndismini.h.

#define NdisMTrIndicateReceiveComplete | ( | _H |  | ) |

Value:

    {                                                                                                                                                               \
            (*((PNDIS_MINIPORT_BLOCK)(_H))->TrRxCompleteHandler)(                                           \
                                                                                    ((PNDIS_MINIPORT_BLOCK)_H)->TrDB);              \
    }

Definition at line 1720 of file ndismini.h.

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

| Definition at line 1321 of file ndismini.h.

#define NdisMWanIndicateReceive | ( | _S_,
|  | _M_,
|  | _C_,
|  | _P_,
|  | _Z_ |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M_))->WanRcvHandler)(_S_, _M_, _C_, _P_, _Z_)

| Definition at line 1573 of file ndismini.h.

#define NdisMWanIndicateReceiveComplete | ( | _M_,
|  | _C_ |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M_))->WanRcvCompleteHandler)(_M_, _C_)

| Definition at line 1586 of file ndismini.h.

#define NdisMWanSendComplete | ( | _M_,
|  | _P_,
|  | _S_ |  | ) | (*((PNDIS_MINIPORT_BLOCK)(_M_))->WanSendCompleteHandler)(_M_, _P_, _S_)

| Definition at line 1533 of file ndismini.h.

#define NUMBER_OF_SINGLE_WORK_ITEMS 6

| Definition at line 515 of file ndismini.h.

#define NUMBER_OF_WORK_ITEM_TYPES NdisMaxWorkItems

| Definition at line 514 of file ndismini.h.

## Typedef Documentation

typedef VOID(* ETH_RCV_COMPLETE_HANDLER)(IN PETH_FILTER Filter)

| Definition at line 363 of file ndismini.h.

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

| Definition at line 350 of file ndismini.h.

typedef VOID(* FDDI_RCV_COMPLETE_HANDLER)(IN PFDDI_FILTER Filter)

| Definition at line 383 of file ndismini.h.

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

| Definition at line 369 of file ndismini.h.

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

| Definition at line 342 of file ndismini.h.

typedef struct _NDIS30_MINIPORT_CHARACTERISTICS NDIS30_MINIPORT_CHARACTERISTICS

typedef struct _NDIS40_MINIPORT_CHARACTERISTICS NDIS40_MINIPORT_CHARACTERISTICS

typedef struct _NDIS50_MINIPORT_CHARACTERISTICS NDIS50_MINIPORT_CHARACTERISTICS

typedef struct _NDIS_BIND_PATHS NDIS_BIND_PATHS

typedef UCHAR NDIS_DMA_SIZE

| Definition at line 1128 of file ndismini.h.

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

| Definition at line 552 of file ndismini.h.

typedef VOID(FASTCALL * NDIS_M_PROCESS_DEFERRED)(IN PNDIS_MINIPORT_BLOCK Miniport)

| Definition at line 485 of file ndismini.h.

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

| Definition at line 544 of file ndismini.h.

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

| Definition at line 536 of file ndismini.h.

typedef VOID(* NDIS_M_REQ_COMPLETE_HANDLER)(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_STATUS Status)

| Definition at line 470 of file ndismini.h.

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

| Definition at line 477 of file ndismini.h.

typedef VOID(* NDIS_M_SEND_COMPLETE_HANDLER)(IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_PACKET Packet, IN NDIS_STATUS Status)

| Definition at line 424 of file ndismini.h.

typedef VOID(* NDIS_M_SEND_RESOURCES_HANDLER)(IN NDIS_HANDLE MiniportAdapterHandle)

| Definition at line 449 of file ndismini.h.

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

| Definition at line 491 of file ndismini.h.

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

| Definition at line 455 of file ndismini.h.

typedef VOID(* NDIS_M_STS_COMPLETE_HANDLER)(IN NDIS_HANDLE MiniportAdapterHandle)

| Definition at line 464 of file ndismini.h.

typedef VOID(* NDIS_M_TD_COMPLETE_HANDLER)(IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_PACKET Packet, IN NDIS_STATUS Status, IN UINT BytesTransferred)

| Definition at line 440 of file ndismini.h.

typedef struct _NDIS30_MINIPORT_CHARACTERISTICS NDIS_MINIPORT_CHARACTERISTICS

| Definition at line 298 of file ndismini.h.

typedef struct _NDIS_MINIPORT_INTERRUPT NDIS_MINIPORT_INTERRUPT

typedef struct _NDIS_MINIPORT_TIMER NDIS_MINIPORT_TIMER

typedef struct _NDIS_MINIPORT_WORK_ITEM NDIS_MINIPORT_WORK_ITEM

typedef NDIS_MINIPORT_CHARACTERISTICS NDIS_WAN_MINIPORT_CHARACTERISTICS

| Definition at line 302 of file ndismini.h.

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

| Definition at line 432 of file ndismini.h.

typedef enum _NDIS_WORK_ITEM_TYPE NDIS_WORK_ITEM_TYPE

typedef struct _CO_CALL_PARAMETERS CO_CALL_PARAMETERS* PCO_CALL_PARAMETERS

| Definition at line 14 of file ndismini.h.

typedef struct _CO_MEDIA_PARAMETERS CO_MEDIA_PARAMETERS* PCO_MEDIA_PARAMETERS

| Definition at line 15 of file ndismini.h.

typedef * PFILTERDBS

typedef struct _NDIS_AF_LIST NDIS_AF_LIST* PNDIS_AF_LIST

| Definition at line 17 of file ndismini.h.

typedef struct _NDIS_BIND_PATHS * PNDIS_BIND_PATHS

typedef struct _NDIS_CALL_MANAGER_CHARACTERISTICS* PNDIS_CALL_MANAGER_CHARACTERISTICS

| Definition at line 16 of file ndismini.h.

typedef struct _NDIS_M_DRIVER_BLOCK NDIS_M_DRIVER_BLOCK* PNDIS_M_DRIVER_BLOCK

| Definition at line 12 of file ndismini.h.

typedef struct _NDIS_MINIPORT_BLOCK NDIS_MINIPORT_BLOCK* PNDIS_MINIPORT_BLOCK

| Definition at line 13 of file ndismini.h.

typedef NDIS_WAN_MINIPORT_CHARACTERISTICS * PNDIS_MINIPORT_CHARACTERISTICS

| Definition at line 301 of file ndismini.h.

typedef struct _NDIS_MINIPORT_INTERRUPT * PNDIS_MINIPORT_INTERRUPT

typedef struct _NDIS_MINIPORT_TIMER * PNDIS_MINIPORT_TIMER

typedef struct _NDIS_MINIPORT_WORK_ITEM * PNDIS_MINIPORT_WORK_ITEM

typedef enum _NDIS_WORK_ITEM_TYPE * PNDIS_WORK_ITEM_TYPE

typedef struct _NULL_FILTER NULL_FILTER* PNULL_FILTER

| Definition at line 18 of file ndismini.h.

typedef VOID(* TR_RCV_COMPLETE_HANDLER)(IN PTR_FILTER Filter)

| Definition at line 401 of file ndismini.h.

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

| Definition at line 389 of file ndismini.h.

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

| Definition at line 196 of file ndismini.h.

typedef BOOLEAN(* W_CHECK_FOR_HANG_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 27 of file ndismini.h.

typedef NDIS_STATUS(* W_CO_ACTIVATE_VC_HANDLER)(IN NDIS_HANDLE MiniportVcContext, IN OUT PCO_CALL_PARAMETERS CallParameters)

| Definition at line 247 of file ndismini.h.

typedef NDIS_STATUS(* W_CO_CREATE_VC_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE NdisVcHandle, OUT PNDIS_HANDLE MiniportVcContext)

| Definition at line 233 of file ndismini.h.

typedef NDIS_STATUS(* W_CO_DEACTIVATE_VC_HANDLER)(IN NDIS_HANDLE MiniportVcContext)

| Definition at line 254 of file ndismini.h.

typedef NDIS_STATUS(* W_CO_DELETE_VC_HANDLER)(IN NDIS_HANDLE MiniportVcContext)

| Definition at line 241 of file ndismini.h.

typedef NDIS_STATUS(* W_CO_REQUEST_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE MiniportVcContext OPTIONAL, IN OUT PNDIS_REQUEST NdisRequest)

| Definition at line 268 of file ndismini.h.

typedef VOID(* W_CO_SEND_PACKETS_HANDLER)(IN NDIS_HANDLE MiniportVcContext, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets)

| Definition at line 260 of file ndismini.h.

typedef VOID(* W_DISABLE_INTERRUPT_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 33 of file ndismini.h.

typedef VOID(* W_ENABLE_INTERRUPT_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 39 of file ndismini.h.

typedef VOID(* W_HALT_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 45 of file ndismini.h.

typedef VOID(* W_HANDLE_INTERRUPT_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 51 of file ndismini.h.

typedef NDIS_STATUS(* W_INITIALIZE_HANDLER)(OUT PNDIS_STATUS OpenErrorStatus, OUT PUINT SelectedMediumIndex, IN PNDIS_MEDIUM MediumArray, IN UINT MediumArraySize, IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE WrapperConfigurationContext)

| Definition at line 57 of file ndismini.h.

typedef VOID(* W_ISR_HANDLER)(OUT PBOOLEAN InterruptRecognized, OUT PBOOLEAN QueueMiniportHandleInterrupt, IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 68 of file ndismini.h.

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

| Definition at line 1049 of file ndismini.h.

typedef NDIS_STATUS(* W_QUERY_INFORMATION_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesWritten, OUT PULONG BytesNeeded)

| Definition at line 76 of file ndismini.h.

typedef NDIS_STATUS(* W_RECONFIGURE_HANDLER)(OUT PNDIS_STATUS OpenErrorStatus, IN NDIS_HANDLE MiniportAdapterContext OPTIONAL, IN NDIS_HANDLE WrapperConfigurationContext)

| Definition at line 87 of file ndismini.h.

typedef NDIS_STATUS(* W_RESET_HANDLER)(OUT PBOOLEAN AddressingReset, IN NDIS_HANDLE MiniportAdapterContext)

| Definition at line 95 of file ndismini.h.

typedef VOID(* W_RETURN_PACKET_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext, IN PNDIS_PACKET Packet)

| Definition at line 178 of file ndismini.h.

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

| Definition at line 102 of file ndismini.h.

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

| Definition at line 188 of file ndismini.h.

typedef NDIS_STATUS(* W_SET_INFORMATION_HANDLER)(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesRead, OUT PULONG BytesNeeded)

| Definition at line 118 of file ndismini.h.

typedef NDIS_STATUS(* W_TRANSFER_DATA_HANDLER)(OUT PNDIS_PACKET Packet, OUT PUINT BytesTransferred, IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_HANDLE MiniportReceiveContext, IN UINT ByteOffset, IN UINT BytesToTransfer)

| Definition at line 129 of file ndismini.h.

typedef VOID(* WAN_RCV_COMPLETE_HANDLER)(IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext)

| Definition at line 417 of file ndismini.h.

typedef VOID(* WAN_RCV_HANDLER)(OUT PNDIS_STATUS Status, IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE NdisLinkContext, IN PUCHAR Packet, IN ULONG PacketSize)

| Definition at line 407 of file ndismini.h.

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

| Definition at line 110 of file ndismini.h.

typedef NDIS_STATUS(* WM_TRANSFER_DATA_HANDLER)(VOID)

| Definition at line 140 of file ndismini.h.

## Enumeration Type Documentation

enum _NDIS_WORK_ITEM_TYPE

Enumeration values:

  NdisWorkItemRequest |
  NdisWorkItemSend |
  NdisWorkItemReturnPackets |
  NdisWorkItemResetRequested |
  NdisWorkItemResetInProgress |
  NdisWorkItemHalt |
  NdisWorkItemSendLoopback |
  NdisWorkItemMiniportCallback |
  NdisMaxWorkItems |

Definition at line 498 of file ndismini.h.

    00499 {
    00500         NdisWorkItemRequest,
    00501         NdisWorkItemSend,
    00502         NdisWorkItemReturnPackets,
    00503         NdisWorkItemResetRequested,
    00504         NdisWorkItemResetInProgress,
    00505         NdisWorkItemHalt,
    00506 #if !(NDIS_NT)
    00507         NdisWorkItemSendLoopback,
    00508 #endif
    00509         NdisWorkItemMiniportCallback,
    00510         NdisMaxWorkItems
    00511 } NDIS_WORK_ITEM_TYPE, *PNDIS_WORK_ITEM_TYPE;

## Function Documentation

EXPORT VOID NdisIMAssociateMiniport | ( | IN NDIS_HANDLE | DriverHandle,
|  | IN NDIS_HANDLE | ProtocolHandle
| ) |

EXPORT NDIS_STATUS NdisIMCancelInitializeDeviceInstance | ( | IN NDIS_HANDLE | DriverHandle,
|  | IN PNDIS_STRING | DeviceInstance
| ) |

EXPORT VOID NdisIMCopySendCompletePerPacketInfo | ( | IN PNDIS_PACKET | DstPacket,
|  | PNDIS_PACKET | SrcPacket
| ) |

EXPORT VOID NdisIMCopySendPerPacketInfo | ( | IN PNDIS_PACKET | DstPacket,
|  | IN PNDIS_PACKET | SrcPacket
| ) |

EXPORT NDIS_STATUS NdisIMDeInitializeDeviceInstance | ( | IN NDIS_HANDLE | NdisMiniportHandle | ) |

EXPORT VOID NdisIMDeregisterLayeredMiniport | ( | IN NDIS_HANDLE | DriverHandle | ) |

EXPORT NDIS_HANDLE NdisIMGetBindingContext | ( | IN NDIS_HANDLE | NdisBindingHandle | ) |

EXPORT NDIS_HANDLE NdisIMGetDeviceContext | ( | IN NDIS_HANDLE | MiniportAdapterHandle | ) |

EXPORT NDIS_STATUS NdisIMInitializeDeviceInstanceEx | ( | IN NDIS_HANDLE | DriverHandle,
|  | IN PNDIS_STRING | DriverInstance,
|  | IN NDIS_HANDLE DeviceContext | OPTIONAL
| ) |

EXPORT NDIS_STATUS NdisIMQueueMiniportCallback | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN W_MINIPORT_CALLBACK | CallbackRoutine,
|  | IN PVOID | CallbackContext
| ) |

EXPORT NDIS_STATUS NdisIMRegisterLayeredMiniport | ( | IN NDIS_HANDLE | NdisWrapperHandle,
|  | IN PNDIS_MINIPORT_CHARACTERISTICS | MiniportCharacteristics,
|  | IN UINT | CharacteristicsLength,
|  | OUT PNDIS_HANDLE | DriverHandle
| ) |

EXPORT VOID NdisIMRevertBack | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN NDIS_HANDLE | SwitchHandle
| ) |

EXPORT BOOLEAN NdisIMSwitchToMiniport | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | OUT PNDIS_HANDLE | SwitchHandle
| ) |

EXPORT NDIS_STATUS NdisMAllocateMapRegisters | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN UINT | DmaChannel,
|  | IN NDIS_DMA_SIZE | DmaSize,
|  | IN ULONG | PhysicalMapRegistersNeeded,
|  | IN ULONG | MaximumPhysicalMapping
| ) |

EXPORT VOID NdisMAllocateSharedMemory | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN ULONG | Length,
|  | IN BOOLEAN | Cached,
|  | OUT PVOID * | VirtualAddress,
|  | OUT PNDIS_PHYSICAL_ADDRESS | PhysicalAddress
| ) |

EXPORT NDIS_STATUS NdisMAllocateSharedMemoryAsync | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN ULONG | Length,
|  | IN BOOLEAN | Cached,
|  | IN PVOID | Context
| ) |

EXPORT VOID NdisMCancelTimer | ( | IN PNDIS_MINIPORT_TIMER | Timer,
|  | OUT PBOOLEAN | TimerCancelled
| ) |

EXPORT VOID NdisMCloseLog | ( | IN NDIS_HANDLE | LogHandle | ) |

EXPORT NDIS_STATUS NdisMCmActivateVc | ( | IN NDIS_HANDLE | NdisVcHandle,
|  | IN PCO_CALL_PARAMETERS | CallParameters
| ) |

EXPORT NDIS_STATUS NdisMCmCreateVc | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN NDIS_HANDLE | NdisAfHandle,
|  | IN NDIS_HANDLE | MiniportVcContext,
|  | OUT PNDIS_HANDLE | NdisVcHandle
| ) |

EXPORT NDIS_STATUS NdisMCmDeactivateVc | ( | IN NDIS_HANDLE | NdisVcHandle | ) |

EXPORT NDIS_STATUS NdisMCmDeleteVc | ( | IN NDIS_HANDLE | NdisVcHandle | ) |

EXPORT NDIS_STATUS NdisMCmRegisterAddressFamily | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN PCO_ADDRESS_FAMILY | AddressFamily,
|  | IN PNDIS_CALL_MANAGER_CHARACTERISTICS | CmCharacteristics,
|  | IN UINT | SizeOfCmCharacteristics
| ) |

EXPORT NDIS_STATUS NdisMCmRequest | ( | IN NDIS_HANDLE | NdisAfHandle,
|  | IN NDIS_HANDLE NdisVcHandle | OPTIONAL,
|  | IN NDIS_HANDLE NdisPartyHandle | OPTIONAL,
|  | IN OUT PNDIS_REQUEST | NdisRequest
| ) |

EXPORT VOID NdisMCoActivateVcComplete | ( | IN NDIS_STATUS | Status,
|  | IN NDIS_HANDLE | NdisVcHandle,
|  | IN PCO_CALL_PARAMETERS | CallParameters
| ) |

EXPORT VOID NdisMCoDeactivateVcComplete | ( | IN NDIS_STATUS | Status,
|  | IN NDIS_HANDLE | NdisVcHandle
| ) |

EXPORT VOID NdisMCoIndicateReceivePacket | ( | IN NDIS_HANDLE | NdisVcHandle,
|  | IN PPNDIS_PACKET | PacketArray,
|  | IN UINT | NumberOfPackets
| ) |

EXPORT VOID NdisMCoIndicateStatus | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN NDIS_HANDLE NdisVcHandle | OPTIONAL,
|  | IN NDIS_STATUS | GeneralStatus,
|  | IN PVOID StatusBuffer | OPTIONAL,
|  | IN ULONG | StatusBufferSize
| ) |

EXPORT VOID NdisMCompleteBufferPhysicalMapping | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN PNDIS_BUFFER | Buffer,
|  | IN ULONG | PhysicalMapRegister
| ) |

EXPORT VOID NdisMCoReceiveComplete | ( | IN NDIS_HANDLE | MiniportAdapterHandle | ) |

EXPORT VOID NdisMCoRequestComplete | ( | IN NDIS_STATUS | Status,
|  | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN PNDIS_REQUEST | Request
| ) |

EXPORT VOID NdisMCoSendComplete | ( | IN NDIS_STATUS | Status,
|  | IN NDIS_HANDLE | NdisVcHandle,
|  | IN PNDIS_PACKET | Packet
| ) |

EXPORT NDIS_STATUS NdisMCreateLog | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN UINT | Size,
|  | OUT PNDIS_HANDLE | LogHandle
| ) |

EXPORT VOID NdisMDeregisterAdapterShutdownHandler | ( | IN NDIS_HANDLE | MiniportHandle | ) |

EXPORT NDIS_STATUS NdisMDeregisterDevice | ( | IN NDIS_HANDLE | NdisDeviceHandle | ) |

EXPORT VOID NdisMDeregisterDmaChannel | ( | IN NDIS_HANDLE | MiniportDmaHandle | ) |

EXPORT VOID NdisMDeregisterInterrupt | ( | IN PNDIS_MINIPORT_INTERRUPT | Interrupt | ) |

EXPORT VOID NdisMDeregisterIoPortRange | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN UINT | InitialPort,
|  | IN UINT | NumberOfPorts,
|  | IN PVOID | PortOffset
| ) |

EXPORT VOID NdisMFlushLog | ( | IN NDIS_HANDLE | LogHandle | ) |

EXPORT VOID NdisMFreeMapRegisters | ( | IN NDIS_HANDLE | MiniportAdapterHandle | ) |

EXPORT VOID NdisMFreeSharedMemory | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN ULONG | Length,
|  | IN BOOLEAN | Cached,
|  | IN PVOID | VirtualAddress,
|  | IN NDIS_PHYSICAL_ADDRESS | PhysicalAddress
| ) |

EXPORT VOID NdisMGetDeviceProperty | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN OUT PDEVICE_OBJECT *PhysicalDeviceObject | OPTIONAL,
|  | IN OUT PDEVICE_OBJECT *FunctionalDeviceObject | OPTIONAL,
|  | IN OUT PDEVICE_OBJECT *NextDeviceObject | OPTIONAL,
|  | IN OUT PCM_RESOURCE_LIST *AllocatedResources | OPTIONAL,
|  | IN OUT PCM_RESOURCE_LIST *AllocatedResourcesTranslated | OPTIONAL
| ) |

EXPORT NDIS_STATUS NdisMInitializeScatterGatherDma | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN BOOLEAN | Dma64BitAddresses,
|  | IN ULONG | MaximumPhysicalMapping
| ) |

EXPORT VOID NdisMInitializeTimer | ( | IN OUT PNDIS_MINIPORT_TIMER | Timer,
|  | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN PNDIS_TIMER_FUNCTION | TimerFunction,
|  | IN PVOID | FunctionContext
| ) |

EXPORT NDIS_STATUS NdisMMapIoSpace | ( | OUT PVOID * | VirtualAddress,
|  | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN NDIS_PHYSICAL_ADDRESS | PhysicalAddress,
|  | IN UINT | Length
| ) |

EXPORT NDIS_STATUS NdisMPciAssignResources | ( | IN NDIS_HANDLE | MiniportHandle,
|  | IN ULONG | SlotNumber,
|  | IN PNDIS_RESOURCE_LIST * | AssignedResources
| ) |

EXPORT NDIS_STATUS NdisMPromoteMiniport | ( | IN NDIS_HANDLE | MiniportHandle | ) |

EXPORT NDIS_STATUS NdisMQueryAdapterInstanceName | ( | OUT PNDIS_STRING | pAdapterInstanceName,
|  | IN NDIS_HANDLE | MiniportHandle
| ) |

EXPORT VOID NdisMQueryAdapterResources | ( | OUT PNDIS_STATUS | Status,
|  | IN NDIS_HANDLE | WrapperConfigurationContext,
|  | OUT PNDIS_RESOURCE_LIST | ResourceList,
|  | IN OUT PUINT | BufferSize
| ) |

EXPORT ULONG NdisMReadDmaCounter | ( | IN NDIS_HANDLE | MiniportDmaHandle | ) |

EXPORT VOID NdisMRegisterAdapterShutdownHandler | ( | IN NDIS_HANDLE | MiniportHandle,
|  | IN PVOID | ShutdownContext,
|  | IN ADAPTER_SHUTDOWN_HANDLER | ShutdownHandler
| ) |

EXPORT NDIS_STATUS NdisMRegisterDevice | ( | IN NDIS_HANDLE | NdisWrapperHandle,
|  | IN PNDIS_STRING | DeviceName,
|  | IN PNDIS_STRING | SymbolicName,
|  | IN PDRIVER_DISPATCH | MajorFunctions[],
|  | OUT PDEVICE_OBJECT * | pDeviceObject,
|  | OUT NDIS_HANDLE * | NdisDeviceHandle
| ) |

EXPORT NDIS_STATUS NdisMRegisterDmaChannel | ( | OUT PNDIS_HANDLE | MiniportDmaHandle,
|  | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN UINT | DmaChannel,
|  | IN BOOLEAN | Dma32BitAddresses,
|  | IN PNDIS_DMA_DESCRIPTION | DmaDescription,
|  | IN ULONG | MaximumLength
| ) |

EXPORT NDIS_STATUS NdisMRegisterInterrupt | ( | OUT PNDIS_MINIPORT_INTERRUPT | Interrupt,
|  | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN UINT | InterruptVector,
|  | IN UINT | InterruptLevel,
|  | IN BOOLEAN | RequestIsr,
|  | IN BOOLEAN | SharedInterrupt,
|  | IN NDIS_INTERRUPT_MODE | InterruptMode
| ) |

EXPORT NDIS_STATUS NdisMRegisterIoPortRange | ( | OUT PVOID * | PortOffset,
|  | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN UINT | InitialPort,
|  | IN UINT | NumberOfPorts
| ) |

EXPORT NDIS_STATUS NdisMRegisterMiniport | ( | IN NDIS_HANDLE | NdisWrapperHandle,
|  | IN PNDIS_MINIPORT_CHARACTERISTICS | MiniportCharacteristics,
|  | IN UINT | CharacteristicsLength
| ) |

EXPORT VOID NdisMRegisterUnloadHandler | ( | IN NDIS_HANDLE | NdisWrapperHandle,
|  | IN PDRIVER_UNLOAD | UnloadHandler
| ) |

EXPORT NDIS_STATUS NdisMRemoveMiniport | ( | IN NDIS_HANDLE | MiniportHandle | ) |

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

EXPORT NDIS_STATUS NdisMSetMiniportSecondary | ( | IN NDIS_HANDLE | MiniportHandle,
|  | IN NDIS_HANDLE | PrimaryMiniportHandle
| ) |

VOID NdisMSetPeriodicTimer | ( | IN PNDIS_MINIPORT_TIMER | Timer,
|  | IN UINT | MillisecondPeriod
| ) |

EXPORT VOID NdisMSleep | ( | IN ULONG | MicrosecondsToSleep | ) |

EXPORT VOID NdisMStartBufferPhysicalMapping | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN PNDIS_BUFFER | Buffer,
|  | IN ULONG | PhysicalMapRegister,
|  | IN BOOLEAN | WriteToDevice,
|  | OUT PNDIS_PHYSICAL_ADDRESS_UNIT | PhysicalAddressArray,
|  | OUT PUINT | ArraySize
| ) |

EXPORT BOOLEAN NdisMSynchronizeWithInterrupt | ( | IN PNDIS_MINIPORT_INTERRUPT | Interrupt,
|  | IN PVOID | SynchronizeFunction,
|  | IN PVOID | SynchronizeContext
| ) |

EXPORT VOID NdisMUnmapIoSpace | ( | IN NDIS_HANDLE | MiniportAdapterHandle,
|  | IN PVOID | VirtualAddress,
|  | IN UINT | Length
| ) |

EXPORT NDIS_STATUS NdisMWriteLogData | ( | IN NDIS_HANDLE | LogHandle,
|  | IN PVOID | LogBuffer,
|  | IN UINT | LogBufferSize
| ) |