Changed VS2012 project output type to DLL.
Changed test main.cpp -> main.c, and verified full C compatibility.
Somewhat working implementation of capability querying.