home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18333 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!sol.ctr.columbia.edu!hliu
  3. From: hliu@eniac.cs.oberlin.edu (Hsing-Kang Liu)
  4. Subject: about PBGetCatInfo in file manager
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: Oberlin College Computer Science
  7. Date: Thu, 12 Nov 1992 21:44:03 GMT
  8. Message-ID: <HLIU.92Nov12164404@eniac.cs.oberlin.edu>
  9. Distribution: comp.sys.mac.programmer
  10. X-Posted-From: eniac.cs.oberlin.edu
  11. NNTP-Posting-Host: sol.ctr.columbia.edu
  12. Lines: 12
  13.  
  14. I am trying to use the function PBgetCatInfo,
  15.  
  16. In the Inside Mac IV  page 156 says that if ioFDIRIndex is negative, the file manager ignores ioNamePtr and returns information about the directory specified by ioDirID.  I have assigned ioNamePtr pointed to a null string, ioFDIRIndex:=-1, and iovrefnum:=-1, I am not able to get the info about the directory or files specified by ioDirID.  I am keeping getting and error -43 can anyone tell me what is wrong here?
  17.  
  18. What I really need to get is the parent dirID from the current dirID and the name of the current dirID with only knowing the current dirID and iovrefnum.  
  19.  
  20. Thanks
  21.  
  22. Kevin
  23.  
  24. hliu@occs.cs.oberlin.edu
  25.  
  26.