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
DtMmdbTocGetParentId(library call) DtMmdbTocGetParentId(library call)

DtMmdbTocGetParentId — obtains the object identifier of the parent section

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

The DtMmdbTocGetParentId function returns the object identifier of the section that is parent to the specified section. Use the DtMmdbFreeHandle to release the identifier when it is no longer needed.

Specifies the bookcase in the bookcase descriptor field and the section's Database Engine identifier, in the primary_oid field.

If DtMmdbTocGetParentId completes successfully, it returns the object identifier of the parent section. If it fails, it returns a NULL pointer.

The following shows how a DtMmdbTocGetParentId call might be coded.

DtMmdbInfoRequest request;
/* fill the request here */
DtMmdbHandle* parent = DtMmdbTocGetParentId(&&request);
if  (parent != DtMmdbGroundId) {

if (parent == 0) {
/* invalid request */
} else {
/* parent points at the parent section */
} } else { /* this section is the root section */
}

TO BE SUPPLIED


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.