libport: Add a replacement implementation for strnlen.
[wine.git] / include / bits3_0.idl
blob4c786e6c20d3446abe494072fdeddd8bc13eaa6e
1 /*
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
22 #ifndef DO_NO_IMPORTS
23 import "bits.idl";
24 import "bits2_0.idl";
25 #endif
28 uuid(659cdeac-489e-11d9-a9cd-000d56965251),
29 odl
31 interface IBackgroundCopyCallback2 : IBackgroundCopyCallback
33 HRESULT FileTransferred([in] IBackgroundCopyJob *job,
34 [in] IBackgroundCopyFile *file);
38 uuid(659cdeae-489e-11d9-a9cd-000d56965251),
39 odl
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),
57 lcid(0x0000),
58 version(1.0)
60 library BackgroundCopyManager3_0
63 uuid(659cdea7-489e-11d9-a9cd-000d56965251)
65 coclass BackgroundCopyManager3_0
67 [default] interface IBackgroundCopyManager;
70 interface IBackgroundCopyJob4;