| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DosFindFirst |
David Etheredge wrote in a message to All:
DE> I have been looking for the structure to the FILEFINDBUF, ...
DE> found the following:
DE> char FileFindBuf.achName[]; file name
DE> char FileFindBuf.cbFile[]; file size
DE> What other parameters are in the buffer?
DE> How about file date, time, attributes, status?
Is this what you are looking for?
For level 0x0001 and flags == 0, directory information
for FS_FINDFIRST is returned in the following format:
struct FileFindBuf {
unsigned short dateCreate;
unsigned short timeCreate;
unsigned short dateAccess;
unsigned short timeAccess;
unsigned short dateWrite;
unsigned short timeWrite;
long cbEOF;
long cbAlloc;
unsigned short attr;
unsigned char cbName;
unsigned char szName[];
}
For level 0x0001 and flags == 1, directory information
for FS_FINDFIRST is returned in the following format:
struct FileFromFindBuf {
long position; /* position given to FSD on following */
/* FS_FINDFROMNAME call */
unsigned short dateCreate;
unsigned short timeCreate;
unsigned short dateAccess;
unsigned short timeAccess;
unsigned short dateWrite;
unsigned short timeWrite;
long cbEOF;
long cbAlloc;
unsigned short attr;
unsigned char cbName;
unsigned char szName[];
}
The other information levels have similar format, with
the position the first field in the structure for flags
== 1.
DE> Where is the best place to find help on the various
DE> structures? None of the books that I have goes into a lot of
DE> structure detail and C-set workframe is definately minimal
DE> on the help aspect.
The above information comes directly from the IFS/FSD specification.
DE> Also, is there a service function list for OS/2 available
DE> similar to INTER44?
If you find one, I would like to know about it. IBM does document OS/2
quite thoroughly, though, so I have always been fairly happy with the
official stuff.
-- Mike
---
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)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: 323/107 150 3615/50 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™.