GetManagedApplicationCategories function (appmgmt.h)

The GetManagedApplicationCategories function gets a list of application categories for a domain. The list is the same for all users in the domain.

Syntax

DWORD GetManagedApplicationCategories(
  [out] DWORD               dwReserved,
  [out] APPCATEGORYINFOLIST *pAppCategory
);

Parameters

[out] dwReserved

This parameter is reserved. Its value must be 0.

[out] pAppCategory

A APPCATEGORYINFOLIST structure that contains a list of application categories. This structure must be freed by calling LocalFree when the list is no longer required.

Return value

If the function succeeds, the return value is ERROR_SUCCESS. Otherwise, the function returns one of the system error codes. For a complete list of error codes, see System Error Codes or the header file WinError.h.

Remarks

The structure returned by GetManagedApplicationCategories must be freed by calling LocalFree when the list is no longer required.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header appmgmt.h
Library Advapi32.lib
DLL Advapi32.dll

See also

APPCATEGORYINFOLIST

Group Policy Functions

Group Policy Overview