[comp.sys.mac.programmer] PBSetCatInfo question

sam@uhura.neoucom.EDU (Scott A. Mason) (10/15/90)

I'm writing a disk copy utility for the distribution of a program I've written,
and have had some problems getting PBSetCatInfo to set the window position
and size of the root directory.  The routine is as follows:
	DIFormat	/* parameters not listed */
	DIVerify
	DIZero
	DIUnload
	PBGetCatInfo	/* for the root directory */
	set rectangle in dirInfo.ioDrUsrWds.frRect
	PBSetCatInfo
which does not set the directory info leaving it the same as after DIZero was
called an nothing else.  The hitch here is that if I insert an already formatted
disk and do not call any of the format calls, the directory is perfect.  So,
what does the format do to make the PBSetCatInfo not set the directory info.
(OSErr returned from PBSetCatInfo was noErr in all cases)
Thanks in advance for any help.
-- 
--------------------------------------------------------------------------------
"If it ain't broke, don't fix it," and certainly don't blame me.
UUCP:  {pitt,lll-winken,usenet,aablue}!neoucom!sam   INTERNET:  sam@neoucom.EDU
Scott A. Mason, Coordinator of Systems Operations, NEOUCOM