IBackgroundCopyCallback1 interface (qmgr.h)
[IBackgroundCopyCallback1 is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the BITS interfaces.]
Implement the IBackgroundCopyCallback1 interface to receive notification when events occur. Applications use this interface as an option to polling for the state of the group.
To receive notifications, call the IBackgroundCopyGroup::SetProp method to set the GROUPPROP_NOTIFYCLSID and GROUPPROP_NOTIFYFLAGS properties.
QMGR uses the interface pointer while it is valid (the interface pointer becomes invalid when your application exits). When your application restarts, you must reset the GROUPPROP_NOTIFYCLSID property on those groups that QMGR is still processing.
If an administrator takes ownership of the group, the notification callbacks are made in the context of the user who requested notification.
Inheritance
The IBackgroundCopyCallback1 interface inherits from the IUnknown interface. IBackgroundCopyCallback1 also has these types of members:
Methods
The IBackgroundCopyCallback1 interface has these methods.
IBackgroundCopyCallback1::OnStatus Implement the OnStatus method to receive notification when the group is complete or an error occurs. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Minimum supported server | Windows Server 2003 |
Target Platform | Windows |
Header | qmgr.h |