From 6b4fafcb54d3382064416ed1651ffbb9154a2915 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 8 Mar 2016 14:55:33 +0000 Subject: [PATCH] [PSDK] Update shobjidl.idl. CORE-10912 svn path=/trunk/; revision=70970 --- reactos/include/psdk/shobjidl.idl | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/reactos/include/psdk/shobjidl.idl b/reactos/include/psdk/shobjidl.idl index 2cd53b8ebe1..ebf21e40951 100644 --- a/reactos/include/psdk/shobjidl.idl +++ b/reactos/include/psdk/shobjidl.idl @@ -4066,6 +4066,35 @@ interface ITransferDestination : IUnknown [out, iid_is(riid)] void **presources); } + +typedef [v1_enum] enum ACTIVATEOPTIONS +{ + AO_NONE = 0x00000000, + AO_DESIGNMODE = 0x00000001, + AO_NOERRORUI = 0x00000002, + AO_NOSPLASHSCREEN = 0x00000004 +} ACTIVATEOPTIONS; + +[ + uuid(2e941141-7f97-4756-ba1d-9decde894a3d), + object, + pointer_default(unique) +] +interface IApplicationActivationManager : IUnknown +{ + HRESULT ActivateApplication([in] LPCWSTR appusermodelid, + [in, unique] LPCWSTR arguments, + [in] ACTIVATEOPTIONS options, + [out] DWORD *processid); + HRESULT ActivateForFile([in] LPCWSTR appusermodelid, + [in] IShellItemArray *itemarray, + [in, unique] LPCWSTR verb, + [out] DWORD *processid); + HRESULT ActivateForProtocol([in] LPCWSTR appusermodelid, + [in] IShellItemArray *itemarray, + [out] DWORD *processid); +} + /***************************************************************************** * ShellObjects typelibrary */ @@ -4161,6 +4190,14 @@ library ShellObjects coclass ShellItem { interface IShellItem2; } + + [ + uuid(45ba127d-10a8-46ea-8ab7-56ea9078943c) + ] + coclass ApplicationActivationManager + { + interface IApplicationActivationManager; + } } enum _OPPROGDLGF