This topic has not yet been rated - Rate this topic

PUBAPPINFO structure

Applies to: desktop apps only

Provides information about a published application from an application publisher to Add/Remove Programs in Control Panel.

Syntax

typedef struct {
  DWORD      cbSize;
  DWORD      dwMask;
  LPWSTR     pszSource;
  SYSTEMTIME stAssigned;
  SYSTEMTIME stPublished;
  SYSTEMTIME stScheduled;
  SYSTEMTIME stExpire;
} PUBAPPINFO;

Members

cbSize

Type: DWORD

A value of type DWORD that specifies the size of the structure. This member is set by the Add/Remove Programs utility.

dwMask

Type: DWORD

A bitmask that indicates which items in the structure are valid. This member can contain one or more PUBAPPINFOFLAGS.

pszSource

Type: LPWSTR

A pointer to a string containing the display name of the publisher. This name appears in Add/Remove Programs if duplicate application names are encountered. The string buffer must be allocated using the Shell task allocator.

stAssigned

Type: SYSTEMTIME

The time when an application manager schedules the application installation. Add/Remove Programs does not allow the user to schedule an installation time later than the value in this member. This member is ignored if it describes a time prior to the current time.

stPublished

Type: SYSTEMTIME

stScheduled

Type: SYSTEMTIME

The installation time that the user sets by clicking Add Later. Add/Remove Programs calls the IPublishedApp::Install method with the pInstallTime parameter pointing to a SYSTEMTIME structure that contains the time the user entered. The application publisher maintains this value for installation scheduling. IPublishedApp::GetPublishedAppInfo returns the scheduled installation time in this member if the scheduled time has not been canceled using IPublishedApp::Unschedule.

stExpire

Type: SYSTEMTIME

The time after which you cannot install the published application using Add/Remove Programs.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows Server 2003

Header

Shappmgr.h

IDL

Shappmgr.idl

See also

IAppPublisher

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