NDIS function simple manual

xiaoxiao2021-03-06  57

? Transferred from the Easyxu function? Describe the upper layer function without connecting micro ports? DriveRYTRY? Activate and initialize the micro-port driver miniportallocateComple "by the operating system call to indicate the previously called NDISMALLOCATEMORYSYNC has completed the internal status of the NIC MINIPORTDISABLINTERRUPT? Disable The NIC generates interrupt MiniPortenableInterrupt? Allows NIC to generate interrupt MiniPorthalt? Reallocate and re-register NIC's resource and terminate NIC to make it no longer use MiniPortHandleInterrupt? Extended to complete the I / O interrupt function MINIPORTINIALIZE? Entry NICMINIPORTISR? The NIC interrupt service routine runs miniportQueryInformation with high weights? Query the performance of the micro-port driver and the current status MiniPortReconfigure? No miniPortreSet? Do you send a hardware reset miniportReturnPacket from the upper layer, this package is before this Call the NDISMISMIDICATERECEPACKET function to pass the package miniportsend? If the driver does not have the MiniPortsendPadcets or MiniPortWansend function, it is used to pass a package through the NIC to the network miniportsendPackets? Transfer (setting) on ​​the network through the NIC? Transformation (Settings) About micro port Driver or its NIC information miniportshutdown? When the system is temporarily turned off, restore NIC to the initial state MiniportSynchronizeisr? Synchronize the resource shared with MiniPortISR or MiniPortDisableInterrupt.

If you have a NIC driver function running under DIRQL and a miniPortISR or MiniPortDisableInterRupt function of the driver, you need this function MiniPostTimer? If the micro-port NIC does not generate an interrupt, it is used to poll the status MiniportTransferData for the NIC? Will be received by NIC The contents of the package are copied to a given package cache MiniPortwansend? If the driver controls WAN NIC, send a package to the upper layer function to connect to the micro-port over the network via the NIC? DriveREntry? DRIVERENTRY? By operating system call to activate and initialize the micro port drivers MiniportAllocateComplete? call it indicated previously called NdisMAllocateMemoryAsync has been completed MiniportChecKForHang? check the internal state of the NIC MiniportCoActivateVc? activate a virtual connection (VC) MiniportCoCreateVc? is a VC established VC state MiniportCoDeactivateVc? state a VC release of VC MiniportCoDeleteVc? delete A vcminIPortCoreQuest? Query the capabilities of the micro-port driver and the current status or change (set) information about the micro-port driver or its NIC information miniportcosendpackets? Send a group of packets to the network on the network MINIPORTDISABLEINTERRUPT? No NIC generation interrupt MINIPORTENABLEINTERRUPT? Allow a NIC to interrupt Miniporehalt? Recover and log out of the NIC's resource and terminate the NIC to make it use the MiniPortHandieInterRupt? Extension to complete the I / O interrupt function to perform MiniPortInitialize? Initialize NICMINIPORTITISR? As the NIC interrupt service routine MINIPORTRECONFIGURE? Do not use the miniporereset? Do you send a hardware reset for the NIC to reset a package from the upper layer, this package is the MINIPORTSHUTDOWN that is previously passed by calling NDismCoIndicateRecePacket, when the system is turned off, recover NIC Recovery To its initial state miniportsynchronizpisr? Synchronize access to MiniPortISR or MiniPortdisableint Errupt shared resources, if there is a NIC driver function running under DIRQL with the MiniPortISR or MiniPortDisableInterRupt function shared resource miniporttimer? If the micro-port NIC does not generate an interrupt, poll a NIC state miniportwansend? If the driver controls WAN NIC Send a package to the network to initialize and register functions over the network interface card? NDISMINIALIZEWRAPPER? Initializing the NDISTERMINIPORT for the micro-port driver NDISMREGISTERMINIPORT? Provide NDISMSTATISTRIBUTES to NDISMSetaTributes? Report the micro-port driver to the NDIS library The supported NIC type and passes the handle of the environment area of ​​the micro-port. NDIS will pass this handle to the MINIPORTXXUTESEX in the next call. In addition to passing the same information like NDISMSetAttributes, this function changes the default NIC timeout action and allows a micro-port to specify some additional flags. A driver, such as a NDIS intermediate layer driver or a non-serialized micro-port driver, if you must specify one or more such markers, you must call this function instead of NDISMSETATRIBUTESNDISMGETDEVICEPROPERTY? Retrieve the device object, this object It is used to create a communication with NIC through a bus driver.

