GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DtMmdbDlpGetPrevSectionId(library call) DtMmdbDlpGetPrevSectionId(library call)

DtMmdbDlpGetPrevSectionId — obtains the object identifier of the previous section

#include &<DtMmdb.h>
DtMmdbHandle* DtMmdbDlpGetPrevSectionId(
DtMmdbInfoRequest* request);

The 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.

Specifies the bookcase in the bookcase descriptor field, as well as the id of the current section in the primary_oid field.

If 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.

The following shows how a DtMmdbDlpGetPrevSectionId call might be coded.

DtMmdbInfoRequest request;
/* fill the request here */
DtMmdbHandle* x = DtMmdbDlpGetPrevSectionId(&&request);
if ( x == DtMMdbGroundId) {

/* no previous section */ } else
{
if (x == 0) {
/* bad request */
}
else
{ /* make use of x */
}

DtMmdbDlpGetNextSectionId(3)


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.