regedit: Convert menu & statusbar handling to unicode.
[wine/hacks.git] / dlls / mstask / mstask_private.h
blobeb3ecf856f25d04c7e5940733d418df484d4b42b
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 TASK_TRIGGER triggerCond;
46 } TaskTriggerImpl;
47 extern HRESULT TaskTriggerConstructor(LPVOID *ppObj);
49 typedef struct
51 const ITaskSchedulerVtbl *lpVtbl;
52 LONG ref;
53 } TaskSchedulerImpl;
54 extern HRESULT TaskSchedulerConstructor(LPVOID *ppObj);
56 typedef struct
58 const ITaskVtbl *lpVtbl;
59 const IPersistFileVtbl *persistVtbl;
60 LONG ref;
61 LPWSTR taskName;
62 LPWSTR applicationName;
63 LPWSTR parameters;
64 LPWSTR comment;
65 DWORD maxRunTime;
66 LPWSTR accountName;
67 } TaskImpl;
68 extern HRESULT TaskConstructor(LPCWSTR pwszTaskName, LPVOID *ppObj);
70 #endif /* __MSTASK_PRIVATE_H__ */