NdisWriteRegisterUchar macro (ndis.h)

NdisWriteRegisterUchar is called by the miniport driver to write a UCHAR to a memory-mapped device register.

Syntax

void NdisWriteRegisterUchar(
  [in]  Register,
  [in]  Data
);

Parameters

[in] Register

Pointer to the memory-mapped register. This virtual address must fall within a range returned by an initialization-time call to NdisMMapIoSpace.

[in] Data

Specifies the caller-supplied UCHAR that this function transfers to the Register .

Return value

None

Remarks

If a driver calls this function, a NIC's device registers must be mapped to noncached memory during driver initialization.

Requirements

Requirement Value
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisWriteRegisterUchar (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisWriteRegisterUchar (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
IRQL Any level

See also

MiniportInitializeEx

NdisMMapIoSpace

NdisReadRegisterUchar

NdisWriteRegisterUlong

NdisWriteRegisterUshort