This topic has not yet been rated - Rate this topic

CoFileTimeToDosDateTime function

Applies to: desktop apps only

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

Note  This function is provided for compatibility with 16-bit Windows.

Syntax

BOOL CoFileTimeToDosDateTime(
  __in   FILETIME *lpFileTime,
  __out  LPWORD lpDosDate,
  __out  LPWORD lpDosTime
);

Parameters

lpFileTime [in]

A pointer to the FILETIME structure.

lpDosDate [out]

Receives the MS-DOS date.

lpDosTime [out]

Receives the MS-DOS time.

Return value

If the function succeeds, the return value is TRUE; otherwise, it is FALSE.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Objbase.h

Library

Ole32.lib

DLL

Ole32.dll

See also

CoDosDateTimeToFileTime
CoFileTimeNow

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