mirror of
https://github.com/reactos/wine.git
synced 2025-04-07 02:21:39 +00:00
mstask: Stub implementation of Activate.
This commit is contained in:
parent
75e043ee5f
commit
77ea6ef814
@ -16,6 +16,7 @@
|
|||||||
* 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 "mstask_private.h"
|
#include "mstask_private.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
@ -99,9 +100,10 @@ static HRESULT WINAPI MSTASK_ITaskScheduler_Activate(
|
|||||||
REFIID riid,
|
REFIID riid,
|
||||||
IUnknown **ppunk)
|
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);
|
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(
|
static HRESULT WINAPI MSTASK_ITaskScheduler_Delete(
|
||||||
|
@ -96,7 +96,7 @@ static void test_Activate(void)
|
|||||||
/* Attempt to Activate a non-existant task */
|
/* Attempt to Activate a non-existant task */
|
||||||
hres = ITaskScheduler_Activate(test_task_scheduler, not_task_name,
|
hres = ITaskScheduler_Activate(test_task_scheduler, not_task_name,
|
||||||
&IID_ITask, (IUnknown**)&task);
|
&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);
|
ITaskScheduler_Release(test_task_scheduler);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user