TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Eric Forbes
date: 1995-12-27 03:12:00
subject: [1/2] Pfilefindbuf3

MT>  > I can fetch one file at a time.  I want to fetch more than one file at
MT>  > at time to exploit OS/2's improved file finding API's.

The FILEFINDBUF3 structure contains an offset to the next structure and
DosFindFirst/DosFindNext have a parameter, SearchCount.  Why not allocate
a buffer * N and do DosFindFirst/DosFindNext with SearchCount = N?

I've never tried it, but it appears to be what you want.

   Eric Forbes.
   Internet Address: RN.5977{at}Rose.com   or   Eric.Forbes{at}Rose.com
   Created at 03:12 on Wed 27-Dec-95

 * "Now is the WIN.ter of our disc contents." William Gatespear
___
 X RoseRdr/2  1.01a P005977

--- Maximus/2 3.00
* Origin: Sol 3 * Toronto * V.32 * (905)858-8488 (1:259/414)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 259/414 400 99 250/99 3615/50 396/1 270/101 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™.