For example, USB and IEEE 1394 bus drivers NDISMQUERYADAPTERRESOURES? Returns a NDISMQUERYINFORMATIONCOMPLETE? Indicating that NDIS previous MiniporeQueryInformation operation is completed. No connection only micro port call NdisMSetInformationComplete? Report NDIS library, previous MiniportSetInofrmation operation has been completed, only connectionless miniport calls NdisOpenConfiguration? Provide a caller can use the call handler NdisOpenCanfigurationByIndex NdisReadConfiguration, NdisWriteConfiguration, NdisOpenConfigurationByIndex or NdisOpenConfigurationByName of? Open a A subkey of the primary key value in a given open registry, and this primary key is the handle of a caller specifies NDisopenConfigArationByname? Opens a given open registry in one of the primary key values The specified subkey, this primary key specifies the handle provided by a caller specifies the NDisReadConfiguration? Using the parameter handle obtained by calling NDisopenFiguration to read the key value of the specified key name stored in the registry, the key value will pass to NdisreadConfigrationnDiswriteConfiguration. ? parameters handle obtained by a call NdisOpenConfiguration will write to the registry keys, key pass NdisWriteConfigurationNdisCloseConfiguration? close an open registry handle by calling NdisOpenConfiguration NdisMRegisterAdapterShutdownHandler? Register a NIC drivers provided Miniportshutdown function, which in the system Will be called NDIS_INIT_FUNCTION? NDIS_INIT_FUNCTION? NDIS_INIT_FUNCTION? A driver function starts running ndis_pageable_function only when initialization? Indicates that a driver function is a canable code hardware setting function? NDISREADEISASLOTINFORMATION? Read the EISA NIC slot information and copy it to NIC The driver is provided in a cache NDISREADESASLOTINFORMATIONEX? For a selection of EISA NIC read slot information and information about a series of functions, copy these settings to NDisimMediateReadpcislotinformation in the cache provided by the NIC driver? Set of a designated PCI device Ready a specified length byte NDisimMADITEWRITEPCITITINFORMATION? NDISMPCIASSIGNREADPCISLOTINFORMATION n n n n n n n n n n Read a specified length byte ndiswritepcislotinformation? Write a specified length byte NDisreadpcmciattributeMEMORY to a specified PCI device to read a PC card's NIC from the property memory NDISWRITEPCMCIAATTRIBUTEMORY? Is one PC Card NIC Write the Attribute Memory Write Setting Parameters NDISREADNETWORKADDRESS? Returns the network address that can be set,

NIC is the storage I / O port function when it is in the NIC installed in the machine in the registry? NdisMRegisterIoPortRange? For the establishment of I / O functions use NdisRawReadPortXxx and NdisRawWriteportXxx access port NdisMDeregisterIoProtRange? NdisMRegisterIoPortRange remove the earlier registered by the I / O port access NDISMMAPIOSPACE? Subsequent memory mapping I / O operation maps a certain range of devices memory NDiszeromappedMemory? Memory block mapping early call NDISMAPIOSPACE maps with 0 Plug NDISMOVEFROMMAPPEDMEMORY? Copy data from NDismMapiospace mapped by NDismMapiospace to a system buffer space NdisMoveToMappedMemory? copy data from one system space cache to the device memory during initialization by the NdisMMapIoSpace the mapped NdisMUnmapIoSpace? releasing region NdisImmediateReadSharedMemory call NdisMMapIoSpace mapped? read from the shared memory address before the driver calls NdisMMapIoSpace a data fetch cache NdisImmediateWriteSharedMemory NdisRawReadPortXxx write data to a shared buffer memory address before the driver calls NdisMMapIoSpace O port of a read only data from one I /, specific functions include:?? NdisRawReadPortUchor, NdisRawReadportUlong, NdisRawReadportUshortNdisRawReadPortBufferXxx ? / O port read data from a buffer to an I, the specific function comprises: NdisRawReadPortBufferUchar, NdisRawReadPortBufferUlong, NdisRawReadPortBufferUshortNdisRawWritePortXxx / O write data to an I port of a specific function comprises:?? NdisRawWritePortUchar, NdisRawWritePortUlong, NdisRawWritePortUshourtNdisRawWritePortBufferXxx the data cache Write I / O ports, specific functions include: NDISRAWWR ITEPORTBUFFERUCH, NDISRAWRITEPORTBUFFERULONG, NDISRAWRITEPORTBUFFERUSHORTNDISIMMEDITEREADPORTNDISIMMEDITEREADPORTXX? A data is read from an I / O port before the driver calls the NDISMREGISTERIOPORTRANGE mapping port. The specific functions include: NDisimMediatereadportucha, NDisimMediatereadportUShort, NDisimMeduateReadportulongndisimmediateWritePortxxx? Write a data to an I / O port before the driver calls the NDISMREGIOPORTRANGE mapping port. Specific functions include:? NdisImmediateWritePortUch, NdisImmediateWritePortUshort, NdisImmediateWritePortUlongDMA related functions NdisMAllocateMapRegisters to use the bus manager DMA device allocation map registry NdisMAllocateShareMemory distribution system and a bus manager NIC DMA and shared memory???.

