2 * Background Intelligent Transfer Service (BITS) 3.0 interface
4 * Copyright 2013 Nikolay Sivov for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
28 uuid(659cdeac
-489e-11d9
-a9cd
-000d56965251
),
31 interface IBackgroundCopyCallback2
: IBackgroundCopyCallback
33 HRESULT FileTransferred
([in] IBackgroundCopyJob
*job
,
34 [in] IBackgroundCopyFile
*file
);
38 uuid(659cdeae
-489e-11d9
-a9cd
-000d56965251
),
41 interface IBackgroundCopyJob4
: IBackgroundCopyJob3
43 cpp_quote
("#define BG_JOB_ENABLE_PEERCACHING_CLIENT 0x0001")
44 cpp_quote
("#define BG_JOB_ENABLE_PEERCACHING_SERVER 0x0002")
45 cpp_quote
("#define BG_JOB_DISABLE_BRANCH_CACHE 0x0004")
47 HRESULT SetPeerCachingFlags
(DWORD flags
);
48 HRESULT GetPeerCachingFlags
([out, ref] DWORD
*flags
);
49 HRESULT GetOwnerIntegrityLevel
([out, ref] ULONG
*level
);
50 HRESULT GetOwnerElevationState
([out, ref] BOOL
*elevated
);
51 HRESULT SetMaximumDownloadTime
(ULONG timeout
);
52 HRESULT GetMaximumDownloadTime
([out,ref] ULONG
*timeout
);
56 uuid(659cdea6
-489e-11d9
-a9cd
-000d56965251
),
60 library BackgroundCopyManager3_0
63 uuid(659cdea7
-489e-11d9
-a9cd
-000d56965251
)
65 coclass BackgroundCopyManager3_0
67 [default] interface IBackgroundCopyManager
;
70 interface IBackgroundCopyJob4
;