WDF Register/Port Access Functions

Starting with UMDF 2.0 in Windows 8.1, UMDF drivers can use the following functions to read from and write to registers and ports.

In this section

TopicDescription

WDF_READ_PORT_BUFFER_UCHAR

The WDF_READ_PORT_BUFFER_UCHAR function reads a number of bytes from the specified port address into a buffer.

WDF_READ_PORT_BUFFER_ULONG

The WDF_READ_PORT_BUFFER_ULONG function reads a number of ULONG values from the specified port address into a buffer.

WDF_READ_PORT_BUFFER_USHORT

The WDF_READ_PORT_BUFFER_USHORT function reads a number of USHORT values from the specified port address into a buffer.

WDF_READ_PORT_UCHAR

The WDF_READ_PORT_UCHAR function reads a byte from the specified port address.

WDF_READ_PORT_ULONG

The WDF_READ_PORT_ULONG function reads a ULONG value from the specified port address.

WDF_READ_PORT_USHORT

The WDF_READ_PORT_USHORT function reads a USHORT value from the specified port address.

WDF_READ_REGISTER_BUFFER_UCHAR

The WDF_READ_REGISTER_BUFFER_UCHAR function reads a number of bytes from the specified register address into a buffer.

WDF_READ_REGISTER_BUFFER_ULONG

The WDF_READ_REGISTER_BUFFER_ULONG function reads a number of ULONG values from the specified register address into a buffer.

WDF_READ_REGISTER_BUFFER_ULONG64

The WDF_READ_REGISTER_BUFFER_ULONG64 function reads a number of ULONG64 values from the specified register address into a buffer.

WDF_READ_REGISTER_BUFFER_USHORT

The WDF_READ_REGISTER_BUFFER_USHORT function reads a number of USHORT values from the specified register address into a buffer.

WDF_READ_REGISTER_UCHAR

The WDF_READ_REGISTER_UCHAR function reads a byte from the specified register address.

WDF_READ_REGISTER_ULONG

The WDF_READ_REGISTER_ULONG function reads a ULONG value from the specified register address.

WDF_READ_REGISTER_ULONG64

The WDF_READ_REGISTER_ULONG64 function reads a ULONG64 value from the specified register address.

WDF_READ_REGISTER_USHORT

The WDF_READ_REGISTER_USHORT function reads a USHORT value from the specified register address.

WDF_WRITE_PORT_BUFFER_UCHAR

The WDF_WRITE_PORT_BUFFER_UCHAR function writes a number of bytes from a buffer to the specified port.

WDF_WRITE_PORT_BUFFER_ULONG

The WDF_WRITE_PORT_BUFFER_ULONG function writes a number of ULONG values from a buffer to the specified port address.

WDF_WRITE_PORT_BUFFER_USHORT

The WDF_WRITE_PORT_BUFFER_USHORT function writes a number of USHORT values from a buffer to the specified port address.

WDF_WRITE_PORT_UCHAR

The WDF_WRITE_PORT_UCHAR function writes a byte to the specified port address.

WDF_WRITE_PORT_ULONG

The WDF_WRITE_PORT_ULONG function writes a ULONG value to the specified port address.

WDF_WRITE_PORT_USHORT

The WDF_WRITE_PORT_USHORT function writes a USHORT value to the specified port address.

WDF_WRITE_REGISTER_BUFFER_UCHAR

The WDF_WRITE_REGISTER_BUFFER_UCHAR function writes a number of bytes from a buffer to the specified register.

WDF_WRITE_REGISTER_BUFFER_ULONG

The WDF_WRITE_REGISTER_BUFFER_ULONG function writes a number of ULONG values from a buffer to the specified register.

WDF_WRITE_REGISTER_BUFFER_ULONG64

The WDF_WRITE_REGISTER_BUFFER_ULONG64 function writes a number of ULONG64 values from a buffer to the specified register.

WDF_WRITE_REGISTER_BUFFER_USHORT

The WDF_WRITE_REGISTER_BUFFER_USHORT routine writes a number of USHORT values from a buffer to the specified register.

WDF_WRITE_REGISTER_UCHAR

The WDF_WRITE_REGISTER_UCHAR routine writes a byte to the specified address.

WDF_WRITE_REGISTER_ULONG

The WDF_WRITE_REGISTER_ULONG routine writes a ULONG value to the specified address.

WDF_WRITE_REGISTER_ULONG64

The WDF_WRITE_REGISTER_ULONG64 function writes a ULONG64 value to the specified address.

WDF_WRITE_REGISTER_USHORT

The WDF_WRITE_REGISTER_USHORT routine writes a USHORT value to the specified address.

 

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft