You can download my contribution at Acknex Unlimited. It demonstrates how to integrate Oculus Rift (VR Headset into your game, OculusVR ): oculus.zip
Hope it's useful for someone. Because it queries data from the Oculus Rift to setup the distortion parameters, I don't think you will be able to see what it does without having an Oculus Rift connected.
initRift (used to obtain device properties) and readRift (used for head tracking) are the only dll functions. They are called by Oculus.c: * initOR calls initRift * getHeadTrackOR calls readRift
Oculus.c should be in the same folder as main.c (or your version of main.c), and Oculus.dll should be in the acknex plug-ins folder.