Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: SFGetFile Message-ID: <39667@apple.Apple.COM> Date: 20 Mar 90 11:22:33 GMT References: <3830@sage.cc.purdue.edu> <39665@apple.Apple.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 25 In article <39665@apple.Apple.COM> rdclark@Apple.COM (Richard Clark) writes: > >Now, on to the SFP statement. For the TypeList, you really do have to declare a >variable of SFTypeList and fill in 1 (or more) of the fields, then pass the >address of that structure. If you want "all files", then pass 0 for the type >count and NIL for the pointer to the type list. > Two out of three, Richard. You have to pass -1 as the count if you want "all files". >-----------------------------+----------------------------------------------- >Richard Clark | "If you don't know where you're going, >Instructor/Designer | don't go there" -- Sybalski's Law >Apple Developer University +----------------------------------------------- >AppleLink, GEnie, Delphi, MCI, Internet: rdclark CI$: 71401, 2071 > -- ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions