Added many explicit void* casting to actual pointer for Visual Studio and implemented couple of missing functions.