Updated example
Updated API on windows implementation