Commit 49134974 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

include: Add IApplicationActivationManager interface declaration.

parent 7aec33ef
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment