IBackgroundCopyGroup::SwitchToForeground method (qmgr.h)

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


HRESULT SwitchToForeground();

Return value

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

Return code Description
Successfully switched the group to foreground processing.


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

See also