DTMMDBTOCGETPARENTID(3)
π DtMmdbTocGetParentId π
okay so this is DtMmdbTocGetParentId, a library call, and sheβs here to hand you the object identifier of a parent section. Bestie, weβre doing hierarchy math and weβre doing it cute π
πΈ NAME πΈ
DtMmdbTocGetParentId β obtains the object identifier of the parent section β¨
π¦ SYNOPSIS π¦
#include &<DtMmdb.h>
DtMmdbHandle* DtMmdbTocGetParentId(
DtMmdbInfoRequest* request);
π DESCRIPTION π
The DtMmdbTocGetParentId function returns the object identifier of the section that is parent to the specified section. Iconic behavior, honestly. Use DtMmdbFreeHandle to release the identifier when it is no longer needed β like, clean up after yourself, bestie, we love a responsible main character π
π ARGUMENTS π
requestβ Specifies the bookcase in the bookcase descriptor field and the sectionβs Database Engine identifier, in theprimary_oidfield. Both of those details matter, so donβt skip βem.
π RETURN VALUE π
If DtMmdbTocGetParentId completes successfully, it returns the object identifier of the parent section. Slay. If it fails, it returns a NULL pointer. Not slay, but important to know.
π EXAMPLE π
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 */
}
π SEE ALSO π
TO BE SUPPLIED
Catch you later, bestie β this was the DtMmdbTocGetParentId(library call) page π«Άπ
and the footer vibe is just that same library-call label, with no extra source/version/date line hiding here today, periodt β¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms