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
30 cpp_quote
("#define BITS_COST_STATE_TRANSFER_ALWAYS 0x800000ff")
33 uuid(e847030c
-bbba
-4657-af6d
-484aa42bf1fe
),
36 interface IBackgroundCopyJob5
: IBackgroundCopyJob4
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
{
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
);