CoFileTimeNow

Returns the current time as a FILETIME structure.

HRESULT CoFileTimeNow(

FILETIME * lpFileTime
//Points to where to return the FILETIME structure
);

Parameter

lpFileTime

Points to where to return the FILETIME structure.

Return Values

S_OK

Indicates the current time was converted to a FILETIME structure.

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

Indicates lpFileTime is invalid.

E_UNEXPECTED

Indicates an unexpected error occurred.

E_FAIL

Indicates the current time was not converted to a FILETIME structure.

See Also

CoDosDateTimeToFileTime, CoFileTimeToDosDateTime

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database