Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!pt.cs.cmu.edu!henry.ece.cmu.edu!hairston From: hairston@henry.ece.cmu.edu (David Hairston) Newsgroups: comp.sys.mac.programmer Subject: Re: refNum from WD DirID? Message-ID: <13060@pt.cs.cmu.edu> Date: 15 May 91 19:53:02 GMT References: <1991May15.125921.15058@linus.mitre.org> Organization: Gaia II Lines: 18 [laf@mitre.org (Lee Fyock) writes:] [] Does anyone have an easy way to get a refNum for a directory from [] its WD Dir ID? Or even a not-so-easy way? not sure of the exact relationship between wdRefNums and vRefNums, if any, but the call GetWDInfo() will return the actual vRefNum, dirID, and procID for a given wdRefNum. GetWDInfo() is analogous to the PBGetWDInfo() call documented in Inside Mac IV - File Manager. For further details, see Tech Note 218 - New High Level File Manager Calls. using GetWDInfo() requires internal compiler support (glue) ... -dave- hairston@henry.ece.cmu.edu