READ_PORT_ULONG routine

The READ_PORT_ULONG routine reads a ULONG value from the specified port address.

Syntax


ULONG READ_PORT_ULONG(
  _In_  PULONG Port
);

Parameters

Port [in]

Specifies the port address, which must be a mapped range in I/O space.

Return value

READ_PORT_ULONG returns the ULONG value that is read from the specified port address.

Remarks

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

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Hal.lib

IRQL

Any level (see Remarks section)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft