GetManagedApplicationCategories function

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

dwReserved [out]

This parameter is reserved. Its value must be 0.

pAppCategory [out]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Appmgmt.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

Group Policy Overview
Group Policy Functions
APPCATEGORYINFOLIST

 

 

Show: