ReactOS  0.4.15-dev-1177-g6cb3b62
bits2_0.idl
Go to the documentation of this file.
1 /*
2  * Background Intelligent Transfer Service (BITS) 2.0 interface
3  *
4  * Copyright 2015 Hans Leidekker for CodeWeavers
5  *
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.
10  *
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.
15  *
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
19  *
20  */
21 
22 #ifndef DO_NO_IMPORTS
23 import "bits.idl";
24 import "bits1_5.idl";
25 #endif
26 
27 cpp_quote("#define BG_COPY_FILE_OWNER 1")
28 cpp_quote("#define BG_COPY_FILE_GROUP 2")
29 cpp_quote("#define BG_COPY_FILE_DACL 4")
30 cpp_quote("#define BG_COPY_FILE_SACL 8")
31 cpp_quote("#define BG_COPY_FILE_ALL 15")
32 
33 cpp_quote("#define BG_LENGTH_TO_EOF (UINT64)(-1)")
34 
35 typedef struct _BG_FILE_RANGE
36 {
40 
41 [
42  uuid(443c8934-90ff-48ed-bcde-26f5c7450042),
43  odl
44 ]
46 {
48  [in] LPCWSTR OldPrefix,
49  [in] LPCWSTR NewPrefix);
50 
52  [in] LPCWSTR RemoteUrl,
53  [in] LPCWSTR LocalName,
54  [in] DWORD RangeCount,
55  [in, size_is(RangeCount)] BG_FILE_RANGE Ranges[]);
56 
58  [in] DWORD Flags);
59 
61  [out, ref] DWORD *Flags);
62 }
63 
64 [
65  uuid(83e81b93-0873-474d-8a8c-f2018b1a939c),
66  odl
67 ]
69 {
71  [in, out, unique] DWORD *RangeCount,
72  [out, size_is(, *RangeCount)] BG_FILE_RANGE **Ranges);
73 
75  LPCWSTR Val);
76 }
77 
78 [
79  uuid(2289a9af-dc96-486e-b268-89c9e3397c3d),
80  version(1.0)
81 ]
83 {
84  [
85  uuid(6d18ad12-bde3-4393-b311-099c346e6df9)
86  ]
88  {
89  [default] interface IBackgroundCopyManager;
90  };
91 
92  interface IBackgroundCopyCallback;
93  interface IBackgroundCopyJob3;
94  interface IBackgroundCopyFile2;
95 }
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HRESULT AddFileWithRanges([in] LPCWSTR RemoteUrl, [in] LPCWSTR LocalName, [in] DWORD RangeCount, [in, size_is(RangeCount)] BG_FILE_RANGE Ranges[])
FT_Library library
Definition: cffdrivr.c:654
Definition: send.c:48
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
HRESULT ReplaceRemotePrefix([in] LPCWSTR OldPrefix, [in] LPCWSTR NewPrefix)
#define e
Definition: ke_i.h:82
static const WCHAR version[]
Definition: asmname.c:66
HRESULT SetRemoteName(LPCWSTR Val)
HRESULT SetFileACLFlags([in] DWORD Flags)
#define d
Definition: ke_i.h:81
LONG HRESULT
Definition: typedefs.h:79
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
BG_LENGTH_TO_EOF(UINT64) struct _BG_FILE_RANGE BG_FILE_RANGE
HRESULT GetFileACLFlags([out, ref] DWORD *Flags)
coclass TestTypelib::Coclass3 odl
UINT64 InitialOffset
Definition: bits2_0.idl:37
GLuint in
Definition: glext.h:9616
HRESULT GetFileRanges([in, out, unique] DWORD *RangeCount, [out, size_is(, *RangeCount)] BG_FILE_RANGE **Ranges)
unsigned long long UINT64
EXTENT_DATA * ed
Definition: write.c:2804
UINT64 Length
Definition: bits2_0.idl:38