AnsweredAssumed Answered

setup eyeinfinity using adl

Question asked by qtnext on Sep 17, 2012
Latest reply on Sep 17, 2012 by qtnext

I have tryed the code bellow.

but it always return result==-1... I don't know what can I do? I have search over forum and find no answer ... I try to setup a dual screen eye  infinity horizontal 1920x1200@50fps.

 

 

    int option=0;

            int mapindex=0;

 

 

            ADLSLSMap  slsmap;

            ADLSLSTarget  slsTarget;

 

 

            slsmap.iAdapterIndex=iAdapterIndex;

            slsmap.iSLSMapIndex=0;

            slsmap.grid.iAdapterIndex=iAdapterIndex;

            slsmap.grid.iSLSGridColumn=2;

            slsmap.grid.iSLSGridRow=1;

            slsmap.grid.iSLSGridMask=0;

            slsmap.grid.iSLSGridValue=0;

            slsmap.grid.iSLSGridIndex=0; // ?

            slsmap.iSurfaceMapIndex=0; // ?

            slsmap.iOrientation=0;

            slsmap.iNumSLSTarget=2;

            slsmap.iFirstSLSTargetArrayIndex=0;

            slsmap.iNumNativeMode=3;

            slsmap.iFirstNativeModeArrayIndex=0;

            slsmap.iNumBezelMode=0;

            slsmap.iFirstBezelModeArrayIndex=0;

            slsmap.iNumBezelOffset=0;

            slsmap.iFirstBezelOffsetArrayIndex=0;

            slsmap.iSLSMapMask=31;

            slsmap.iSLSMapValue=1;

 

 

 

 

            slsTarget.iAdapterIndex=iAdapterIndex;

            slsTarget.iSLSMapIndex=0;

            slsTarget.iSLSGridPositionX=0;

            slsTarget.iSLSGridPositionY=0;

            slsTarget.iSLSTargetMask=0;

            slsTarget.iSLSTargetValue=0;

 

 

 

            slsTarget.displayTarget.iDisplayMapIndex=0;

            slsTarget.displayTarget.iDisplayTargetMask=0;

            slsTarget.displayTarget.iDisplayTargetValue=0;

            slsTarget.displayTarget.displayID.iDisplayLogicalAdapterIndex=0;

            slsTarget.displayTarget.displayID.iDisplayPhysicalAdapterIndex=0;

            slsTarget.displayTarget.displayID.iDisplayLogicalIndex=5;

            slsTarget.displayTarget.displayID.iDisplayPhysicalIndex=5;

            slsTarget.viewSize.iAdapterIndex=iAdapterIndex;

            slsTarget.viewSize.fRefreshRate=50;

            slsTarget.viewSize.iXPos=0;

            slsTarget.viewSize.iYPos=0;

            slsTarget.viewSize.iXRes=1920;

            slsTarget.viewSize.iYRes=1200;

            slsTarget.viewSize.iColourDepth=0;

            slsTarget.viewSize.iOrientation=0;

            slsTarget.viewSize.iModeFlag=0;

            slsTarget.viewSize.iModeMask=0;

            slsTarget.viewSize.iModeValue=0;

            slsTarget.viewSize.displayID.iDisplayLogicalIndex=0;

            slsTarget.viewSize.displayID.iDisplayLogicalAdapterIndex=0;

            slsTarget.viewSize.displayID.iDisplayPhysicalIndex=0;

            slsTarget.viewSize.displayID.iDisplayPhysicalAdapterIndex=0;

 

 

            result=ADL_Display_SLSMapConfig_Create(iAdapterIndex,slsmap,2,&slsTarget,0,&mapindex,option);

            if(result==ADL_OK)

            {

 

            }

Outcomes