PUBAPPINFOFLAGS enumeration (shappmgr.h)

Specifies which members in the PUBAPPINFO structure are valid. These flags are bitmasks set in the dwMask member and passed to IPublishedApp::GetPublishedAppInfo.

Syntax

typedef enum _tagPublishedAppInfoFlags {
  PAI_SOURCE = 0x1,
  PAI_ASSIGNEDTIME = 0x2,
  PAI_PUBLISHEDTIME = 0x4,
  PAI_SCHEDULEDTIME = 0x8,
  PAI_EXPIRETIME = 0x10
} PUBAPPINFOFLAGS;

Constants

 
PAI_SOURCE
Value: 0x1
The pszSource string is valid and contains the display name of the publishing source. If multiple sources publish an application of the same name, Add/Remove Programs identifies them by "<application name> : <publishing source>".
PAI_ASSIGNEDTIME
Value: 0x2
The stAssigned member is valid and contains the time that the application should be installed as assigned by an application administrator.
PAI_PUBLISHEDTIME
Value: 0x4
Not used.
PAI_SCHEDULEDTIME
Value: 0x8
The stScheduled member is valid and contains the time that the application should be installed as assigned by the user.
PAI_EXPIRETIME
Value: 0x10
The stExpired member is valid and contains the time after which Add/Remove Programs should no longer install the program.

Requirements

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

See also

IPublishedApp::GetPublishedAppInfo