It is when the driver initialization to IRQL PASSIVE_LEVEL call NdisMAllocateShareMemoryAsync? Invoked lift IRQL, e.g. MiniportHandleInterrupt function a miniport bus manager DMA the NIC allocate shared memory NdisMCompleteBufferPhysicalMapping? Release early as a bus master DMA operations invoked NdisMStartBufferPhysicalMapping used Mapping registry. NDISMCOMPLETEDMATRRRASFER is called only when DMA initialization is called NDismComPleTedMatransfer? Indicates that a subordinate DMA operation of the NDIS library has completed NDISMDEREGISTERDMACHANNEL? Release its declaration NDisflushBuffer on the DMA channel of the micro-port driver to NIC or from NIC or from NIC Transfer Before the data, it calls to ensure that the Cache and host physical memory running in the bus manager DMA is unanimously NdisgetCachefillSize? Returns the microprocessor's cache boundary. DMA the NIC driver can use the information returned by this function to avoid cache when DMA transfer is disconnected NdisMFreeMapRegisters? Release DMA bus manager map registry, which is assigned by the early NdisMAllocateMapRegisters NdisMFreeSharedMemory? NdisMAllocateSharedMemory by the early release or NdisMAllocateSharedMemoryAsync Allocated memory ndisminitializescattergatherdma? To reserve system resources using the DMA driver, only non-serving or connection micro-port call NDISMREADDMACUNTER? Read System DMA Manager's counter NDISMREGISTGERDMACHANNEL? Create a DMA operation to the future DMA operation channel control driver NdisMSetupDmaTransfer? host is provided a system for transmitting a slave DMA controller DMA NdisMStarBufferPhysicalMapping? generates a physical address for a DMA bus manager mapping operation, only when the call NdisMAllocateMapRegisters DMA initialization call NdisMUpdateSharedMemory? ensure that the bus manager The data read from the shared memory area when DMA operation is the latest NDisQueryMapRegisterCount? Returns all possible number of map registry. The driver calls NDisQuerymapRegisterCount before calling NDISMALLOCATEMAPREGISTERCOTERCOUNT to select how much registry interrupt handler? NDISMDEREGISTERINTERRUPT? Is an interrupt handler to stop reception interrupt. Operating system disconnects the NIC interrupt connection NDismRegisterInterRupt? Connect the micro-port interrupt service function (MiniPortisr) and the interrupt generated by its NIC NDismynchronizeWithinterRupt? Any NIC driver function shared with the MiniPortISR or MiniPortDisableInterRupt function must be synchronized Access these resources to prevent contention. By calling ndismysynchronizewithinterrupt and passing an address of a miniPortsynchronizeISR function to synchronize the function with MiniPortISR and MiniPortDisableInterrupt.

MINIPORTSYNCHRONZEISR runs on DIRQL, so it can securely access shared resource synchronization functions? NDismCelTimer? Cancel your early NDISMINILIALIZETIMER? Initialize a clock object and connect the object with a miniporttimer function NDISMSTTIMER? Set a clock at a specified interval Then stop NDISMSETPERIDICTIMER? Set the clock to stop after a specified time, or stop NDISMSLEEP to cause the caller's thread to block the specified interval. When the driver is initialized or when the adapter is stopped, call NDISMSLEP. For example, when the NIC is waiting for the initialization. NDismSleep is only called NDISSTALLEXECUTION in IRQL Passivel_level to cause the caller's thread to stop a specified interval, no more than 50 microseconds. You cannot use NDismSleep, NDISSTALLEXECUTION is called NdisinitializeEvent in an elevated IRQL to generate and initialize an event NDisseTevent to synchronize driver operations to specify the semaphore NDisResteTevent? Reset the specified event is no signal NdiswaITEVENT? Causes the caller wait for the specified event to indicate or specify NDisAllocateSpinLock to initialize a ndis_spin_locklock, which is used to synchronize the resources of the non-ISR driver function. NDISFREESPINLOCK? Release one in the process of calling the NDisAllocateSpinLock process The initialized spin ndisacquirespinlock? Gets a spin lock to protect access to shared resources between non-ISR driver functions running in a SMP security mode. Run in IrqlndisReleaseSPINLOCK? Release an early call NDisacquirespinlock get a spin lock

