CoFileTimeNow function (objbase.h)
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
[out] lpFileTime
A pointer to the FILETIME structure that receives the current time.
Return value
This function returns S_OK to indicate success.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | objbase.h (include Objbase.h) |
Library | Ole32.lib |
DLL | Ole32.dll |