共用方式為


NdisReadRegisterUchar (Compact 2013)

3/26/2014

The network adapter driver to read a UCHAR from a memory-mapped device register calls this function.

Syntax

VOID NdisReadRegisterUchar(
  PUCHAR Register,
  PUCHAR Data
);

Parameters

  • Register
    [in] Points to the memory-mapped register. This virtual address must fall in a range returned by an initialization-time call to NdisMMapIoSpace.
  • Data
    [out] Points to the caller-supplied variable in which this function returns the UCHAR read from Register.

Return Value

None.

Remarks

If a driver calls this function, its network adapter's device registers must be mapped to non-cached memory during driver initialization.

Requirements

Header

ndis.h

See Also

Reference

NDIS Register Access Interface
MiniportInitializeEx
NdisMMapIoSpace
NdisReadRegisterUlong
NdisReadRegisterUshort
NdisWriteRegisterUchar