IBackgroundCopyGroup::SwitchToForeground method

[IBackgroundCopyGroup 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.]

Use the SwitchToForeground method to download the group in the foreground instead of the background.

Syntax

HRESULT SwitchToForeground();

Parameters

This method has no parameters.

Return value

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

Return code Description
S_OK
Successfully switched the group to foreground processing.

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header qmgr.h
DLL QmgrPrxy.dll

See also

IBackgroundCopyGroup