Directory Contents Search << >>


TITLEENUMPROC

BOOL CALLBACK TITLEENUMPROC(LPCSTR lpszTitle, LPCSTR lpszDummy, DWORD dwTopicOffset, LPARAM lParam)

Type-Definition for an application-supplied callback-Function that will be called each time a Title has been retrieved from the Help-File by the HlpEnumTitles function.

Defined in: C:/HLPACCES/HLPACCES.H

Return Value

The Callback-Function cancels the Enumeration by return 0, every other value continues enumeration

TRUE if the Function was Successfull FALSE else

Parameters

lpszTitle

Title-String retrieved from Help-File TTLBTREE

lpszDummy

Dummy-String variable might eventually be used for Group names in the future and is currently always NULL

dwTopicOffset

Topic-Offset into the TOPIC-File.

lParam

Application-Defined parameter transfered to HlpEnumTitles

Comments

The number of enumerated Names can be huge, depending on the .MVB - or .HLP File.

The enumeration is sorted by the value of TopicOffset

As the Group-Definition Contained in a Media Viewer 2.0-File is not itself stored in the TTLBTREE internal File, this Function will not receive it. The HlpTopicEnumerate Function can be used to retrieve these strings for one or all topics.

logo