Carbon


DoGetTranslatedFilenameProcPtr

Header: TranslationExtensions.h Carbon status: Unsupported

typedef ComponentResult(* DoGetTranslatedFilenameProcPtr) (
    ComponentInstance self, 
    FileType dstType, 
    SInt32 dstTypeHint, 
    FSSpec *theDocument
);

You would declare your function like this if you were to name it MyDoGetTranslatedFilenameCallback:

ComponentResult MyDoGetTranslatedFilenameCallback (
    ComponentInstance self, 
    FileType dstType, 
    SInt32 dstTypeHint, 
    FSSpec *theDocument
);
CARBON NOTES

The functions contained in TranslationExtensions.h were originally written to be used only by someone implementing a Mac Easy Open translation component. Carbon, however, is for applications and not extensions. Therefore, this function is not supported.


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