How do I enable SLI with NvAPI?

I need my program to do two things: enable SLI and put the displays in order. I think I can use the NvAPI_Mosaic_SetDisplayGrids() function to change display order, but it requires SLI to be enabled. I cannot find a way to enable it through NvAPI.

This is a windows PC with two graphics cards and the ability to enable SLI through the NVIDIA control panel. Now I need it done programmatically.

Hi nraf12,

Using NvAPI_Mosaic_SetDisplayGrids() will automatically put the GPUs in your display grid into the required SLI mode for mosaic.