IBackgroundCopyJob::GetNotifyFlags method

Retrieves the event notification flags for the job.

Syntax

HRESULT GetNotifyFlags(
  [out] ULONG *pNotifyFlags
);

Parameters

pNotifyFlags [out]

Identifies the events that your application receives. The following table lists the event notification flag values.

Value Meaning
BG_NOTIFY_JOB_TRANSFERRED
All of the files in the job have been transferred.
BG_NOTIFY_JOB_ERROR
An error has occurred.
BG_NOTIFY_DISABLE
Event notification is disabled. If set, Delivery Optimization ignores the other flags.
BG_NOTIFY_JOB_MODIFICATION
The job has been modified.

Return value

This method returns the following HRESULT values, as well as others.

Return code Description
S_OK
Event notify flags were successfully retrieved.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Library
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12

See also

IBackgroundCopyJob

IBackgroundCopyCallback

IBackgroundCopyJob::GetNotifyInterface

IBackgroundCopyJob::SetNotifyFlags