Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!bbn!rochester!pt.cs.cmu.edu!andrew.cmu.edu!jv0l+ From: jv0l+@andrew.cmu.edu (Justin Chris Vallon) Newsgroups: comp.sys.mac.programmer Subject: Re: PBHGetFInfo modifies ioDirID Message-ID: Date: 23 Apr 88 14:56:12 GMT Organization: Carnegie Mellon Lines: 11 In-Reply-To: <3691@sdcc6.ucsd.EDU> [question about why ioDirID is modified in HGetFileInfo] "When returned from a routine, ioDirID contains the file number of a file; most programmers needn't be concerned with file numbers, but those interested can read ..." - IM IV-122 It really is buried away in the docs, but there you have it. Note also that you'll end up resetting the dirId after each iteration when doing a directory search, but you knew that already ;-> It's a hack, but I guess making the paramBlock 4 bytes longer isn't something they wanted to do. -Justin