![]() |
ExtendFileTypeList |
||||
Header: | Translation.h | Carbon status: | Supported | |
Creates a list of file types that can be translated into a type in a given list.
OSErr ExtendFileTypeList ( const FileType *originalTypeList, SInt16 numberOriginalTypes, FileType *extendedTypeList, SInt16 *numberExtendedTypes );
A pointer to a list of file types that can be opened.
The number of file types in the originalTypeList parameter.
On return, a pointer to a buffer filled with file types that can be translated into the types in originalTypeList.
On input, a pointer to the maximum number of file types that can be put into the buffer passed in the extendedTypeList parameter. On return, a pointer to the actual number of file types put into the extended type list.
A result code.
Note that the number of types specified in the parameters numberOriginalTypes and numberExtendedTypes is limited only by available memory.
The Standard File Package calls this function internally; your application probably wont need to use it.
This function might cause memory to be moved or purged; you should not call it at interrupt time.
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)