These look like headers that are part of the Windows DDK. CVI was not designed for creating drivers that run in kernel mode, it is meant only for user mode application development. The CVI run-time is not capable of running under kernel mode.
I doubt you will be able to use the functions in these headers from CVI since they include inline assembly ( the __asm error you got) and make use of other constructs that CVI does not support.
If you want to be able to program a USB device from CVI, you might consider using
VISA for this. This is a low level way to communicate to usb and is great for creating device drivers.
Bilal
Bilal Durrani
NI