| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DosFindFirst |
David Etheredge wrote in a message to All:
DE> char FileFindBuf.achName[]; file name
DE> char FileFindBuf.cbFile[]; file size
Here you go: (level 1 and 2)
32-bit level 1 information (used without EAs).
typedef struct _FILEFINDBUF3 {
ULONG oNextEntryOffset; /* Offset of next entry. */
FDATE fdateCreation; /* Date of file creation. */
FTIME ftimeCreation; /* Time of file creation. */
FDATE fdateLastAccess; /* Date of last access. */
FTIME ftimeLastAccess; /* Time of last access. */
FDATE fdateLastWrite; /* Date of last write. */
FTIME ftimeLastWrite; /* Time of last write. */
ULONG cbFile; /* Size of file. */
ULONG cbFileAlloc; /* Allocation size. */
ULONG attrFile; /* File attributes. */
UCHAR cchName;
CHAR achName[CCHMAXPATHCOMP]; /* File name including null terminator. */
} FILEFINDBUF3;
typedef FILEFINDBUF3 *PFILEFINDBUF3;
32-bit level 2 information (used with EAs).
typedef struct _FILEFINDBUF4 {
ULONG oNextEntryOffset; /* Offset of next entry. */
FDATE fdateCreation; /* Date of file creation. */
FTIME ftimeCreation; /* Time of file creation. */
FDATE fdateLastAccess; /* Date of last access. */
FTIME ftimeLastAccess; /* Time of last access. */
FDATE fdateLastWrite; /* Date of last write. */
FTIME ftimeLastWrite; /* Time of last write. */
ULONG cbFile; /* Size of file. */
ULONG cbFileAlloc; /* Allocated size. */
ULONG attrFile; /* File attributes. */
ULONG cbList; /* Size of the file's extended attributes. */
UCHAR cchName; /* Length of file name. */
CHAR achName[CCHMAXPATHCOMP]; /* File name including null terminator. */
} FILEFINDBUF4;
typedef FILEFINDBUF4 *PFILEFINDBUF4;
Hope it helps!
\M
--- timEd/2 1.01.g3+
* Origin: Iron Fist (2:380/106.10)SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955 SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809 @PATH: 380/106 240/5500 396/1 270/101 105/103 42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.