Export (0) Print
Expand All

IShellApp::GetPossibleActions method

Gets a bitmask of management actions allowed for an application.

Syntax


HRESULT GetPossibleActions(
  [out]  DWORD *pdwActions
);

Parameters

pdwActions [out]

Type: DWORD*

A pointer to a variable of type DWORD that returns the bitmask of supported actions. The bit flags are described in APPACTIONFLAGS.

Return value

Type: HRESULT

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

Remarks

Of the set of APPACTIONFLAGS bitmasks, Add/Remove Programs only recognizes APPACTION_INSTALL and APPACTION_ADDLATER.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shappmgr.h

IDL

Shappmgr.idl

DLL

Shell32.dll

See also

IShellApp
IAppPublisher
IPublishedApp

 

 

Community Additions

ADD
Show:
© 2014 Microsoft