Newsgroups: comp.sys.mac.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!linus!linus!news
From: laf@mitre.org (Lee Fyock)
Subject: Re: refNum from WD DirID?
Message-ID: <1991May15.160944.19184@linus.mitre.org>
Sender: news@linus.mitre.org (News Service)
Nntp-Posting-Host: asgard.mitre.org
Organization: The MITRE Corporation
References: <1991May15.125921.15058@linus.mitre.org>
Date: Wed, 15 May 1991 16:09:44 GMT

In article <1991May15.125921.15058@linus.mitre.org> laf@mitre.org (Me) 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?

Let me explain further:

I have a working directory dir ID and a refNum for an open file.  I'm
trying to find out if the given file is in the given directory.  I've tried
various incantations of PBGetWDInfo, but haven't found anything that will
give me a way to find the directory of the open file.

Any suggestions?

Thanks,
Lee Fyock
laf@mitre.org

