mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
66 lines
2.0 KiB
Diff
66 lines
2.0 KiB
Diff
From 9fa84d2a82ae2444f6fbe995cf1dbbf2003e6ea1 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 | 36 ++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 36 insertions(+)
|
|
|
|
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
|
|
index e0fe01c..9d3b676 100644
|
|
--- a/include/shobjidl.idl
|
|
+++ b/include/shobjidl.idl
|
|
@@ -3713,6 +3713,34 @@ interface IItemNameLimits : IUnknown
|
|
[out] int *max_length);
|
|
}
|
|
|
|
+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
|
|
*/
|
|
@@ -3817,4 +3845,12 @@ library ShellObjects
|
|
{
|
|
interface IQueryCancelAutoPlay;
|
|
}
|
|
+
|
|
+ [
|
|
+ uuid(45ba127d-10a8-46ea-8ab7-56ea9078943c)
|
|
+ ]
|
|
+ coclass ApplicationActivationManager
|
|
+ {
|
|
+ interface IApplicationActivationManager;
|
|
+ }
|
|
}
|
|
--
|
|
1.9.1
|
|
|