ViewPort APIs
[Display Related APIs]


Functions

int ADL_Display_ViewPort_Set (int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to change the view position, view size or view pan lock of a selected display.
int ADL_Display_ViewPort_Get (int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to get the view position, view size or view pan lock of a selected display.
int ADL_Display_ViewPort_Cap (int iAdapterIndex, int *lpSupported)
 Function to check if the selected adapter supports the view port control.

Detailed Description

This group outlines ViewPort Related APIs.

Function Documentation

int ADL_Display_ViewPort_Set ( int  iAdapterIndex,
int  iDisplayIndex,
ADLControllerMode lpControllerMode 
)

Function to change the view position, view size or view pan lock of a selected display.

This function used to change the view position, view size or view pan lock of a selected display.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpControllerMode. The pointer to the ADLControllerMode structure.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_Display_ViewPort_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLControllerMode lpControllerMode 
)

Function to get the view position, view size or view pan lock of a selected display.

This function used to get the view position, view size or view pan lock of a selected display.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpControllerMode The pointer to the ADLControllerMode structure.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_Display_ViewPort_Cap ( int  iAdapterIndex,
int *  lpSupported 
)

Function to check if the selected adapter supports the view port control.

This function used to check if the selected adapter supports the view port control.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpSupported is if this adapter supports the view port control. ADL_TRUE: the view port control are supported; otherwise: not supported.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes


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