USHORT
READ_PORT_USHORT(
IN PUSHORT Port
);
READ_PORT_USHORT reads a USHORT value from the specified port address.
Parameters
Port
Points to the port address, which must be a mapped range in I/O space.
Return Value
READ_PORT_USHORT returns the USHORT value read from the specified port address.
Comments
Callers of READ_PORT_USHORT can be running at any IRQL, assuming the Port is resident, mapped device memory.