WRITE_PORT_USHORT

VOID
    WRITE_PORT_USHORT(

        IN PUSHORT  Port,
        IN USHORT  Value
        );

WRITE_PORT_USHORT writes a USHORT value to the specified port address.

Parameters

Port
Points to the port, which must be a mapped memory range in I/O space.
Value
Specifies a USHORT value to be written to the port.

Comments

Callers of WRITE_PORT_USHORT can be running at any IRQL, assuming the Port is resident, mapped device memory.