NDISDPRACQUIRESPINLOCK? Get a spin lock under Irql Dispatch_level. It protects shared resource access between non-ISR driver functions running in a SMP security mode. It calls ndisacquirespinlock if the driver function running on Irql Dispatch_level

NDISDPRRRELEASESPINLOCK? Release an early call NDISDPRACQUIRESPINLOCK to get spin lock

NdisinitializeReadwritelock? Initialize a NDIS_RW_LOCK type variable. The NDIS_RW_LOCK variable is used to limit a write access to a shared resource for a non-ISR driver thread. This NDIS_RW_LOCK allows multiple non-ISR driver threads to read these resources at the same time. This read access is not allowed when writing access.

NDISACQUIREEADWRITELOCK? Get a caller to write or read the lock between the shared resources of multiple driver threads. Run in IRQL

NDISRELEASEREADWRITELOCK? Release a read-write lock in the call of NDisacquireReadwritelock

NDismysynchronizeWithinterRupt? Any NIC driver function shared with the MiniPortISR or MiniPortDisableInterrupt function The number of NIC driver must be accessed synchronously with these two functions to prevent contention. A function that must be synchronized with MiniPortISR and MiniPortDisableInterrupt, by calling ndismsynchronizewithinterrupt, with a MiniportSynchronizeisr function running in DLRQL to access shared resources.

Status function?

NDismCoindicateStatus? Indicates the status change of the connection NIC or a state change of the specified virtual connection (VC) on the network interface card (NIC).

NDISMINDICASTATUS? Indicates the NDIS library that the NIC state has changed, only the NDISMISMINDICATASCOMPLETE is not connected to the micro-port. The status change indicated to the NDIS library has been completed, only the micro-port call is only connected.

NDISMQUERYINFORMATIONCOMPLETE? Indicates that the early MiniPortQueryInformation call has been completed

NDISMSETINFORMATIONCOMPLETE? Indicates that early MiniPortsetInformation call has been completed

Does not connect micro ports send and receive functions?

NDISMINDICATERECEPACKET? Indicates one or more packages to the relevant upper layer

NDISMARCINDICERECEENDISMETHINDICATERECEIVENDISMFDDIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIVE? Indicates a package that specifies media type is receiving

NDISMARCINDICATERECEIVETENDISMETHINDICATERECEVOMPLETENDISMFDIIIIIIIIIIIVECOMPLETENDISMTRINDICATERECEIVETE? Indicates that a package receiving operation has been completed

NDISMSENDCOMPLETE? Indicates that the early package sent operation has been completed, use it when the early MINIPORTSEND function is asynchronous

NDISMSENDRESOURSAVAILABLE? Indicates the NDIS library, and the micro-port driver has resources available to send operations. If the micro-port completes a synchronous transmission, call this function in its MiniPortsend function, or when it detects an asynchronous sending operation, it is called in its MiniPortHandleInterRupt function. If the driver does not call NDISMSENDCOMPLETE for an untaled send operation, NDISMSENDRESOURESAVAILABLE can be called

NDISMTRANSFERDATACOMPLETE? Indicates that the early MiniPortTransferDate request requests for NDIS libraries have been completed, and use this function when the previously called MINIPORTTRANSFERDATA function returns ndis_status_pending.

Transfer and reception functions for connecting micro ports?

NDISMCOINDICATERECEPACKET? Indicates one or more packages up to the upper layer, according to each VC indicator package

NDISMCOSENDCOMPLETE? Indicates that the package sent by calling MiniPortCoSendPackets has been completed

Band (OOB) data macro?

NDIS_OOB_DATA_FROM_PACKET? Returns a pointer to OOB data blocks connected to a given package descriptor

