A Windows API implementation
