WDF_READ_PORT_USHORT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfhwaccess.h

USHORT WDF_READ_PORT_USHORT(
  [in] WDFDEVICE Device,
  [in] PUSHORT   Port
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfhwaccess-wdf_read_port_ushort)

WDF_READ_PORT_USHORT function

Description

[Applies to UMDF only]

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

Parameters

Device [in]

A handle to a framework device object.

Port [in]

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

Return value

WDF_READ_PORT_USHORT returns the USHORT value that is read from the specified port address.