Roy Shea : mstask: Stub implementation of Activate.
Alexandre Julliard
julliard at winehq.org
Tue Aug 19 08:47:05 CDT 2008
Module: wine
Branch: master
Commit: 77ea6ef814a2dff8c9ccc43b7de1af1140e2081c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=77ea6ef814a2dff8c9ccc43b7de1af1140e2081c
Author: Roy Shea <royshea at gmail.com>
Date: Mon Aug 18 17:23:42 2008 -0700
mstask: Stub implementation of Activate.
---
dlls/mstask/task_scheduler.c | 6 ++++--
dlls/mstask/tests/task_scheduler.c | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/mstask/task_scheduler.c b/dlls/mstask/task_scheduler.c
index bd4cc1d..5efa086 100644
--- a/dlls/mstask/task_scheduler.c
+++ b/dlls/mstask/task_scheduler.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "corerror.h"
#include "mstask_private.h"
#include "wine/debug.h"
@@ -99,9 +100,10 @@ static HRESULT WINAPI MSTASK_ITaskScheduler_Activate(
REFIID riid,
IUnknown **ppunk)
{
- FIXME("%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);
- return E_NOTIMPL;
+ FIXME("Partial stub always returning COR_E_FILENOTFOUND\n");
+ return COR_E_FILENOTFOUND;
}
static HRESULT WINAPI MSTASK_ITaskScheduler_Delete(
diff --git a/dlls/mstask/tests/task_scheduler.c b/dlls/mstask/tests/task_scheduler.c
index d115dd2..af3a565 100644
--- a/dlls/mstask/tests/task_scheduler.c
+++ b/dlls/mstask/tests/task_scheduler.c
@@ -96,7 +96,7 @@ static void test_Activate(void)
/* Attempt to Activate a non-existant task */
hres = ITaskScheduler_Activate(test_task_scheduler, not_task_name,
&IID_ITask, (IUnknown**)&task);
- todo_wine ok(hres == COR_E_FILENOTFOUND, "Expected COR_E_FILENOTFOUND: %08x\n", hres);
+ ok(hres == COR_E_FILENOTFOUND, "Expected COR_E_FILENOTFOUND: %08x\n", hres);
ITaskScheduler_Release(test_task_scheduler);
return;
More information about the wine-cvs
mailing list