[PSDK] Update shobjidl.idl. CORE-10912
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 8 Mar 2016 14:55:33 +0000 (14:55 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 8 Mar 2016 14:55:33 +0000 (14:55 +0000)
svn path=/trunk/; revision=70970

reactos/include/psdk/shobjidl.idl

index 2cd53b8..ebf21e4 100644 (file)
@@ -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