WDF_READ_PORT_UCHAR function (wdfhwaccess.h)

[Applies to UMDF only]

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

Syntax

UCHAR WDF_READ_PORT_UCHAR(
  [in] WDFDEVICE Device,
  [in] PUCHAR    Port
);

Parameters

[in] Device

A handle to a framework device object.

[in] Port

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

Return value

WDF_READ_PORT_UCHAR returns the byte that is read from the specified port address.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfhwaccess.h