mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
67 lines
2.0 KiB
Diff
67 lines
2.0 KiB
Diff
From 3148c0a69b1dd084541d0e2b09ddd8f47ec732fc Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
|
Date: Sun, 17 Jan 2016 00:46:34 +0100
|
|
Subject: [PATCH] include: Add IApplicationActivationManager interface
|
|
declaration.
|
|
|
|
---
|
|
include/shobjidl.idl | 37 +++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 37 insertions(+)
|
|
|
|
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
|
|
index e0fe01c..73278e4 100644
|
|
--- a/include/shobjidl.idl
|
|
+++ b/include/shobjidl.idl
|
|
@@ -3713,6 +3713,35 @@ interface IItemNameLimits : IUnknown
|
|
[out] int *max_length);
|
|
}
|
|
|
|
+typedef [v1_enum] enum ACTIVATEOPTIONS
|
|
+{
|
|
+ AO_NONE = 0x00000000,
|
|
+ AO_DESIGNMODE = 0x00000001,
|
|
+ AO_NOERRORUI = 0x00000002,
|
|
+ AO_NOSPLASHSCREEN = 0x00000004,
|
|
+ AO_PRELAUNCH = 0x02000000
|
|
+} 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
|
|
*/
|
|
@@ -3817,4 +3846,12 @@ library ShellObjects
|
|
{
|
|
interface IQueryCancelAutoPlay;
|
|
}
|
|
+
|
|
+ [
|
|
+ uuid(45ba127d-10a8-46ea-8ab7-56ea9078943c)
|
|
+ ]
|
|
+ coclass ApplicationActivationManager
|
|
+ {
|
|
+ interface IApplicationActivationManager;
|
|
+ }
|
|
}
|
|
--
|
|
1.9.1
|
|
|