BOOL CALLBACK KWENUMPROC(LPCSTR lpszKeyWord, DWORD dwDataOffset, UINT uDataCount, LPARAM lParam)
Application-defined callback-Function to be used for calls to HlpEnumKeyWords. HlpEnumKeyWords calls this function for every Keyword retrieved from a Help or Media Viewer File
Defined in: C:/HLPACCES/HLPACCES.H
Return Value
The Callback-Function cancels the Enumeration by return 0, every other value continues enumeration
Parameters
lpszKeyWord
Keyword retrieved
dwDataOffset
Offset of the Keyword into the Keyword-Datafile (KWDATA, 0KWDATA or AKWDATA...) where the TopicOffsets for use with HlpTopicSeek can be retrieved
uDataCount
Number of uses of this Keyword in the File.
lParam
Application-Defined parameter transfered with the call to IFSEnumerateFiles
Comments
The Informations retrieved from the KeyWord Binary Tree contain the Keyword strings in an alphabetically sorted list and a Reference to the Keyword Data File (KWDATA, 0KWDATA, AKWDATA...)
The KWDATA file contains a list of DWORD-Values for the TopicOffsets linkes to the Topics that used these Keyword. To jump to a Topic using HlpTopicSeek or HlpTopicJumpAPI You first have to open the KWDATA-File, read the Topic-Offset(s) and use these for the Jump.