Out parameter in ADL_Display_ConnectedDisplays_Get() - How to understand

Discussion created by ixpu on Apr 23, 2010
Latest reply on Jun 29, 2010 by Byron

Hi. I have been playing around with the ADL SDK 3.0 for some time now. Using ADL is fun, however the documentation accompanying it is incomplete in places. Specifically for the moment I would like to know how to interpret the out parameter lpConnections in the function:

int ADL_Display_ConnectedDisplays_Get(int iAdapterIndex, int* lpConnections)

The documentation says that lpConnections is the pointer to the bit field indicating whether the output connectors on the specified adapter have devices physically attached to them.

Now this is becomes cryptic considering that no clue has been given on how to interpret different bits in the lpConnections obtained through the above API. I even scanned through the header adl_defines.h but couldn't find anything helpful.

Can anyone shed some light on this, it's important for an application that I'm working on.

Thank you.