Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!umd5!purdue!decwrl!nsc!voder!apple!darin From: darin@Apple.COM (Darin Adler) Newsgroups: comp.sys.mac.programmer Subject: Re: PBHGetFInfo modifies ioDirID Message-ID: <8998@apple.Apple.Com> Date: 27 Apr 88 01:15:28 GMT References: <3691@sdcc6.ucsd.EDU> Reply-To: darin@apple.UUCP (Darin Adler) Organization: Apple Lines: 10 In article <3691@sdcc6.ucsd.EDU> ir10@sdcc6.ucsd.EDU (Donald R. Fredkin) writes: > Does anyone know why PBHGetFInfo modifies the field ioDirID in the > HParamBlockRec it is given? What, if anything, is the significance > of modified value? The value returned in ioDirID is the id of the parent directory of the file, i.e. the directory that contains it. This can be useful if you passed a working directory in the ioVRefNum field. -- Darin Adler AppleLink:Adler4 UUCP: {sun,voder,nsc,mtxinu,dual}!apple!darin CSNET: darin@Apple.com