Added rest of the functions for Windows