VC_ReadIOMemoryBYTE

VC_ReadIOMemoryBYTE(p)

The VC_ReadIOMemoryBYTE macro reads a single byte 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 byte value read from the specified memory address.

Comments

Kernel-mode video capture drivers typically use the VC_ReadIOMemoryBYTE 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_ReadIOMemoryBYTE macro to read I/O space helps ensure driver portability across system platforms.