![]() |
NewURLNotifyUPP |
||||
Header: | URLAccess.h | Carbon status: | Supported | |
Creates a UPP to your data transfer event notification callback.
URLNotifyUPP NewURLNotifyUPP ( URLNotifyProcPtr userRoutine );
A pointer to your data transfer event notification callback. For information on how to write your callback, see URLNotifyProcPtr.
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.
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.
When you are finished with your data transfer event notification callback, you should dispose of the UPP by calling the function DisposeURLNotifyUPP.
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)