VC_ReadIOMemoryUSHORT(p)
The VC_ReadIOMemoryUSHORT macro reads a single unsigned word value from a device’s mapped I/O memory space.
Returns the unsigned word value read from the specified memory address.
Kernel-mode video capture drivers typically use the VC_ReadIOMemoryUSHORT 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_ReadIOMemoryUSHORT macro to read I/O space helps ensure driver portability across system platforms.