NDIS_GET_PACKET_MEDIA_SPECIFIC_INFO? Return to MediaspecificInformation Pointer and SizeMediaspecificInfo value from an OOB block connected to a given package descriptor

NDIS_GET_PACKET_STATUS? Returns the status value from an OOB data block connected to the given package descriptor

NDIS_GET_PACKET_TIME_TO_SEND? Returns Timetosend Values ​​from an OOB block connected to the given package descriptor

NDIS_SET_PACKET_HEADER_SI? Sets a Headersize value in the OOB data block connected to the given package descriptor for the subsequent reception indication.

NDIS_SET_PACKET_MEDIA_SPECIFIC_LNFO? Sets the MediaspecificInformation pointer and sizemediaspecificinfo value in the OOB data block connected to a given package descriptor

NDIS_SET_PACKET_STATUS? Set the status value in the OOB data block connected to a given package descriptor before a driver is called NDISM (CO) indeRerecePacket or the MiniPort (CO) SendPackets function of a driver returns the control. NDIS_SET_PACKET_TIME_RECEIVED? Set the timeceived value in the OOB data block connected to a given package descriptor

NDIS_SET_PACKET_TIME_SENT? Set the TimeSent value in the OOB block of the given package descriptor

Package and cache processing functions?

NDISALLOCATEPACKETPOOL? Assign and initialize an undistributed pip pool block. The caller provides the size of each fixed package that requests the deposited package descriptor and in bytes.

NdisallocatePacketPoolX? Assign and initialize a block that does not page the pool. And provide the number of request packet descriptors and the size of each fixing package in bytes, the caller provides the number of package descriptors for saving the overflow state.

NDISALLOCATEPACKET? Assign a fixed size package descriptor from the package returned by NdisallocatePacketPool

NDISDPRALLOCATEPACKET? When the caller runs under IRQL Dispatch_level, allocate and initialize a package descriptor

NDISALLOCATEBUFFERPOOL? Returns a caller available to NdisallocateBuffer to assign a cache descriptor handle

NDISALLOCATEBUFFER? Create a cache descriptor that maps the false memory range in the specified assigned missed memory block. You need to give the handle returned by ndisallocatebufferpool

NDisadjustBufferLength? Modify a length of a given cache descriptor specified

NDISBUFFERLENGTH? Returns a given map buffer with the length of bytes

NDISBUFFERVIRTUALADDRESS? If the physical page given by the given cache descriptor is not mapped to the system space, return the basic virtual address of the cache mapped by a given cache descriptor, and map the physical page to the system space.

NDISCOPYBUFFER? Create a cache descriptor for the specified memory block

NDISCOPYFROMPACKETTOPACKET? Copy the specified number of bytes from a package to another, given a specified source package and a destination package and the start position of each package

NDiscreatelookAheadBufferfromsharedMemory? Returns a virtual address of the cache of the bus manager DMA? NIC shared block. Allow the driver to map a part of the receiving data indicated upward in the read-only pre-split cache to the relevant protocol

NDISDESTROYLOKAHEADBUFFERFROMSHAREDMEMORY? Release is cached by calling ndiscreatelookaheadbufferfromsharedmemory

NDISQUERYPACKET? Returns a set of information describing the big pointer to the package and the chain

NDISQUERYBUFFER? Returns the base address and length of a cached virtual address mapping by a given cache descriptor

NDISQUERYBUFFEROFFSET? Returns the base address and length of a cached virtual address mapping in a given cache descriptor

NdisgetFirstBufferFromPacket? Return the first cache of the chain on the package and the virtual address, and the length of the first cache and the total length of all cached (to prevent segmentation)

NDISGETNEXTBUFFER? Returns the current cache descriptor for a given cache descriptor chain

NdisgetBufferPhysicalAraysize? Returns the number of caches of the physical blocks that are not adjacent to a given cache descriptor. Bus management DMA NIC calls it before calling ndismstarbufferphysicalmapping to determine how much NDIS_PHYSICAL_ADDRESS structure

NdisgetPacketFlags? If there is, return in a given package, the flag is set by the protocol driver

NDISFREEPACKETPOOL? Release block NDisPacketPoolusage by calling NDisAllocatePacketPool? Returns the number of package descriptors currently allocated in a pool

NDISFREEPACKET? Release the package allocated by ndisallocatepacket

NDISDPRFREEPACKET? When the caller provides internal synchronization for the access package, the caller is running in IRQL Dispatch_level, the driver assigns the package descriptor and returns it to the idle list.

