WDF_READ_PORT_BUFFER_UCHAR function (wdfhwaccess.h)

[Applies to UMDF only]

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

Syntax

void WDF_READ_PORT_BUFFER_UCHAR(
  [in]  WDFDEVICE Device,
  [in]  PUCHAR    Port,
  [out] PUCHAR    Buffer,
  [in]  ULONG     Count
);

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.

[out] Buffer

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

[in] Count

Specifies the number of bytes to be read into the buffer.

Return value

None

Requirements

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