4 out of 10 rated this helpful - Rate this topic

IApplicationActivationManager::ActivateApplication method

Syntax


HRESULT ActivateApplication(
  [in]   LPCWSTR appUserModelId,
  [in]   LPCWSTR arguments,
  [in]   ACTIVATEOPTIONS options,
  [out]  DWORD *processId
);

Parameters

appUserModelId [in]
arguments [in]
options [in]

AO_NONE (0x00000000)

No flags are set.

AO_DESIGNMODE (0x00000001)

AO_NOERRORUI (0x00000002)

Do not display an error dialog if the app fails to activate.

AO_NOSPLASHSCREEN (0x00000004)

Do not display the splash screen when activating the app.

processId [out]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IApplicationActivationManager

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.