From e07112ba5bce86aa6ed0001f9b16b0032cbae5d3 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Mon, 11 Feb 2008 10:14:00 -0800 Subject: [PATCH] include: Add IRunnableTask interface. --- include/shobjidl.idl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/shobjidl.idl b/include/shobjidl.idl index 5e937dc7368..33532681d78 100644 --- a/include/shobjidl.idl +++ b/include/shobjidl.idl @@ -1296,6 +1296,22 @@ interface INewShortcutHookW : IUnknown [in] int cchExtension); } +/***************************************************************************** + * IRunnableTask interface + */ +[ + object, + uuid(85788d00-6807-11d0-b810-00c04fd706ec), + pointer_default(unique) +] +interface IRunnableTask : IUnknown +{ + HRESULT Run(); + HRESULT Kill([in] BOOL fWait); + HRESULT Suspend(); + HRESULT Resume(); + ULONG IsRunning(); +} /***************************************************************************** * IShellChangeNotify interface