NDisfreeBufferPool? Release the handle obtained by NdisAllocateBufferPool

NDISFREEBUFFER? Release the Cache Descriptor obtained by NdisAllocateBuffer

NDischainBufferatback? Non-ending of a given cache descriptor chain to a given cache descriptor

NDISUNCHAINBUFFERATFRONT? Remove the header of the linked list from a given cache descriptor list and returns a pointer to this cache descriptor

NDISUNCHAINBUFFERATBACK? Remove the end of the table from a given cache descriptor list and returns a pointer to this cache descriptor

NDISREINITIALIZEPACKET? Remove all phase chains from a given package and reinitialize it for re-use

NDisRecalculatePacketCounts? Reset the number of valid numbers for multiple gives the package so that the next call NDisQueryPacket recalculates a number

NDIS_BUFFER_LINKAGE? Returns a pointer to a linked cache by a pointer to the cache descriptor. This macro allows a driver that does not have to provide its own cache descriptor link to queue allocated cache descriptors

NDIS_BUFFER_TO_SPAN_PAGES? Determine how many physical pages for a given cache take?

Memory function?

NDISALLOCATEMORY? The system space memory that resides (misp pounted) in the specified address range is assigned and / or allocated in a non-Cache mode in a physical continuous allocation.

NDISALLOCATEMORYWITHTAG? If you call ndisallocateMemory, the difference is that it allows the caller to provide a tag to track the memory allocation of the driver.

NDISEQUALMEMORY? Compares the specified number of characters in a memory block with the same number of characters in another memory block.

NdisfillMemory? Fill a cache provided by a caller with a given manner

NDISFREEMEMORY? Release early memory block allocated by NdisallocateMemory

NDISMOVEMEMORY? Copy a specified number of bytes to another from a dispenser

NDiszeromeomory? Fill the memory block with 0

NDISINIALIZENPAGEDLOKASIDELIST? Initialize a pre-assigned list, after initialization, you can assign or go to the list of fixed-size blocks from the pre-allocated list.

NdisallocateFromNPAGEDLOOKASIDELIST? Deletes the first item from a given pre-allocated list header. If the pre-assigned list is empty, then allocate a project from an insecure page

NDISDELETENPAGEDLOOKASIDELIST? Put a missed pre-allocation list from the system

NDISFREETONPAGEDLOKASIDELIST? Returns the entry of the pre-allocated list

NDISINIALIZELISTHEAD? Initialize a sequential, interlocked, single-link table

NDISISINTERLOCKEDINSERTTAILLIST? Insert a project, usually a package, to a tail of a double-linked list, which makes it synchronized with access list in a multiprocessor security mode

NdisinterLockedRemoveHeadList? Delete a project from the header, which makes you synchronize access list in a multiprocessor security mode

Ndisinitializeslisthead? Initialize a sequential, interlocked, single-link table

NDISISINTERLOCKEDPOPENTRYSLIST? Remove the first item ndisinterlockedPushenTrySlist in a single-chain list? In one order, single-chain table head is inserted into a project

NDISQUERYDEPTHSLISLISLISLISLISLISLISLISL? Returns a given order, the number of current items in a single-link list

System information function?

NDISSYSTEMPROCESSORCOUNT? Determine its caller running on a single processor or on a multiprocessor. A NDIS driver calls this function in the initialization before the allocation resource.

NdisgetCurrentProcessorCounts? Returns the number of processors currently available, drivers use it to determine the use of CPUs

NdisgetCurrentProcessorcpuusage? Returns the current processor usage with percentage

NDISGETCURRENTSYSTEMTIME? Return to the current system time, used to set timestamp

NDISGETSYSTEMUPTIM? Returns the time value ever passed since the beginning of the system, in microseconds

Log function?

NDISMCREATELOG? Assign and open a NIC micro-port log file to write data, this file is displayed by the Win32 application provided by a driver.

NDISMWRITELOGDATA? Write the information provided by the driver to the log file for the Win32 application provided by the driver

NDISMFLUSHLOG? Clear log files

NDISMCLOSELOG? Release the resources used by the log

NDISWRITEERROLOGENTRY? Write an item to the system I / O error log file

String function?

NDISANSISTRINGTOUNICODESTRING? Transforms a given quantity ANSI string into a certain number of Unicode strings

NDISEQUALANSISTRING? Compare two ANSI strings and returns a value indicating if they are equal

