Dmitry Timoshkov : include: Add Task Scheduler typelib definition.

Alexandre Julliard julliard at winehq.org
Fri Dec 27 13:31:10 CST 2013


Module: wine
Branch: master
Commit: bf546ac873f97f05f872d602f21d3fa9110d24ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bf546ac873f97f05f872d602f21d3fa9110d24ff

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Dec 24 19:55:48 2013 +0900

include: Add Task Scheduler typelib definition.

---

 include/taskschd.idl |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/include/taskschd.idl b/include/taskschd.idl
index d736788..3b6bc2f 100644
--- a/include/taskschd.idl
+++ b/include/taskschd.idl
@@ -21,7 +21,13 @@
 import "oaidl.idl";
 import "ocidl.idl";
 
-cpp_quote("DEFINE_GUID(CLSID_TaskScheduler, 0xf87369f,0xa4e5,0x4cfc,0xbd,0x3e,0x73,0xe6,0x15,0x45,0x72,0xdd);")
+[
+    uuid(e34cb9f1-c7f7-424c-be29-027dcc09363a),
+    version(1.0)
+]
+library TaskScheduler
+{
+importlib("stdole2.tlb");
 
 typedef enum _TASK_STATE
 {
@@ -506,3 +512,16 @@ interface IPrincipal : IDispatch
     [propget] HRESULT RunLevel([out, retval] TASK_RUNLEVEL *level);
     [propput] HRESULT RunLevel([in] TASK_RUNLEVEL level);
 }
+
+[
+    threading(both),
+    progid("Schedule.Service.1"),
+    vi_progid("Schedule.Service"),
+    uuid(0f87369f-a4e5-4cfc-bd3e-73e6154572dd)
+]
+coclass TaskScheduler
+{
+    interface ITaskService;
+}
+
+} /* library TaskScheduler */




More information about the wine-cvs mailing list