Carbon


RemoveFolderDescriptor

Header: Folders.h Carbon status: Supported

Deletes the specified folder descriptor entry from the system folder list.

OSErr RemoveFolderDescriptor (
    FolderType foldType
);
Parameter descriptions
foldType

Pass a constant identifying the type of the folder for which you wish to remove a descriptor. See “Folder Type Constants”.

function result

A result code.

DISCUSSION

Once a folder descriptor has been removed, the function FindFolder will no longer be able to locate the folder type.

VERSION NOTES

This function is supported under Mac OS 8 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)