NDISEQUALSTRING? Under the default character set of the operating system, compare the two strings equal

NDISEQUALUNICODESTRING? Compare two Unicode strings and return a value indicating if they are equal

NDISFREESTRING? Release the storage area assigned to cache string

NdisinitansInsInstring? Initialize an ANSI string

Ndisinitializestring? Assign a storage area for a length string, and initialize it in the system default character set.

NdisinitUnicodestring? Initializing a Unicode string

NDISPRINTSTRING? Display the specified string in the debug window

NDISUNICODESTRINGTOANSISTRING? Convert a given Unicode string to ansi string

NDisuPCaseUnicodestring? Convert a given Unicode string to uppercase form and return the converted string

File function?

NDISOPENFILE? Return to a handle that has been opened

NDISMAPFILE? If the file is not mapped, map an open file to a buffer accessed by a caller

NDISUNMAPFILE? Release a virtual address mapping of files established by ndismapfile

NDISCLOSEFILE? Release the handle returned by ndisopenfile and release the file Contex's memory when the file is released.

Address function?

NdisgetPhysicalAddResshigh? Returns a high part of a given physical address

NDISGETPHYSICALADDRESSLOW? Returns a low part of a given physical address

NDISSETPHYSICALALADDRESSHIGH? Sets a given physical address to a given value

NDISSETPHYSICALADDRESSLOW? Sets a given physical address to a given value

NDIS_PHYSICAL_ADDRESS_CONST? Initialize the static constant type of a physical address

Variable function?

NDISRETRIVEULONG? Remove a Ulong value from the source address, avoid alignment of NDISSTOREULONG? Store a ULONG value to a specified address, avoid alignment errors

NDISITERLOCKEDDULONG? Use a atomic operation to add a unsigned longage with a given unsigned integer, using a caller to synchronize the access INTEGER variable

NDisinterLockedDecrement? Use an atomic operation to reduce one

NDISISINTERLOCKEDINCREMENT? Add one atomic operation

Registration function?

NDISREADREGISTERUCHAR? Read a uchar from a memory mapping device registry

NDisreadRegisterulong? Read a ULONG from a memory mapping device registry

NDISREADREGISEERUSHORT? Read a Ushort from a memory mapping device registry

NDISWRITEREGISTERUCHAR? Write a Uchar to a memory mapping device

NDISWRITEREGISTERULONG? Write a ULONG to a memory mapping device

NDISWRITEREGISTERUSHORT? Write a USHORT to a memory mapping device

Work project function?

NDISINITIALIZEWORKITEM? When a system work thread gets control, use a caller with the environment and callback routine, initialize a work queue as an execution queue.

NDISSCHEDULEWORKITEM? Insert a given work item into a queue. A system work thread deletes the project, and will control the callback function to the NdisinitializeWorkItem pre-control.

Media-related macro provided by NDIS?

ETH_COPY_NETWORK_ADDRESS? Copy a given Ethernet address to a given position

FDDI_IS_BROADCAST? Sets the variable provided by a caller to a Boolean value, which indicates whether a given FDDI address is a broadcast address

FDDI_IS_MULTICAST? Sets the variable provided by a caller to a Boolean value, which indicates whether a given FDDI address is a multi-point transmission address.

FDDI_IS_SMT? Sets the variable provided by a caller as a Boolean value, it indicates whether a given FDDI frame is SMT

TR_COURE_NETWORK_ADDRESS? Set the variable provided by a caller to a Boolean value, indicating a given token Ring address is greater than, less than or equal to another given token Ring address

TR_COPY_NETWORK_ADDRESSES? Copy a given token Ring address to a given position

IR_IS_BROADCAST? Sets the variable provided by a caller to a Boolean value, which indicates whether a given token Ring address is a broadcast address.

TR_IS_FUNCTIONAL? Sets the variable provided by a caller to a Boolean value, indicating whether a given Token Ring address is a function address

TR_IS_GROUP? Sets the variable provided by a caller to a Boolean value, indicating whether a given Token Ring address is a set of addresses

TR_IS_NOT_DIRECTED? Sets the variable provided by a caller to a Boolean value, which indicates whether a given token Ring address is neither a function address is not a set of addresses.

TR_IS_SOURCE_ROUTING? Set the variable provided by a caller to a Boolean value, indicating whether a given token Ring address is a source routing address

转载请注明原文地址:https://www.9cbs.com/read-118122.html

New Post(0)