次の方法で共有


NdisReadRegisterUchar (Windows Embedded CE 6.0)

1/6/2010

The NIC 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 within 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 NIC's device registers must be mapped to non-cached memory during driver initialization.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisMMapIoSpace
NdisReadRegisterUlong
NdisReadRegisterUshort
NdisWriteRegisterUchar