Programming Guide



sm_ldb_next_handle

Gets the handle of a previously loaded LDB with the same name as the specified LDB

int sm_ldb_next_handle(int ldbhandle);

ldbhandle
The handle of a loaded LDB whose name is sought among previously loaded LDBs.

Returns

Description

sm_ldb_next_handle takes a handle of a loaded LDB and looks for a previously loaded instance of the same LDB. If an earlier instance exists, the function returns with its handle. You can call this function iteratively to ascertain how many instances of an LDB are loaded into memory and their order of precedence.