Help contents and config files

Can anyone tell me what the format is for the help contents or config
files. OpenHelp is hopeless at getting my desired set of help files
straight (it appears to do nothing)..
I have been able to add the win32 help file to the index page by hand
editing the bcw.cnt file, but I would like to add it to the contents
page. I'm not sure what the various tags in the file actually mean.
There appear to be INCLUDE, LINK, INDEX and possibly others. But they
don't seem to function in an obvious way.
Thanks in advance.