Untested shared implementation for windows

Added the shared interface for Windows (test and debug in the next
cycle)