Freigeben über


NdisRawWritePortBufferUchar (Compact 2013)

3/26/2014

This function writes a specified number of bytes from a caller-supplied buffer to a given I/O port.

Syntax

VOID NdisRawWritePortBufferUchar(
    ULONG Port,
  PUCHAR Buffer,
  ULONG Length
);

Parameters

  • Port
    [in] Specifies the I/O port. This address falls in a range that was mapped during initialization with the NdisMRegisterIoPortRange function.
  • Buffer
    [in] Pointer to a caller-allocated resident buffer that contains the bytes to be written.
  • Length
    [in] Specifies the number of bytes to write to the I/O port.

Return Value

None.

Remarks

A miniport driver calls NdisRawWritePortBufferUchar to transfer a sequence of bytes, one at a time, to a network adapter.

NdisRawWritePortBufferUchar runs fast because it does not have to map a bus-relative port address onto a host-dependent logical port address at every call.

Requirements

Header

ndis.h

See Also

Reference

NDIS I/O Port Raw Interface
MiniportInitializeEx
NdisMRegisterIoPortRange
NdisRawReadPortBufferUchar
NdisRawWritePortBufferUlong
NdisRawWritePortBufferUshort
NdisRawWritePortUchar