WDF_READ_PORT_USHORT function

[Applies to UMDF only]

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

Syntax


USHORT WDF_READ_PORT_USHORT(
  _In_  WDFDEVICE Device,
  _In_  PUSHORT Port
);

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.

Requirements

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdfhwaccess.h

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft