Gets layer name from selected CAD data LTCustomizer21 for AutoCAD LT reference manual

ActiveX
    Function get_select_layer(ename As Integer) As String
C/C++
    int WINAPI LTC_get_select_layer(int ename,BSTR *layer);

parameter
ename :index number read by select(). Specifies a value in range of 0 - return value of select() -1.
layer(only):layer name

return value
ActiveX:layer name
C/C++:1 success 0:failure

This function is equal to following code.
get_select_data(ename, 8)