READ_REGISTER_ULONG

ULONG
READ_REGISTER_ULONG(

IN PULONG Register
);

READ_REGISTER_ULONG reads a ULONG 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_ULONG returns the ULONG value read from the specified register address.

Comments

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