// wdbgexts.h
VOID WriteIoSpace64(
ULONG64 address,
ULONG data,
PULONG size
);
View the official Windows Driver Kit DDI referenceNo description available.
The WriteIoSpace64 function writes to the system I/O locations.
addressSpecifies the I/O address to write to.
dataSpecifies the address of a variable that holds the data to write. This must be at least the number of bytes contained in size.
sizeSpecifies the address of a variable that contains the number of bytes to write. Size must be 1, 2, or 4. After the data is written, size will contain the number of bytes actually written.
If you are writing 32-bit code, you should use WriteIoSpace instead. See 32-Bit Pointers and 64-Bit Pointers for details.
For a WdbgExts extension, include wdbgexts.h. For a DbgEng extension, include wdbgexts.h before dbgeng.h. See Writing DbgEng Extension Code for details.