Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
PutAwayVolumes
Last Revision: | Version 1.0, 2003-01-14 Demonstrates several ways to unmount a volume and which contexts might require which techniques. |
Build Requirements: | |
Runtime Requirements: | Carbon System 7.0 |
This code sample demonstrates several ways to unmount a volume. o Call MoreFiles and have it take its best shot. o Augment MoreFiles with a little Finder-style interface and some strategic trash-emptying. o Send an AppleEvent to Finder and have it do the whole thing. A real strategy might use all of the above depending on its context. The sample discusses which contexts might require which techniques. Requirements: System 7.0 Keywords: unmount, put away, Finder Apple Events, MoreFiles
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14