Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure describes a file found by the CeFindAllFiles (RAPI)function.
typedef struct _CE_FIND_DATA { DWORD dwFileAttributes ; FILETIME ftCreationTime ; FILETIME ftLastAccessTime ; FILETIME ftLastWriteTime ; DWORD nFileSizeHigh ; DWORD nFileSizeLow ; DWORD dwOID ; WCHAR cFileName[MAX_PATH] ; } CE_FIND_DATA;
Members
Value | Description |
---|---|
FILE_ATTRIBUTE_ARCHIVE | The file is an archive file. Applications use this value to mark files for backup or removal. |
FILE_ATTRIBUTE_COMPRESSED | The file or directory is compressed. For a file, this means that all of the data in the file is compressed. For a directory, this means that compression is the default for newly created files and subdirectories. |
FILE_ATTRIBUTE_DIRECTORY | The file is a directory. |
FILE_ATTRIBUTE_HAS_CHILDREN | The directory has subdirectories. |
FILE_ATTRIBUTE_HIDDEN | The file is hidden. It is not included in an ordinary directory listing. |
FILE_ATTRIBUTE_INROM | This file is an operating system file stored in ROM. These files are read-only; they cannot be modified. |
FILE_ATTRIBUTE_NORMAL | The file has no other attributes set. This value is valid only if used alone. |
FILE_ATTRIBUTE_READONLY | The file is read-only. Applications can read the file but cannot write to it or delete it. |
FILE_ATTRIBUTE_ROMMODULE | This file is an operating system file stored in ROM, designed to execute in place. In other words, code from this file is executed directly from ROM, rather than being first copied to RAM. The CreateFilefunction cannot be used to access this file, instead the LoadLibraryand CreateProcesswcesdkrCreateProcess functions must be used. |
FILE_ATTRIBUTE_SYSTEM | The file is part of the operating system or is used exclusively by it. |
FILE_ATTRIBUTE_TEMPORARY | The file is being used for temporary storage. Applications should write to the file only if absolutely necessary. Most of the file's data remains in memory without being flushed to the media because the file will soon be deleted. |
Requirements
Runs On | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Rapi.h |
See Also
CeFindAllFiles (RAPI), CreateFile, CreateProcess, LoadLibrary, FILETIME