From a97c2c224d5f9c599d1f2f35d879bbdc0e2ce52e Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 26 Apr 2014 18:03:42 +0000 Subject: [PATCH] [PSDK] * Import bits3_0.idl from Wine 1.7.17. * Add missing BG_NOTIFY_FILE_TRANSFERRED definition. CORE-8080 svn path=/trunk/; revision=62997 --- reactos/include/psdk/CMakeLists.txt | 1 + reactos/include/psdk/bits.idl | 3 +++ reactos/include/psdk/bits3_0.idl | 34 +++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 reactos/include/psdk/bits3_0.idl diff --git a/reactos/include/psdk/CMakeLists.txt b/reactos/include/psdk/CMakeLists.txt index cc91fd0872c..6c915b08f72 100644 --- a/reactos/include/psdk/CMakeLists.txt +++ b/reactos/include/psdk/CMakeLists.txt @@ -18,6 +18,7 @@ list(APPEND SOURCE # binres.idl bits.idl bits1_5.idl + bits3_0.idl # cmdbas.idl # cmdtxt.idl comcat.idl diff --git a/reactos/include/psdk/bits.idl b/reactos/include/psdk/bits.idl index 89b916d0a2c..0e3362cc956 100644 --- a/reactos/include/psdk/bits.idl +++ b/reactos/include/psdk/bits.idl @@ -29,6 +29,7 @@ cpp_quote("#define BG_NOTIFY_JOB_TRANSFERRED 0x0001") cpp_quote("#define BG_NOTIFY_JOB_ERROR 0x0002") cpp_quote("#define BG_NOTIFY_DISABLE 0x0004") cpp_quote("#define BG_NOTIFY_JOB_MODIFICATION 0x0008") +cpp_quote("#define BG_NOTIFY_FILE_TRANSFERRED 0x0010") cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") cpp_quote("#undef EnumJobs") @@ -413,3 +414,5 @@ library BackgroundCopyManager interface IBackgroundCopyCallback; } + +cpp_quote("#include \"bits1_5.h\"") diff --git a/reactos/include/psdk/bits3_0.idl b/reactos/include/psdk/bits3_0.idl new file mode 100644 index 00000000000..6cf48b7e193 --- /dev/null +++ b/reactos/include/psdk/bits3_0.idl @@ -0,0 +1,34 @@ +/* + * Background Intelligent Transfer Service (BITS) 3.0 interface + * + * Copyright 2013 Nikolay Sivov for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +#ifndef DO_NO_IMPORTS +import "bits.idl"; +#endif + +[ + uuid(659cdeac-489e-11d9-a9cd-000d56965251), + odl +] +interface IBackgroundCopyCallback2 : IBackgroundCopyCallback +{ + HRESULT FileTransferred([in] IBackgroundCopyJob *job, + [in] IBackgroundCopyFile *file); +}