If GetFileTime() function fails, the return value is zero. To get error information, call GetLastError() function.