Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::filesys::GetFileTimeAndSize Function
C++
FILESYS_PROC _32 FILESYS_API GetFileTimeAndSize(CTEXTSTR name, LPFILETIME lpCreationTime, LPFILETIME lpLastAccessTime, LPFILETIME lpLastWriteTime, int * IsDirectory);
Parameters 
Description 
CTEXTSTR name 
name of the file to get information about 
LPFILETIME lpCreationTime 
pointer to a FILETIME type to get creation time. can be NULL. 
LPFILETIME lpLastAccessTime 
pointer to a FILETIME type to get access time. can be NULL. 
LPFILETIME lpLastWriteTime 
pointer to a FILETIME type to get write time. can be NULL. 
int * IsDirectory 
pointer to a LOGICAL to receive indicator whether the file was a directory. can be NULL. 

Returns the size of the file. or -1 if the file did not exist.

An extended function, which returns a _64 bit time appropriate for the current platform. This is meant to replace 'stat'. It can get all commonly checked attributes of a file.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!