IBackgroundCopyJob::GetNotifyInterface method

Retrieves the interface pointer to your implementation of the IBackgroundCopyCallback interface.

Syntax

HRESULT GetNotifyInterface(
  [out] IUnknown **ppNotifyInterface
);

Parameters

ppNotifyInterface [out]

Interface pointer to your implementation of the IBackgroundCopyCallback interface. When done, release ppNotifyInterface.

Return value

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

Return code Description
S_OK
Notification interface pointer was 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::GetNotifyFlags

IBackgroundCopyJob::SetNotifyInterface