NdisWritePortBufferUshort

VOID
    NdisWritePortBufferUshort(
        IN NDIS_HANDLE NdisAdapterHandle,
        IN ULONG Port,
        IN PUSHORT Buffer,
        IN ULONG Length
        );

NdisWritePortBufferUshort is called by the NIC driver to write USHORTs from a buffer to its NIC.

Parameters

NdisAdapterHandle
Specifies the handle that the NDIS interface library associates with the network interface card.
Port
Specifies the I/O port.
Buffer
Points to the caller-supplied buffer from which this function writes the USHORT values to Port.
Length
Specifies the number of USHORTs to write to Port.

Comments

NdisWritePortBufferUshort sequentially writes each USHORT to the port. It determines how the host accesses the I/O port and processes the write request accordingly.

Callers of NdisWritePortBufferUshort can be running at any IRQL.

See Also

NdisRawWritePortBufferUshort, NdisReadPortBufferUshort, NdisWritePortUshort