Επεξεργασία

Κοινή χρήση μέσω


IShellApp::GetPossibleActions method (shappmgr.h)

Gets a bitmask of management actions allowed for an application.

Syntax

HRESULT GetPossibleActions(
  [out] DWORD *pdwActions
);

Parameters

[out] pdwActions

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

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shappmgr.h
DLL Shell32.dll

See also

IAppPublisher

IPublishedApp

IShellApp