Functions | |
int | ADL_Main_Control_Create (ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters) |
Function to initialize the ADL interface. This function should be called first. | |
int | ADL_Main_Control_Refresh () |
Function to refresh adapter information. This function generates an adapter index value for all logical adapters that have ever been present in the system. | |
int | ADL_Main_Control_Destroy () |
Function to destroy ADL global pointers. This function should be called last. | |
int | ADL_Graphics_Platform_Get (int *lpPlatForm) |
Function to retrieve the type of graphics platform the system is currently running. |
This group describes the APIs for initializing, refreshing and destroying ADL
int ADL_Main_Control_Create | ( | ADL_MAIN_MALLOC_CALLBACK | callback, | |
int | iEnumConnectedAdapters | |||
) |
Function to initialize the ADL interface. This function should be called first.
This function initializes the ADL library. It also initializes global pointers and, at the same time, calls the ADL_Main_Control_Refresh function.
[in] | callback,: | The memory allocation function for memory buffer allocation. This must be provided by the user. |
[in] | iEnumConnectedAdapters,: | Specify a value of 0 to retrieve adapter information for all adapters that have ever been present in the system. Specify a value of 1 to retrieve adapter information only for adapters that are physically present and enabled in the system. |
int ADL_Main_Control_Refresh | ( | ) |
Function to refresh adapter information. This function generates an adapter index value for all logical adapters that have ever been present in the system.
This function updates the adapter information based on the logical adapters currently in the system. The adapter index and UDID mappings remain unchanged for each refresh call.
int ADL_Main_Control_Destroy | ( | ) |
Function to destroy ADL global pointers. This function should be called last.
All ADL global buffers and resources are released after this function is called.
int ADL_Graphics_Platform_Get | ( | int * | lpPlatForm | ) |
Function to retrieve the type of graphics platform the system is currently running.
This function determines whether the current graphics platform is a mobile, desktop, or another platform. Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
[out] | lpPlatForm | The pointer to the retrieved graphics platform for the system. 0: UNKNOWN 1: DESKTOP 2: MOBILE |