#include <stdarg.h>
-#define COBJMACROS
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
-#include "windef.h"
-#include "winbase.h"
-#include "winuser.h"
-#include "ole2.h"
-#include "mstask.h"
+#define COBJMACROS
-extern LONG dll_ref;
+#include <windef.h>
+#include <winbase.h>
+#include <objbase.h>
+#include <mstask.h>
-typedef struct
-{
- const IClassFactoryVtbl *lpVtbl;
- LONG ref;
-} ClassFactoryImpl;
-extern ClassFactoryImpl MSTASK_ClassFactory;
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(mstask);
-typedef struct
-{
- const ITaskTriggerVtbl *lpVtbl;
- LONG ref;
- TASK_TRIGGER triggerCond;
-} TaskTriggerImpl;
-extern HRESULT TaskTriggerConstructor(LPVOID *ppObj);
+extern LONG dll_ref DECLSPEC_HIDDEN;
-typedef struct
-{
- const ITaskSchedulerVtbl *lpVtbl;
- LONG ref;
-} TaskSchedulerImpl;
-extern HRESULT TaskSchedulerConstructor(LPVOID *ppObj);
+typedef struct ClassFactoryImpl ClassFactoryImpl;
+extern ClassFactoryImpl MSTASK_ClassFactory DECLSPEC_HIDDEN;
-typedef struct
-{
- const ITaskVtbl *lpVtbl;
- const IPersistFileVtbl *persistVtbl;
- LONG ref;
- LPWSTR taskName;
- LPWSTR applicationName;
- LPWSTR parameters;
- LPWSTR comment;
- DWORD maxRunTime;
- LPWSTR accountName;
-} TaskImpl;
-extern HRESULT TaskConstructor(LPCWSTR pwszTaskName, LPVOID *ppObj);
+extern HRESULT TaskTriggerConstructor(LPVOID *ppObj) DECLSPEC_HIDDEN;
+extern HRESULT TaskSchedulerConstructor(LPVOID *ppObj) DECLSPEC_HIDDEN;
+extern HRESULT TaskConstructor(LPCWSTR pwszTaskName, LPVOID *ppObj) DECLSPEC_HIDDEN;
#endif /* __MSTASK_PRIVATE_H__ */