2018-03-19 16:57:56 -07:00
|
|
|
From 9fa84d2a82ae2444f6fbe995cf1dbbf2003e6ea1 Mon Sep 17 00:00:00 2001
|
2016-01-16 21:50:43 -08:00
|
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
|
|
|
Date: Sun, 17 Jan 2016 00:46:34 +0100
|
2018-03-19 16:57:56 -07:00
|
|
|
Subject: [PATCH] include: Add IApplicationActivationManager interface
|
|
|
|
declaration.
|
2016-01-16 21:50:43 -08:00
|
|
|
|
|
|
|
---
|
|
|
|
include/shobjidl.idl | 36 ++++++++++++++++++++++++++++++++++++
|
|
|
|
1 file changed, 36 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
|
2018-03-19 16:57:56 -07:00
|
|
|
index e0fe01c..9d3b676 100644
|
2016-01-16 21:50:43 -08:00
|
|
|
--- a/include/shobjidl.idl
|
|
|
|
+++ b/include/shobjidl.idl
|
2018-03-19 16:57:56 -07:00
|
|
|
@@ -3713,6 +3713,34 @@ interface IItemNameLimits : IUnknown
|
|
|
|
[out] int *max_length);
|
|
|
|
}
|
2016-01-16 21:50:43 -08:00
|
|
|
|
|
|
|
+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
|
|
|
|
*/
|
2018-03-19 16:57:56 -07:00
|
|
|
@@ -3817,4 +3845,12 @@ library ShellObjects
|
2016-01-16 21:50:43 -08:00
|
|
|
{
|
|
|
|
interface IQueryCancelAutoPlay;
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ [
|
|
|
|
+ uuid(45ba127d-10a8-46ea-8ab7-56ea9078943c)
|
|
|
|
+ ]
|
|
|
|
+ coclass ApplicationActivationManager
|
|
|
|
+ {
|
|
|
|
+ interface IApplicationActivationManager;
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
--
|
2018-03-19 16:57:56 -07:00
|
|
|
1.9.1
|
2016-01-16 21:50:43 -08:00
|
|
|
|