APPCATEGORYINFO structure (appmgmt.h)

Provides application category information to Add/Remove Programs in Control Panel. The APPCATEGORYINFOLIST structure is used create a complete list of categories for an application publisher.

Syntax

typedef struct _APPCATEGORYINFO {
  LCID   Locale;
  LPWSTR pszDescription;
  GUID   AppCategoryId;
} APPCATEGORYINFO;

Members

Locale

Type: LCID

Unused.

pszDescription

Type: LPWSTR

A pointer to a string containing the display name of the category. This string displays in the Category list in Add/Remove Programs. This string buffer must be allocated using CoTaskMemAlloc and freed using CoTaskMemFree.

AppCategoryId

Type: GUID

A GUID identifying the application category.

Requirements

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

See also

APPCATEGORYINFOLIST

IAppPublisher::GetCategories