DTMMDBBOOKGETTOCOBJECTID(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

Okay bestie, welcome to the DtMmdbBookGetTocObjectId(library call) page β€” this one literally obtains the locator of a book's TOC section. Slay.

✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

The DtMmdbBookGetTocObjectId function returns the object identifier of the specified book's TOC section. That's the whole vibe.

Use the DtMmdbFreeHandleList function to release the memory when the object identifier is no longer needed. Pls actually do this, bestie β€” cleanup is self-care. πŸ’…

Table lookup is involved when the identifier is specified by either the primary_oid or sequence_num field.

πŸŽ€ ARGUMENTS πŸŽ€

  • request β€” specifies the bookcase in the bookcase_descriptor field, as well as a valid value in the primary_oid, the secondary_oid, or the sequence_num field. The primary_oid represents the DtInfo Database object identifier of the TOC section; the secondary_oid represents the object identifier of the book itself; and the sequence_num represents the sequence number of the book within the bookcase (0 based). If more than one of these fields have a valid value, the order of precedence is: primary_oid, secondary_oid, and, last, sequence_num. Highkey respect the hierarchy. πŸ‘‘

πŸ”₯ RETURN VALUE πŸ”₯

If DtMmdbBookGetTocObjectId completes successfully, it returns a pointer to the object identifier for the book's TOC section. If it fails, it returns a NULL pointer. No cap. πŸ’€

🌈 EXAMPLE 🌈

The following shows how a DtMmdbBookGetTocObjectId call might be coded. Copy it exactly, friend β€” including the && in the call, because that's what the page says. 🫢

DtMmdbInfoRequest request;
request.bookcase_descriptor = DtMmdbGetBookCase(myInfoLibPtr, "myBase");
request.sequence_num = 1;
DtMmdbBookGetTocObjectId(&&request);

πŸ‘‘ SEE ALSO πŸ‘‘

TO BE SUPPLIED.

That's the whole cross-reference situation β€” literally TO BE SUPPLIED., bestie. No extra names, no invented lore, no side quests. 🧚


Cute sign-off: the footer on this one is just the page title in the (library call) section, and there's no source/version or date listed on this page. Byeee πŸ’–

πŸ“¦ where this page comes from