READ_PORT_UCHAR function

The READ_PORT_UCHAR routine reads a byte from the specified port address.

Syntax

NTHALAPI UCHAR READ_PORT_UCHAR(
  PUCHAR Port
);

Parameters

Port

Return Value

READ_PORT_UCHAR returns the byte that is read from the specified port address.

Remarks

Callers of READ_PORT_UCHAR can be running at any IRQL, assuming the Port is resident, mapped device memory.

Requirements

   
Windows version Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Ioaccess.h, Miniport.h)
Library Hal.lib
IRQL Any level (see Remarks section)