Specifies the type of event notification you want to receive, such as job transferred events.
HRESULT SetNotifyFlags( [in] ULONG NotifyFlags );
Set one or more of the following flags to identify the events that you want to receive.
All of the files in the job have been transferred.
An error has occurred.
The job has been modified. For example, a property value changed, the state of the job changed, or progress is made transferring the files. This flag is ignored if command line notification is specified.
A file in the job has been transferred. This flag is ignored if command line notification is specified.
This method returns the following HRESULT values, as well as others.
||Type of event notification was successfully set.
||The state of the job cannot be BG_JOB_STATE_CANCELLED or BG_JOB_STATE_ACKNOWLEDGED.
Use the SetNotifyFlags method in conjunction with the IBackgroundCopyJob::SetNotifyInterface.
|Minimum supported client
||Windows 10, version 1709 [desktop apps only]
|Minimum supported server
||Windows Server, version 1709 [desktop apps only]
||IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12