wined3d: Rename resource_acquire to resource_reference.
[wine.git] / include / bits5_0.idl
blob2d655e1cad61b41b6f7f92660be666cfd5b4c510
1 /*
2 * Background Intelligent Transfer Service (BITS) 5.0 interface
4 * Copyright 2020 Aaron Hill
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 "bits1_5.idl";
25 import "bits2_0.idl";
26 import "bits2_5.idl";
27 import "bits3_0.idl";
28 #endif
30 cpp_quote("#define BITS_COST_STATE_TRANSFER_ALWAYS 0x800000ff")
33 uuid(e847030c-bbba-4657-af6d-484aa42bf1fe),
34 odl
36 interface IBackgroundCopyJob5: IBackgroundCopyJob4
38 typedef enum {
39 BITS_JOB_PROPERTY_ID_COST_FLAGS = 1,
40 BITS_JOB_PROPERTY_NOTIFICATION_CLSID = 2,
41 BITS_JOB_PROPERTY_DYNAMIC_CONTENT = 3,
42 BITS_JOB_PROPERTY_HIGH_PERFORMANCE = 4,
43 BITS_JOB_PROPERTY_MAX_DOWNLOAD_SIZE = 5,
44 BITS_JOB_PROPERTY_USE_STORED_CREDENTIALS = 7,
45 BITS_JOB_PROPERTY_MINIMUM_NOTIFICATION_INTERVAL_MS = 9,
46 BITS_JOB_PROPERTY_ON_DEMAND_MODE = 10,
47 } BITS_JOB_PROPERTY_ID;
49 typedef union _BITS_JOB_PROPERTY_VALUE {
50 DWORD Dword;
51 GUID ClsID;
52 BOOL Enable;
53 UINT64 Uint64;
54 BG_AUTH_TARGET Target;
55 } BITS_JOB_PROPERTY_VALUE;
57 HRESULT SetProperty(BITS_JOB_PROPERTY_ID id, BITS_JOB_PROPERTY_VALUE value);
58 HRESULT GetProperty(BITS_JOB_PROPERTY_ID id, [out, ref] BITS_JOB_PROPERTY_VALUE *value);