![]() |
![]()
| ![]() |
![]()
NAMEDtMmdbDlpGetPrevSectionId — obtains the object identifier of the previous section SYNOPSIS#include &<DtMmdb.h> DtMmdbHandle* DtMmdbDlpGetPrevSectionId( DtMmdbInfoRequest* request); DESCRIPTIONThe DtMmdbDlpGetPrevSectionId function returns the object identifier of the previous section. You can use this function to traverse the TOC hierarchy in a depth-first fashion. Use the DtMmdbFreeHandleList function to release the memory when the object identifier is no longer needed. Table lookup is involved. ARGUMENTS
RETURN VALUEIf DtMmdbDlpGetPrevSectionId completes successfully, it returns a pointer to the object identifier for the previous section or DtMmdbGroundId, if there is no previous section. If it fails, it returns a NULL pointer. EXAMPLEThe following shows how a DtMmdbDlpGetPrevSectionId call might be coded. DtMmdbInfoRequest request; /* fill the request here */ DtMmdbHandle* x = DtMmdbDlpGetPrevSectionId(&&request); if ( x == DtMMdbGroundId) { SEE ALSODtMmdbDlpGetNextSectionId(3)
|