CoFileTimeNow

This function returns the current time as a FILETIME structure.

HRESULT CoFileTimeNow(
  FILETIME* lpFileTime 
);

Parameters

  • lpFileTime
    [out] Pointer to return the FILETIME structure.

Return Values

  • S_OK
    The current time was converted to a FILETIME structure.

Remarks

To determine whether the platform supports this function, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Objbase.h.
Link Library: Ole32.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.