Carbon


FolderRouting

Header: Folders.h

struct FolderRouting {
    Size descSize; 
    OSType fileType; 
    FolderType routeFromFolder; 
    FolderType routeToFolder; 
    RoutingFlags flags;
};
typedef FolderRouting FolderRoutingPtr;

Field descriptions

descSize

The size (in bytes) of this structure.

fileType

A constant of type OSType that describes the file type of the item to be routed.

routeFromFolder

The folder type identifying the folder from which an item will be routed. If an item is dropped on the folder specified in the routeFromFolder field, it will be routed to the folder described in the routeToFolder field. See “Folder Type Constants” for a list of possible values.

routeToFolder

The folder type identifying the folder to which an item will be routed; see “Folder Type Constants” for a list of possible values.

flags

Reserved. Set this field to 0.

The folder routing structure specifies the folder that files are routed to, based on the folder they are routed from. The FolderRouting structure is supported under Mac OS 8 and later.


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