READ_PORT_ULONG

ULONG
    READ_PORT_ULONG(

        IN PULONG  Port
        );

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

Comments

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