Carbon


InvokeTXNFindUPP

Header: MacTextEditor.h Carbon status: Supported

Calls your find callback function.

OSStatus InvokeTXNFindUPP (
    const TXNMatchTextRecord *matchData, 
    TXNDataType iDataType, 
    TXNMatchOptions iMatchOptions, 
    const void *iSearchTextPtr, 
    TextEncoding encoding, 
    TXNOffset absStartOffset, 
    ByteCount searchTextLength, 
    TXNOffset *oStartMatch, 
    TXNOffset *oEndMatch, 
    Boolean *ofound, 
    UInt32 refCon, 
    TXNFindUPP userUPP
);
function result

A result code.

DISCUSSION

You can call an invoke function rather than calling your routine directly if you want to support code portability across compiler targets. <> See the callback TXNFindProcPtr for parameter descriptions and other information.

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 7/17/2000)