IPublishedApp2::Install2 method

Installs an application published by an application publisher, while preventing multiple windows from being active on the same thread.

Syntax


HRESULT Install2(
  [in] LPSYSTEMTIME pstInstall,
  [in] HWND         hwndParent
);

Parameters

pstInstall [in]

Type: LPSYSTEMTIME

A pointer to a SYSTEMTIME structure.

hwndParent [in]

Type: HWND

A handle to the parent window.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shappmgr.h

IDL

Shappmgr.idl

 

 

Show: