| 
            Last change
 on this file since 189 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 | 
 | 
|---|
| 6 | typedef struct
 | 
|---|
| 7 | {
 | 
|---|
| 8 |   USHORT idWindow; // window ID
 | 
|---|
| 9 |   USHORT idPanel;  // IPF topic (panel ID)
 | 
|---|
| 10 |   // there may be extra data here.
 | 
|---|
| 11 | } HELPSUBTABLEENTRY;
 | 
|---|
| 12 | 
 | 
|---|
| 13 | typedef HELPSUBTABLEENTRY* PHELPSUBTABLEENTRY;
 | 
|---|
| 14 | 
 | 
|---|
| 15 | typedef struct
 | 
|---|
| 16 | {
 | 
|---|
| 17 |   USHORT            usSubitemSize;        //  Size of each entry
 | 
|---|
| 18 |   HELPSUBTABLEENTRY HelpSubTableEntry[];  // Entries
 | 
|---|
| 19 | } HELPSUBTABLE2; 
 | 
|---|
| 20 | 
 | 
|---|
| 21 | typedef HELPSUBTABLE2* PHELPSUBTABLE2;
 | 
|---|
| 22 | 
 | 
|---|
| 23 | void LoadHelpTableFromResource( PHELPTABLE* ppHelpTable,
 | 
|---|
| 24 |                                 HMODULE Module,
 | 
|---|
| 25 |                                 USHORT idHelpTable );
 | 
|---|
| 26 | 
 | 
|---|
| 27 | void LoadHelpTableFromMemory( PHELPTABLE* ppDestTable,
 | 
|---|
| 28 |                               PHELPTABLE pSourceTable );
 | 
|---|
| 29 | 
 | 
|---|
| 30 | BOOL FindIDInHelpTable( USHORT idWindow,
 | 
|---|
| 31 |                         PHELPTABLE pHelpTable,
 | 
|---|
| 32 |                         USHORT* pExtendedHelpPanelID,
 | 
|---|
| 33 |                         PHELPSUBTABLE2* ppHelpSubTable );
 | 
|---|
| 34 | 
 | 
|---|
| 35 | BOOL FindIDInHelpSubTable( USHORT id,
 | 
|---|
| 36 |                            PHELPSUBTABLE2 pHelpSubTable,
 | 
|---|
| 37 |                            USHORT* pPanelID );
 | 
|---|
| 38 | 
 | 
|---|
| 39 | void FreeHelpTable( PHELPTABLE* ppHelpTable );
 | 
|---|
| 40 | 
 | 
|---|
| 41 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.