Application Profiles APIs


Functions

int ADL_ApplicationProfiles_System_Reload ()
 Function to Reload System appprofiles.
int ADL_ApplicationProfiles_User_Load ()
 Function to Load User appprofiles.
int ADL_ApplicationProfiles_User_Unload ()
 Function to Unload User appprofiles.
int ADL_ApplicationProfiles_ProfileOfAnApplication_Search (const char *FileName, const char *Path, const char *Version, const char *AppProfileArea, ADLApplicationProfile **lppProfile)
 Function to retrieve the profile of an application defined in driver.
int ADL_ApplicationProfiles_HitLists_Get (int iListType, int *lpNumApps, ADLApplicationData **lppAppList)
 Function to retrieve the recent application list from registry.

Detailed Description

This group outlines all Application Profiles APIs.

Function Documentation

int ADL_ApplicationProfiles_System_Reload (  ) 

Function to Reload System appprofiles.

This function Reloads System appprofiles by reloading system profile and loading user profile.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_ApplicationProfiles_User_Load (  ) 

Function to Load User appprofiles.

This function Loads User appprofiles by loadding system profile and user profile.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_ApplicationProfiles_User_Unload (  ) 

Function to Unload User appprofiles.

This function Unloads User appprofiles by unloading user profile.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_ApplicationProfiles_ProfileOfAnApplication_Search ( const char *  FileName,
const char *  Path,
const char *  Version,
const char *  AppProfileArea,
ADLApplicationProfile **  lppProfile 
)

Function to retrieve the profile of an application defined in driver.

This function retrieves the profile information of an application. This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppProfile. Caller is responsible to de-allocate the memory.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] FileName Specifies the application file name
[in] Path Specifies the application file path
[in] Version Specifies the application version
[in] AppProfileArea Specifies the area the profile works on (like 'PX', 'D3D', etc. )
[out] lppProfile The pointer to the pointer to the retrieved application profile. Set it to NULL prior to call this API.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
This API will be replaced with a new API that supports unicode. This API uses the memory allocation callback function provided by the user.

int ADL_ApplicationProfiles_HitLists_Get ( int  iListType,
int *  lpNumApps,
ADLApplicationData **  lppAppList 
)

Function to retrieve the recent application list from registry.

This function retrieves the recent application list from registry. This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppAppList. Caller is responsible to de-allocate the memory.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iListType Specifies the type of the list to retrieve, defined in ApplicationListType
[out] lpNumApps The pointer to the number of applications in the list.
[out] lppAppList The pointer to the pointer to the retrieved application list from registry. Set it to NULL prior to call this API.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
This API uses the memory allocation callback function provided by the user.


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer