Back to the WFC main page

CFileTime : FILETIME

$Revision: 28 $

Description

This class encapsulates the FILETIME data structure in Win32. The benefit from doing this is adding capability to convert between tons of other time types.

Data Members

Whatever is in FILETIME.

Constructors

CFileTime()
CFileTime( const CFileTime& source )
CFileTime( const CSystemTime& source )
CFileTime( WORD ms_dos_date, WORD ms_dos_time )
CFileTime( const FILETIME * source )
CFileTime( const SYSTEMTIME * source )
These should just about do the job of constructing a new CFileTime.

Methods

LONG Compare( const CFileTime& source )
Returns the same values as CString::Compare().
void Copy( const CFileTime& source )
void Copy( const CSystemTime& source )
void Copy( WORD ms_dos_date, WORD ms_dos_time )
void Copy( const FILETIME * source )
void Copy( const SYSTEMTIME * source )
Sets the time to what you specify, you can copy another CFileTime, CSystemTime, FILETIME, SYSTEMTIME or an MS-DOS date/time.
void Empty( void )
Clears the data members.

Example

Sorry.

API's Used

CFileTime uses the following API's:
Copyright, 2000, Samuel R. Blackburn
$Workfile: CFileTime.CPP $
$Modtime: 1/04/00 5:11a $