UMDF Register/Port Access Functions

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

In this section

TopicDescription

READ_PORT_BUFFER_UCHAR

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

READ_PORT_BUFFER_ULONG

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

READ_PORT_BUFFER_USHORT

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

READ_PORT_UCHAR

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

READ_PORT_ULONG

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

READ_PORT_USHORT

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

READ_REGISTER_BUFFER_UCHAR

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

READ_REGISTER_BUFFER_ULONG

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

READ_REGISTER_BUFFER_ULONG64

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

READ_REGISTER_BUFFER_USHORT

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

READ_REGISTER_UCHAR

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

READ_REGISTER_ULONG

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

READ_REGISTER_ULONG64

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

READ_REGISTER_USHORT

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

WRITE_PORT_BUFFER_UCHAR

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

WRITE_PORT_BUFFER_ULONG

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

WRITE_PORT_BUFFER_USHORT

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

WRITE_PORT_UCHAR

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

WRITE_PORT_ULONG

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

WRITE_PORT_USHORT

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

WRITE_REGISTER_BUFFER_UCHAR

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

WRITE_REGISTER_BUFFER_ULONG

Note   Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.
 

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

WRITE_REGISTER_BUFFER_ULONG64

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

WRITE_REGISTER_BUFFER_USHORT

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

WRITE_REGISTER_UCHAR

The WRITE_REGISTER_UCHAR routine writes a byte to the specified address.

WRITE_REGISTER_ULONG

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

WRITE_REGISTER_ULONG64

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

WRITE_REGISTER_USHORT

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

 

 

 

Send comments about this topic to Microsoft

Show: