ReadIoSpace - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

VOID ReadIoSpace(
  ULONG  address,
  PULONG data,
  PULONG size
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdbgexts-readiospace)

ReadIoSpace function

Description

The ReadIoSpace function reads from the system I/O locations.

Parameters

address

Specifies the I/O address to read from.

data

Specifies the address of a variable to hold the data read. This must be at least the number of bytes contained in size.

size

Specifies the address of a variable that contains the number of bytes to read (1, 2, or 4 only). After the data is read, size will contain the number of bytes actually read.

Remarks

If you are writing 64-bit code, you should use ReadIoSpace64 instead. See 32-Bit Pointers and 64-Bit Pointers for details.

If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).