VC_ReadIOMemoryULONG

VC_ReadIOMemoryULONG(p)

The VC_ReadIOMemoryULONG macro reads a single unsigned longword value from a device’s mapped I/O memory space.

Parameters
p
Address of the mapped I/O memory location from which data is to be copied.
Return Value

Returns the unsigned longword value read from the specified memory address.

Comments

Kernel-mode video capture drivers typically use the VC_ReadIOMemoryULONG macro to read a location within the frame buffer. Drivers can obtain the frame buffer’s base address by calling VC_GetFrameBuffer.

Using the VC_ReadIOMemoryULONG macro to read I/O space helps ensure driver portability across system platforms.