READ_REGISTER_USHORT

USHORT
    READ_REGISTER_USHORT(

        IN PUSHORT  Register
        );

READ_REGISTER_USHORT reads a USHORT value from the specified register address.

Parameters

Register
Points to the register address, which must be a mapped range in memory space.

Return Value

READ_REGISTER_USHORT returns the USHORT value read from the specified register address.

Comments

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