Get network time using Windows API, C language