Carbon


NewURLNotifyUPP

Header: URLAccess.h Carbon status: Supported

Creates a UPP to your data transfer event notification callback.

URLNotifyUPP NewURLNotifyUPP (
    URLNotifyProcPtr userRoutine
);
Parameter descriptions
userRoutine

A pointer to your data transfer event notification callback. For information on how to write your callback, see URLNotifyProcPtr.

function result

A UPP to your data transfer event notification callback. You can register your callback by passing this UPP in the notifyProc parameter of the function URLOpen.

DISCUSSION

The NewURLNotifyUPP function creates a pointer to your data transfer event notification callback. You pass a pointer to your callback in the notifyProc parameter of the function URLOpen if you want your application to receive data transfer events. Pass a bitmask in the eventRegister parameter of URLOpen indicating which data transfer events you want to receive.

SPECIAL CONSIDERATIONS

When you are finished with your data transfer event notification callback, you should dispose of the UPP by calling the function DisposeURLNotifyUPP.

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)