mstask: Make each source file self-contained.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2157afff48
commit
eb408f2dd9
|
@ -1,5 +1,5 @@
|
|||
MODULE = mstask.dll
|
||||
IMPORTS = uuid ole32
|
||||
IMPORTS = ole32
|
||||
|
||||
C_SRCS = \
|
||||
factory.c \
|
||||
|
|
|
@ -16,6 +16,14 @@
|
|||
* 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 "wine/debug.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#pragma makedep ident
|
||||
#pragma makedep register
|
||||
|
||||
#include "mstask.idl"
|
||||
|
|
|
@ -16,15 +16,18 @@
|
|||
* 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 "rpcproxy.h"
|
||||
|
||||
#include "mstask.h"
|
||||
#include "mstask_private.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(mstask);
|
||||
|
||||
static HINSTANCE hInst;
|
||||
|
|
|
@ -19,16 +19,6 @@
|
|||
#ifndef __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;
|
||||
|
||||
typedef struct ClassFactoryImpl ClassFactoryImpl;
|
||||
|
|
|
@ -16,6 +16,14 @@
|
|||
* 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 "wine/debug.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,15 @@
|
|||
* 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 "wine/debug.h"
|
||||
|
||||
|
@ -268,8 +276,8 @@ static HRESULT WINAPI MSTASK_ITaskScheduler_Activate(
|
|||
{
|
||||
TRACE("%p, %s, %s, %p: stub\n", iface, debugstr_w(pwszName),
|
||||
debugstr_guid(riid), ppunk);
|
||||
FIXME("Partial stub always returning COR_E_FILENOTFOUND\n");
|
||||
return COR_E_FILENOTFOUND;
|
||||
FIXME("Partial stub always returning ERROR_FILE_NOT_FOUND\n");
|
||||
return HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI MSTASK_ITaskScheduler_Delete(
|
||||
|
|
|
@ -17,7 +17,14 @@
|
|||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "objbase.h"
|
||||
#include "winternl.h"
|
||||
#include "mstask.h"
|
||||
#include "mstask_private.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue