source: branches/2.20_branch/hlpmgr/helptables.h@ 485

Last change on this file since 485 was 26, checked in by RBRi, 19 years ago

+ helpmgr files

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1#ifndef HELPTABLES_H
2#define HELPTABLES_H
3
4// correct definition for Help subtable
5
6typedef struct
7{
8 USHORT idWindow; // window ID
9 USHORT idPanel; // IPF topic (panel ID)
10 // there may be extra data here.
11} HELPSUBTABLEENTRY;
12
13typedef HELPSUBTABLEENTRY* PHELPSUBTABLEENTRY;
14
15typedef struct
16{
17 USHORT usSubitemSize; // Size of each entry
18 HELPSUBTABLEENTRY HelpSubTableEntry[]; // Entries
19} HELPSUBTABLE2;
20
21typedef HELPSUBTABLE2* PHELPSUBTABLE2;
22
23void LoadHelpTableFromResource( PHELPTABLE* ppHelpTable,
24 HMODULE Module,
25 USHORT idHelpTable );
26
27void LoadHelpTableFromMemory( PHELPTABLE* ppDestTable,
28 PHELPTABLE pSourceTable );
29
30BOOL FindIDInHelpTable( USHORT idWindow,
31 PHELPTABLE pHelpTable,
32 USHORT* pExtendedHelpPanelID,
33 PHELPSUBTABLE2* ppHelpSubTable );
34
35BOOL FindIDInHelpSubTable( USHORT id,
36 PHELPSUBTABLE2 pHelpSubTable,
37 USHORT* pPanelID );
38
39void FreeHelpTable( PHELPTABLE* ppHelpTable );
40
41#endif
Note: See TracBrowser for help on using the repository browser.