# CoFileTimeToDosDateTime

Converts a FILETIME into MS-DOS date and time values.

BOOL CoFileTimeToDosDateTime(

FILETIME * lpFileTime, | //Pointer to the structure to be converted
LPWORD lpDosDate, | //Pointer to the 16-bit MS-DOS date
LPWORD lpDosTime | //Pointer to the 16-bit MS-DOS time
); |

Parameters

lpFileTime
  [in] Pointer to the FILETIME structure to be converted.
lpDosDate
  [out] Pointer to the 16-bit MS-DOS date.
lpDosTime
  [out] Pointer to the 16-bit MS-DOS time.

Return Values

TRUE
  The FILETIME structure was converted successfully.
FALSE
  The FILETIME structure was not converted successfully.

Remarks

This is the inverse of the operation provided by the CoDosDateTimeToFileTime function.

See Also

CoDosDateTimeToFileTime, CoFileTimeNow