Functions updates and additions

This code is untested due to my lack of Windows 8 and the fact that something went wrong with the DLL when I tried, but I believe everything added follows the API documentation