Export (0) Print
Expand All
COM
Expand Minimize

CoFileTimeNow function

Returns the current time as a FILETIME structure.

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

Syntax


HRESULT CoFileTimeNow(
  _Out_  FILETIME *lpFileTime
);

Parameters

lpFileTime [out]

A pointer to the FILETIME structure that receives the current time.

Return value

This function returns S_OK to indicate success.

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
CoFileTimeToDosDateTime

 

 

Community Additions

ADD
Show:
© 2014 Microsoft