WDF_READ_PORT_BUFFER_USHORT function

[Applies to UMDF only]

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

Syntax

void WDF_READ_PORT_BUFFER_USHORT(
  WDFDEVICE Device,
  PUSHORT   Port,
  PUSHORT   Buffer,
  ULONG     Count
);

Parameters

Device

A handle to a framework device object.

Port

Specifies the port address, which must be a mapped memory range in I/O space.

Buffer

A pointer to a buffer into which an array of USHORT values is read.

Count

Specifies the number of USHORT values to be read into the buffer.

Return Value

This function does not return a value.

Requirements

   
Windows version Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfhwaccess.h