Kernel driver development for Pharlap ETS is a past station. You need for that the according Pharlap SDK, but Interval Zero discontinued that product at around 2013 and wants everyone to move to their RTX64 RTOS platform.
Only customers who had at that point a valid software contract for Pharlap ETS with IntervalZero could still access the SDK but the SDK was not sold to new customers anymore.
However I do believe that the Pharlap ETS system is not like Windows, where you have a privileged kernel running in Ring 0 and a user space limited to run in Ring 3.
But there is no information anymore to be found on the net about how Pharlap ETS is structured in a kernel space and user space if at all!
So it "might" be possible to execute the according CPUID or RDMSR assembly instructions directly in your shared library. Dangerous? You bet! Tricky? Of course!
So tread carefully when doing such exercises.
And no LabWindows/CVI does not support inline assembly. You have to use an external assembler to create the according object module.