Important: The information in this document is obsolete and should not be used for new development.
AGGetAvailableDBTypes
Use theAGGetAvailableDBTypesfunction to determine the types of guide files that are available in the current application's Help menu.
UInt32 AGGetAvailableDBTypes(void);DESCRIPTION
TheAGGetAvailableDBTypesfunction returns a collection of bit flags that indicate the types of guide files that are available in the current application's Help menu:
enum AGDBTypeBit { kAGDBBitAny = 0x00000001,/*one or more guide */ /* files are present*/ kAGDBTypeBitHelp = 0x00000002,/*Help guide file*/ kAGDBTypeBitTutorial /*Tutorial guide */ = 0x00000004,/* file*/ kAGDBTypeBitShortcuts /*Shortcuts guide */ = 0x00000008,/* file*/ kAGDBTypeBitAbout = 0x00000010,/*About guide file*/ kAGDBTypeBitOther = 0x00000080/*Other guide file*/ };TheAGGetAvailableDBTypesfunction returns
kAGDBBitAnyif one or more guide files are presentkAGDBTypeBitHelpif a Help guide file is present- kAGDBTypeBitTutorial if a Tutorial guide file is present
- kAGDBTypeBitShortcuts if a Shortcuts guide file is present
- kAGDBTypeBitAbout if an About guide file is present
- kAGDBTypeBitOther if an Other guide file is present
- 0 if no guide files are present
SEE ALSO
To count the number of guide files of a particular type, use theAGFileGetDBCountfunction, described next. To get the file system specification record for a guide file, use theAGFileGetIndDBfunction, as described on page 9-10.