push a9ea98eed33411fd355fd4e8b78f7880f1dd09a3
[wine/hacks.git] / dlls / mstask / mstask_private.h
blob71a675ecabba846723d51fd554c9554ac42e5c27
1 /*
2 * Copyright (C) 2008 Google (Roy Shea)
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __MSTASK_PRIVATE_H__
20 #define __MSTASK_PRIVATE_H__
22 #include <stdarg.h>
24 #define COBJMACROS
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winuser.h"
29 #include "ole2.h"
30 #include "mstask.h"
32 extern LONG dll_ref;
34 typedef struct
36 const IClassFactoryVtbl *lpVtbl;
37 LONG ref;
38 } ClassFactoryImpl;
39 extern ClassFactoryImpl MSTASK_ClassFactory;
41 typedef struct
43 const ITaskTriggerVtbl *lpVtbl;
44 LONG ref;
45 } TaskTriggerImpl;
46 extern HRESULT TaskTriggerConstructor(LPVOID *ppObj);
48 typedef struct
50 const ITaskSchedulerVtbl *lpVtbl;
51 LONG ref;
52 } TaskSchedulerImpl;
53 extern HRESULT TaskSchedulerConstructor(LPVOID *ppObj);
55 typedef struct
57 const ITaskVtbl *lpVtbl;
58 const IPersistFileVtbl *persistVtbl;
59 LONG ref;
60 LPWSTR taskName;
61 LPWSTR applicationName;
62 LPWSTR parameters;
63 LPWSTR comment;
64 DWORD maxRunTime;
65 LPWSTR accountName;
66 } TaskImpl;
67 extern HRESULT TaskConstructor(LPCWSTR pwszTaskName, LPVOID *ppObj);
69 #endif /* __MSTASK_PRIVATE_H__ */