[PSDK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 26 Apr 2014 18:03:42 +0000 (18:03 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 26 Apr 2014 18:03:42 +0000 (18:03 +0000)
* 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
reactos/include/psdk/bits.idl
reactos/include/psdk/bits3_0.idl [new file with mode: 0644]

index cc91fd0..6c915b0 100644 (file)
@@ -18,6 +18,7 @@ list(APPEND SOURCE
 #   binres.idl
     bits.idl
     bits1_5.idl
 #   binres.idl
     bits.idl
     bits1_5.idl
+    bits3_0.idl
 #   cmdbas.idl
 #   cmdtxt.idl
     comcat.idl
 #   cmdbas.idl
 #   cmdtxt.idl
     comcat.idl
index 89b916d..0e3362c 100644 (file)
@@ -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_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")
 
 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
 cpp_quote("#undef EnumJobs")
@@ -413,3 +414,5 @@ library BackgroundCopyManager
 
     interface IBackgroundCopyCallback;
 }
 
     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 (file)
index 0000000..6cf48b7
--- /dev/null
@@ -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);
+}