// wdfhwaccess.h
USHORT WDF_READ_PORT_USHORT(
[in] WDFDEVICE Device,
[in] PUSHORT Port
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to UMDF only]
The WDF_READ_PORT_USHORT function reads a USHORT value from the specified port address.
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.
WDF_READ_PORT_USHORT returns the USHORT value that is read from the specified port address.