Carbon


DrawHookProcPtr

Header: TextEdit.h Carbon status: Not Recommended

typedef void(* DrawHookProcPtr) (
    UInt16 textOffset, 
    UInt16 drawLen, 
    void *textBufferPtr, 
    TEPtr pTE, 
    TEHandle hTE
);

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

void MyDrawHookCallback (
    UInt16 textOffset, 
    UInt16 drawLen, 
    void *textBufferPtr, 
    TEPtr pTE, 
    TEHandle hTE
);

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