Commit eb408f2d authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

mstask: Make each source file self-contained.

parent 2157afff
MODULE = mstask.dll MODULE = mstask.dll
IMPORTS = uuid ole32 IMPORTS = ole32
C_SRCS = \ C_SRCS = \
factory.c \ factory.c \
......
...@@ -16,6 +16,14 @@ ...@@ -16,6 +16,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "mstask.h"
#include "mstask_private.h" #include "mstask_private.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#pragma makedep ident
#pragma makedep register #pragma makedep register
#include "mstask.idl" #include "mstask.idl"
...@@ -16,15 +16,18 @@ ...@@ -16,15 +16,18 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <stdio.h> #include <stdarg.h>
#include "mstask_private.h" #define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "objbase.h" #include "objbase.h"
#include "rpcproxy.h" #include "rpcproxy.h"
#include "mstask.h"
#include "mstask_private.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mstask); WINE_DEFAULT_DEBUG_CHANNEL(mstask);
static HINSTANCE hInst; static HINSTANCE hInst;
......
...@@ -19,16 +19,6 @@ ...@@ -19,16 +19,6 @@
#ifndef __MSTASK_PRIVATE_H__ #ifndef __MSTASK_PRIVATE_H__
#define __MSTASK_PRIVATE_H__ #define __MSTASK_PRIVATE_H__
#include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "ole2.h"
#include "mstask.h"
extern LONG dll_ref DECLSPEC_HIDDEN; extern LONG dll_ref DECLSPEC_HIDDEN;
typedef struct ClassFactoryImpl ClassFactoryImpl; typedef struct ClassFactoryImpl ClassFactoryImpl;
......
...@@ -16,6 +16,14 @@ ...@@ -16,6 +16,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "mstask.h"
#include "mstask_private.h" #include "mstask_private.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -16,7 +16,15 @@ ...@@ -16,7 +16,15 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "corerror.h" #include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "initguid.h"
#include "objbase.h"
#include "mstask.h"
#include "mstask_private.h" #include "mstask_private.h"
#include "wine/debug.h" #include "wine/debug.h"
...@@ -268,8 +276,8 @@ static HRESULT WINAPI MSTASK_ITaskScheduler_Activate( ...@@ -268,8 +276,8 @@ static HRESULT WINAPI MSTASK_ITaskScheduler_Activate(
{ {
TRACE("%p, %s, %s, %p: stub\n", iface, debugstr_w(pwszName), TRACE("%p, %s, %s, %p: stub\n", iface, debugstr_w(pwszName),
debugstr_guid(riid), ppunk); debugstr_guid(riid), ppunk);
FIXME("Partial stub always returning COR_E_FILENOTFOUND\n"); FIXME("Partial stub always returning ERROR_FILE_NOT_FOUND\n");
return COR_E_FILENOTFOUND; return HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND);
} }
static HRESULT WINAPI MSTASK_ITaskScheduler_Delete( static HRESULT WINAPI MSTASK_ITaskScheduler_Delete(
......
...@@ -17,7 +17,14 @@ ...@@ -17,7 +17,14 @@
*/ */
#include <stdarg.h> #include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "winternl.h" #include "winternl.h"
#include "mstask.h"
#include "mstask_private.h" #include "mstask_private.h"
#include "wine/debug.h" #include "wine/debug.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment