Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.92 KB

nf-wdbgexts-readiospaceex.md

File metadata and controls

80 lines (60 loc) · 2.92 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdbgexts.ReadIoSpaceEx
ReadIoSpaceEx function (wdbgexts.h)
The ReadIoSpaceEx function is an extended version of ReadIoSpace.
debugger\readiospaceex.htm
debugger
05/03/2018
ReadIoSpaceEx function
ReadIoSpaceEx, ReadIoSpaceEx function [Windows Debugging], WdbgExts_Ref_96fa3635-35d1-4d58-835a-96754480170a.xml, debugger.readiospaceex, wdbgexts/ReadIoSpaceEx
wdbgexts.h
Wdbgexts.h, Dbgeng.h
Desktop
Windows
ReadIoSpaceEx
wdbgexts/ReadIoSpaceEx
APIRef
kbSyntax
HeaderDef
wdbgexts.h
ReadIoSpaceEx

ReadIoSpaceEx function

-description

The ReadIoSpaceEx function is an extended version of ReadIoSpace. It reads not only the system I/O locations, but also I/O locations on a bus. ReadIoSpace works like ReadIoSpaceEx, except that it defaults interfacetype to ISA, busnumber to zero, and addressspace to 1.

-parameters

-param address

Specifies the I/O address to read from.

-param data

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

-param size

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

-param interfacetype

Specifies the type of interface on which the extended I/O space exists. Possible values include ISA, EISA, and MCA. For more information, see ntddk.h, which is available as part of Windows Driver Kit.

-param busnumber

Specifies the number of the bus on which the extended I/O space exists. This is typically zero, unless there is more than one bus of a given type.

-param addressspace

This is typically 1.

-remarks

If you are writing 64-bit code, you should use ReadIoSpaceEx64 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).