IBackgroundCopyJob::GetNotifyFlags method

Retrieves the event notification flags for the job.

Syntax

HRESULT GetNotifyFlags(
  ULONG *pVal
);

Parameters

pVal

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, BITS 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.
E_INVALIDARG
Must pass the address of pNotifyFlags.

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

See Also

IBackgroundCopyCallback

IBackgroundCopyJob::GetNotifyInterface

IBackgroundCopyJob::SetNotifyFlags