DtMmdbBookCaseGetInfo(library call) DtMmdbBookCaseGetInfo(library call)
NAME [Toc] [Back]
DtMmdbBookCaseGetInfo - obtains information about a bookcase
SYNOPSIS [Toc] [Back]
#include <DtMmdb.h>
DtMmdbBookCaseInfo* DtMmdbBookCaseGetInfo(
int bookcase_descriptor);
DESCRIPTION [Toc] [Back]
The DtMmdbBookCaseGetInfo function returns a structure containing
information about the specified bookcase.
ARGUMENTS [Toc] [Back]
bookcase_descriptor
Specifies the descriptor for the bookcase.
RETURN VALUE [Toc] [Back]
If DtMmdbBookCaseGetInfo completes successfully, it return the
information structure for the bookcase. If it fails, it returns NULL.
EXAMPLE [Toc] [Back]
The following shows how a DtMmdbBookCaseGetInfo call might be coded.
int i;
DtMmdbInfoLib* infolibInfo = DtMmdbInfoLibGetInfo(0);
DtMmdbBookCaseInfo* x;
for (i=0; i<infolibInfo->num_bookcases; i++)
{
x = DtMmdbBookCaseGetInfo(i);
/* make use of x */
}
SEE ALSO [Toc] [Back]
DtMmdbBookCaseFreeInfo(3), DtMmdbBookCaseGetInfo(3)
- 1 - Formatted: January 24, 2005 [ Back ] |