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) |
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 | ) |