VC_WriteIOMemoryUSHORT

VC_WriteIOMemoryUSHORT(p, w)

The VC_WriteIOMemoryUSHORT macro writes an unsigned word into a device’s mapped I/O memory space.

Parameters

p

Address of the mapped I/O memory location into which data is to be copied.

w

Unsigned word value to be written.

Return Value

None.

Comments

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

Using the VC_WriteIOMemoryUSHORT macro to write into I/O space helps ensure driver portability across system platforms.