Windows Dev Center

COM
Expand Minimize

CoFileTimeToDosDateTime function

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Objbase.h

Library

Ole32.lib

DLL

Ole32.dll

See also

CoDosDateTimeToFileTime
CoFileTimeNow

 

 

Community Additions

ADD
Show:
© 2015 Microsoft