dl_lattp()

Returns a pointer to the Designer logical attribute array used by forms and windows read in from that Designer library

Call
#include <vv_des.h>
UCHAR *dl_lattp(libname_stp)

UCHAR *libname_stp

Pointer to name of the Designer library whose logical attribute array is desired

Returns  
POINTER Pointer to the logical attribute array for the Designer library
NULLP Error.
Description

dl_lattp() searches the linked list of library logical attributes for the library with the desired name. If it is found, dl_lattp() returns a pointer to the logical attribute table.

Related Functions

sdl_latt()

Cautions

You can only use the logical attribute array of a Designer library that is currently open or already in use by another form or window.

If a library logical attribute array is removed from the linked list of library logical attribute arrays (by closing the library or freeing all forms using that array), the pointer no longer points to valid memory. Care should be taken to ensure that the pointer stays in memory. Alternatively, you may copy the contents of the array to another storage buffer and that buffer.


Home Contents Previous Next