![]() |
GetFileTypesThatAppCanNativelyOpen |
||||
Header: | Translation.h | Carbon status: | Supported | |
Obtains a list of file types that a application can open by itself.
OSErr GetFileTypesThatAppCanNativelyOpen ( SInt16 appVRefNumHint, OSType appSignature, FileType *nativeTypes );
The volume reference number of the volume containing the application. The search for the specified application begins on this volume; if the application isnt found there, the search continues to other mounted volumes.
The signature of the application.
On return, a pointer to an array of file types that the application can open without translation. If successful, the array contains up to 64 file types. If fewer than 64 types are returned, the end of the list is indicated by an entry whose value is 0.
A result code.
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)