How to use accelerometer data on Microsoft Surface Pro?

I noticed ofxAccelerometerHandler supports iOS and Android, but I was wondering if anyone had experience using accelerometer data on a Windows device.

Found some documentation of the Windows API:

Example code:

Has anyone seen an addon for integrating this into OF?