Accessing Video Capture Hardware, Using VCKernel.lib

After a kernel-mode video capture driver’s DriverEntry function has called VC_GetResources, which maps the device’s I/O address space and frame buffer into system address space, the driver can use VCKernel.lib functions and macros to access device hardware. The following functions read or write the device’s port address space:
VC_In 

VC_Out

The following macros are useful for reading or writing the device’s frame buffer:
VC_ReadIOMemoryBlock 

VC_ReadIOMemoryBYTE 

VC_ReadIOMemoryULONG 

VC_ReadIOMemoryUSHORT 

VC_WriteIOMemoryBlock 

VC_WriteIOMemoryBYTE 

VC_WriteIOMemoryULONG 

VC_WriteIOMemoryUSHORT