home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v2.zip / DDKX86 / DBCSDD / IBMH / PMHELP.H < prev    next >
Text File  |  1995-04-14  |  25KB  |  523 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /****************************** Module Header ******************************\
  13. *
  14. * Module Name: PMHELP.H
  15. *
  16. * OS/2 Presentation Manager Information Presentation Facility,
  17. * Help Manager declarations.
  18. *
  19. *
  20. * ===========================================================================
  21. *
  22. * The following symbols are used in this file for conditional sections.
  23. *
  24. *   #define:                To include:
  25. *
  26. *   INCL_WINHELP            Help manager structures and APIs
  27. *   INCL_DDF                Dynamic Data Formatting APIs
  28. *
  29. * ===========================================================================
  30. *
  31. * Comments at the end of each typedef line give the name tags used in
  32. * the assembler include version of this file.
  33. *
  34. * The assembler include version of this file excludes lines between XLATOFF
  35. * and XLATON comments.
  36. *
  37. \***************************************************************************/
  38.  
  39. /* XLATOFF */
  40. #ifdef __IBMC__
  41.    #pragma checkout( suspend )
  42.    #ifndef __CHKHDR__
  43.       #pragma checkout( suspend )
  44.    #endif
  45.    #pragma checkout( resume )
  46. #endif
  47. /* XLATON */
  48.  
  49. /* XLATOFF */
  50. #ifndef PMHELP_INCLUDED
  51.    /* XLATON */
  52.    #define PMHELP_INCLUDED
  53.    
  54.    
  55.    
  56.    /************************************************************************/
  57.    /* HelpSubTable entry structure                                         */
  58.    /************************************************************************/
  59.    typedef USHORT HELPSUBTABLE;
  60.    typedef HELPSUBTABLE *PHELPSUBTABLE;
  61.    
  62.    /************************************************************************/
  63.    /* HelpTable entry structure                                            */
  64.    /*                                                                      */
  65.    /*  Pack the structure HELPTABLE so that it is identical in the 32-Bit  */
  66.    /*  and 16-Bit world.  We have to do this because the HelpTable can     */
  67.    /*  reside either in memory or in the application's resources.          */
  68.    /************************************************************************/
  69.    
  70.    /* XLATOFF */
  71.    #pragma pack(2)   /* pack on word boundary */
  72.    /* XLATON */
  73.    
  74.    typedef struct _HELPTABLE       /* ht */
  75.    {
  76.       USHORT          idAppWindow;
  77.       PHELPSUBTABLE   phstHelpSubTable;
  78.       USHORT          idExtPanel;
  79.    } HELPTABLE;
  80.    typedef HELPTABLE *PHELPTABLE;
  81.    
  82.    /* XLATOFF */
  83.    #pragma pack()    /* reset to default packing */
  84.    /* XLATON */
  85.    
  86.    
  87.    /************************************************************************/
  88.    /* IPF Initialization Structure used on the                             */
  89.    /* WinCreateHelpInstance() call.                                        */
  90.    /************************************************************************/
  91.    
  92.    typedef struct _HELPINIT      /* hinit 32 bit */
  93.    {
  94.       ULONG        cb;
  95.       ULONG        ulReturnCode;
  96.       PSZ          pszTutorialName;
  97.       PHELPTABLE   phtHelpTable;
  98.       HMODULE      hmodHelpTableModule;
  99.       HMODULE      hmodAccelActionBarModule;
  100.       ULONG        idAccelTable;
  101.       ULONG        idActionBar;
  102.       PSZ          pszHelpWindowTitle;
  103.       ULONG        fShowPanelId;
  104.       PSZ          pszHelpLibraryName;
  105.    } HELPINIT;
  106.    typedef HELPINIT *PHELPINIT;
  107.    
  108.    
  109.    /************************************************************************/
  110.    /* Search parent chain indicator for HM_SET_ACTIVE_WINDOW message.      */
  111.    /************************************************************************/
  112.    #define HWND_PARENT         (HWND)NULL
  113.    
  114.    /************************************************************************/
  115.    /* Constants used to define whether user wants to display panel using   */
  116.    /* panel number or panel name.                                          */
  117.    /************************************************************************/
  118.    #define HM_RESOURCEID             0
  119.    #define HM_PANELNAME              1
  120.    
  121.    #define HMPANELTYPE_NUMBER        0
  122.    #define HMPANELTYPE_NAME          1
  123.    
  124.    /************************************************************************/
  125.    /* Constants used to define how the panel IDs are displayed on          */
  126.    /* help panels.                                                         */
  127.    /************************************************************************/
  128.    #define CMIC_HIDE_PANEL_ID        0x0000
  129.    #define CMIC_SHOW_PANEL_ID        0x0001
  130.    #define CMIC_TOGGLE_PANEL_ID      0x0002
  131.    
  132.    /************************************************************************/
  133.    /* Window Help API declarations.                                        */
  134.    /************************************************************************/
  135.    BOOL APIENTRY  WinDestroyHelpInstance(HWND hwndHelpInstance);
  136.    
  137.    HWND APIENTRY  WinCreateHelpInstance(HAB hab,
  138.                                         PHELPINIT phinitHMInitStructure);
  139.    
  140.    BOOL APIENTRY  WinAssociateHelpInstance(HWND hwndHelpInstance,
  141.                                            HWND hwndApp);
  142.    
  143.    HWND APIENTRY  WinQueryHelpInstance(HWND hwndApp);
  144.    
  145.    BOOL APIENTRY  WinLoadHelpTable(HWND hwndHelpInstance,
  146.                                    ULONG idHelpTable,
  147.                                    HMODULE Module);
  148.    
  149.    BOOL APIENTRY  WinCreateHelpTable(HWND hwndHelpInstance,
  150.                                      PHELPTABLE phtHelpTable);
  151.    
  152.    /************************************************************************/
  153.    /* IPF message base.                                                    */
  154.    /************************************************************************/
  155.    #define HM_MSG_BASE               0x0220
  156.    
  157.    /************************************************************************/
  158.    /* Messages applications can send to the IPF.                           */
  159.    /************************************************************************/
  160.    #define HM_DISMISS_WINDOW              HM_MSG_BASE+0x0001
  161.    #define HM_DISPLAY_HELP                HM_MSG_BASE+0x0002
  162.    #define HM_EXT_HELP                    HM_MSG_BASE+0x0003
  163.    #define HM_GENERAL_HELP                HM_EXT_HELP
  164.    #define HM_SET_ACTIVE_WINDOW           HM_MSG_BASE+0x0004
  165.    #define HM_LOAD_HELP_TABLE             HM_MSG_BASE+0x0005
  166.    #define HM_CREATE_HELP_TABLE           HM_MSG_BASE+0x0006
  167.    #define HM_SET_HELP_WINDOW_TITLE       HM_MSG_BASE+0x0007
  168.    #define HM_SET_SHOW_PANEL_ID           HM_MSG_BASE+0x0008
  169.    #define HM_REPLACE_HELP_FOR_HELP       HM_MSG_BASE+0x0009
  170.    #define HM_REPLACE_USING_HELP          HM_REPLACE_HELP_FOR_HELP
  171.    #define HM_HELP_INDEX                  HM_MSG_BASE+0x000a
  172.    #define HM_HELP_CONTENTS               HM_MSG_BASE+0x000b
  173.    #define HM_KEYS_HELP                   HM_MSG_BASE+0x000c
  174.    #define HM_SET_HELP_LIBRARY_NAME       HM_MSG_BASE+0x000d
  175.    
  176.    #define HM_SET_OBJCOM_WINDOW           HM_MSG_BASE+0x0018
  177.    #define HM_UPDATE_OBJCOM_WINDOW_CHAIN  HM_MSG_BASE+0x0019
  178.    #define HM_QUERY_DDF_DATA              HM_MSG_BASE+0x001a
  179.    #define HM_INVALIDATE_DDF_DATA         HM_MSG_BASE+0x001b
  180.    #define HM_QUERY                       HM_MSG_BASE+0x001c
  181.    #define HM_SET_COVERPAGE_SIZE          HM_MSG_BASE+0x001d
  182.    
  183.    /************************************************************************/
  184.    /* Constants used to query the info from IPF in HM_QUERY message        */
  185.    /************************************************************************/
  186.    
  187.    /* Hi word in lParam 1 */
  188.    #define HMQW_COVERPAGE           0x0001
  189.    #define HMQW_INDEX               0x0002
  190.    #define HMQW_TOC                 0x0003
  191.    #define HMQW_SEARCH              0x0004
  192.    #define HMQW_VIEWPAGES           0x0005
  193.    #define HMQW_LIBRARY             0x0006
  194.    #define HMQW_VIEWPORT            0x0007
  195.    #define HMQW_OBJCOM_WINDOW       0x0008
  196.    #define HMQW_INSTANCE            0x0009
  197.    #define HMQW_ACTIVEVIEWPORT      0x000a
  198.    #define CONTROL_SELECTED         0x000b
  199.    
  200.    #define HMQW_GROUP_VIEWPORT      0x00f1
  201.    #define HMQW_RES_VIEWPORT        0x00f2
  202.    #define USERDATA                 0x00f3
  203.    
  204.    /* Lo word in lParam1 of HMQW_VIEWPORT */
  205.    #define HMQVP_NUMBER             0x0001
  206.    #define HMQVP_NAME               0x0002
  207.    #define HMQVP_GROUP              0x0003
  208.    
  209.    /************************************************************************/
  210.    /* Predefined Control IDs                                               */
  211.    /************************************************************************/
  212.    #define CTRL_PREVIOUS_ID    ((USHORT)0x0001)
  213.    #define CTRL_SEARCH_ID      ((USHORT)0x0002)
  214.    #define CTRL_PRINT_ID       ((USHORT)0x0003)
  215.    #define CTRL_INDEX_ID       ((USHORT)0x0004)
  216.    #define CTRL_CONTENTS_ID    ((USHORT)0x0005)
  217.    #define CTRL_BACK_ID        ((USHORT)0x0006)
  218.    #define CTRL_FORWARD_ID     ((USHORT)0x0007)
  219.    #define CTRL_TUTORIAL_ID    ((USHORT)0x00FF)
  220.    
  221.    #define CTRL_USER_ID_BASE   ((USHORT)257)
  222.    
  223.    /************************************************************************/
  224.    /* Messages the IPF sends to the applications active window             */
  225.    /* as defined by the IPF.                                               */
  226.    /************************************************************************/
  227.    
  228.    #define HM_ERROR                       HM_MSG_BASE+0x000e
  229.    #define HM_HELPSUBITEM_NOT_FOUND       HM_MSG_BASE+0x000f
  230.    #define HM_QUERY_KEYS_HELP             HM_MSG_BASE+0x0010
  231.    #define HM_TUTORIAL                    HM_MSG_BASE+0x0011
  232.    #define HM_EXT_HELP_UNDEFINED          HM_MSG_BASE+0x0012
  233.    #define HM_GENERAL_HELP_UNDEFINED      HM_EXT_HELP_UNDEFINED
  234.    #define HM_ACTIONBAR_COMMAND           HM_MSG_BASE+0x0013
  235.    #define HM_INFORM                      HM_MSG_BASE+0x0014
  236.    #define HM_NOTIFY                      HM_MSG_BASE+0x0022
  237.    #define HM_SET_USERDATA                HM_MSG_BASE+0x0023
  238.    #define HM_CONTROL                     HM_MSG_BASE+0x0024
  239.    
  240.    /************************************************************************/
  241.    /* notify information for HM_NOTIFY                                     */
  242.    /************************************************************************/
  243.    #define OPEN_COVERPAGE        0x0001
  244.    #define OPEN_PAGE             0x0002
  245.    #define SWAP_PAGE             0x0003
  246.    #define OPEN_TOC              0x0004
  247.    #define OPEN_INDEX            0x0005
  248.    #define OPEN_HISTORY          0x0006
  249.    #define OPEN_SEARCH_HIT_LIST  0x0007
  250.    #define OPEN_LIBRARY          0x0008
  251.    #define HELP_REQUESTED        0x0009
  252.    
  253.    /************************************************************************/
  254.    /* HMERR_NO_FRAME_WND_IN_CHAIN - There is no frame window in the        */
  255.    /* window chain from which to find or set the associated help           */
  256.    /* instance.                                                            */
  257.    /************************************************************************/
  258.    #define  HMERR_NO_FRAME_WND_IN_CHAIN                0x00001001L
  259.    
  260.    /***********************************************************************/
  261.    /* HMERR_INVALID_ASSOC_APP_WND - The application window handle         */
  262.    /* specified on the WinAssociateHelpInstance() call is not a valid     */
  263.    /* window handle.                                                      */
  264.    /***********************************************************************/
  265.    #define  HMERR_INVALID_ASSOC_APP_WND                0x00001002L
  266.    
  267.    /***********************************************************************/
  268.    /* HMERR_INVALID_ASSOC_HELP_INST - The help instance handle specified  */
  269.    /* on the WinAssociateHelpInstance() call is not a valid               */
  270.    /* window handle.                                                      */
  271.    /***********************************************************************/
  272.    #define  HMERR_INVALID_ASSOC_HELP_INST              0x00001003L
  273.    
  274.    /***********************************************************************/
  275.    /* HMERR_INVALID_DESTROY_HELP_INST - The window handle specified       */
  276.    /* as the help instance to destroy is not of the help instance class.  */
  277.    /***********************************************************************/
  278.    #define  HMERR_INVALID_DESTROY_HELP_INST            0x00001004L
  279.    
  280.    /***********************************************************************/
  281.    /* HMERR_NO_HELP_INST_IN_CHAIN - The parent or owner chain of the      */
  282.    /* application window specified does not have a help instance          */
  283.    /* associated with it.                                                 */
  284.    /***********************************************************************/
  285.    #define  HMERR_NO_HELP_INST_IN_CHAIN                0x00001005L
  286.    
  287.    /***********************************************************************/
  288.    /* HMERR_INVALID_HELP_INSTANCE_HDL - The handle specified to be a      */
  289.    /* help instance does not have the class name of a IPF                 */
  290.    /* help instance.                                                      */
  291.    /***********************************************************************/
  292.    #define  HMERR_INVALID_HELP_INSTANCE_HDL            0x00001006L
  293.    
  294.    /***********************************************************************/
  295.    /* HMERR_INVALID_QUERY_APP_WND - The application window specified on   */
  296.    /* a WinQueryHelpInstance() call is not a valid window handle.         */
  297.    /***********************************************************************/
  298.    #define  HMERR_INVALID_QUERY_APP_WND                0x00001007L
  299.    
  300.    /***********************************************************************/
  301.    /* HMERR_HELP_INST_CALLED_INVALID -  The handle of the help instance   */
  302.    /* specified on an API call to the IPF does not have the               */
  303.    /* class name of an IPF help instance.                                 */
  304.    /***********************************************************************/
  305.    #define  HMERR_HELP_INST_CALLED_INVALID             0x00001008L
  306.    
  307.    #define  HMERR_HELPTABLE_UNDEFINE                   0x00001009L
  308.    #define  HMERR_HELP_INSTANCE_UNDEFINE               0x0000100aL
  309.    #define  HMERR_HELPITEM_NOT_FOUND                   0x0000100bL
  310.    #define  HMERR_INVALID_HELPSUBITEM_SIZE             0x0000100cL
  311.    #define  HMERR_HELPSUBITEM_NOT_FOUND                0x0000100dL
  312.    
  313.    /***********************************************************************/
  314.    /* HMERR_INDEX_NOT_FOUND - No index in library file.                   */
  315.    /***********************************************************************/
  316.    #define  HMERR_INDEX_NOT_FOUND                      0x00002001L
  317.    
  318.    /***********************************************************************/
  319.    /* HMERR_CONTENT_NOT_FOUND - Library file does not have any contents.  */
  320.    /***********************************************************************/
  321.    #define  HMERR_CONTENT_NOT_FOUND                    0x00002002L
  322.    
  323.    /***********************************************************************/
  324.    /* HMERR_OPEN_LIB_FILE     - Cannot open library file                  */
  325.    /***********************************************************************/
  326.    #define  HMERR_OPEN_LIB_FILE                        0x00002003L
  327.    
  328.    /***********************************************************************/
  329.    /* HMERR_READ_LIB_FILE     - Cannot read library file                  */
  330.    /***********************************************************************/
  331.    #define  HMERR_READ_LIB_FILE                        0x00002004L
  332.    
  333.    /***********************************************************************/
  334.    /* HMERR_CLOSE_LIB_FILE    - Cannot close library file                 */
  335.    /***********************************************************************/
  336.    #define  HMERR_CLOSE_LIB_FILE                       0x00002005L
  337.    
  338.    /***********************************************************************/
  339.    /* HMERR_INVALID_LIB_FILE  - Improper library file provided            */
  340.    /***********************************************************************/
  341.    #define  HMERR_INVALID_LIB_FILE                     0x00002006L
  342.    
  343.    /***********************************************************************/
  344.    /* HMERR_NO_MEMORY - Unable to allocate the requested amount of memory.*/
  345.    /***********************************************************************/
  346.    #define  HMERR_NO_MEMORY                            0x00002007L
  347.    
  348.    /***********************************************************************/
  349.    /* HMERR_ALLOCATE_SEGMENT - Unable                                     */
  350.    /* to allocate a segment of memory for memory allocation requested     */
  351.    /* from the IPF.                                                       */
  352.    /***********************************************************************/
  353.    #define  HMERR_ALLOCATE_SEGMENT                     0x00002008L
  354.    
  355.    /***********************************************************************/
  356.    /* HMERR_FREE_MEMORY - Unable to free allocated  memory                */
  357.    /***********************************************************************/
  358.    #define  HMERR_FREE_MEMORY                          0x00002009L
  359.    
  360.    /***********************************************************************/
  361.    /* HMERR_PANEL_NOT_FOUND  - Unable                                     */
  362.    /* to find a help panel requested to help manager                      */
  363.    /***********************************************************************/
  364.    #define  HMERR_PANEL_NOT_FOUND                      0x00002010L
  365.    
  366.    /***********************************************************************/
  367.    /* HMERR_DATABASE_NOT_OPEN - Unable to read the unopened database      */
  368.    /***********************************************************************/
  369.    #define  HMERR_DATABASE_NOT_OPEN                    0x00002011L
  370.    
  371.    /***********************************************************************/
  372.    /* HMERR_DDL_ERROR - Unable to load resource dll                       */
  373.    /***********************************************************************/
  374.    #define  HMERR_LOAD_DLL                              0x00002013L
  375.    
  376.    /***********************************************************************/
  377.    /* AC Viewport stucture definitions                                    */
  378.    /***********************************************************************/
  379.    typedef struct _ACVP        /* acvp */
  380.    {
  381.       ULONG  cb;
  382.       HAB    hAB;
  383.       HMQ    hmq;
  384.       ULONG  ObjectID;            /* object identifier */
  385.       HWND   hWndParent;          /* IPF viewport client handle */
  386.       HWND   hWndOwner;           /* IPF viewport client handle */
  387.       HWND   hWndACVP;            /* applications frame window hwnd */
  388.    } ACVP, *PACVP;
  389.    
  390.    /***********************************************************************/
  391.    /* DDF defines and prototypes                                          */
  392.    /***********************************************************************/
  393.    #ifndef PMDDF_H
  394.       #define PMDDF_H
  395.    #endif /* PMDDF_H */
  396.    
  397.    #ifdef INCL_DDF
  398.       /*********************************************************************/
  399.       /* Define Handle to DDF                                              */
  400.       /*********************************************************************/
  401.       typedef VOID *HDDF;
  402.       
  403.       /* DdfHyperText Flags */
  404.       #define REFERENCE_BY_ID     0L
  405.       #define REFERENCE_BY_RES    1L
  406.       
  407.       /* DdfBeginList formatting flags */
  408.       #define HMBT_NONE           1L
  409.       #define HMBT_ALL            2L
  410.       #define HMBT_FIT            3L
  411.       
  412.       #define HMLS_SINGLELINE     1L
  413.       #define HMLS_DOUBLELINE     2L
  414.       
  415.       /* DdfBitmap alignment flags */
  416.       #define ART_RUNIN           0x10L
  417.       #define ART_LEFT            0x01L
  418.       #define ART_RIGHT           0x02L
  419.       #define ART_CENTER          0x04L
  420.       
  421.       /* DdfSetColor Color Flag */
  422.       #define CLR_UNCHANGED      (-6L)
  423.       
  424.       /**********************************************************************/
  425.       /* DDF API declarations.                                              */
  426.       /**********************************************************************/
  427.       
  428.       HDDF APIENTRY  DdfInitialize (HWND hwndHelpInstance,
  429.                                     ULONG cbBuffer,
  430.                                     ULONG ulIncrement);
  431.       
  432.       BOOL APIENTRY  DdfPara (HDDF hddf);
  433.       
  434.       BOOL APIENTRY  DdfSetFormat (HDDF hddf,
  435.                                    ULONG fFormatType);
  436.       
  437.       BOOL APIENTRY  DdfSetTextAlign (HDDF hddf,
  438.                                       ULONG fAlign);
  439.       
  440.       BOOL APIENTRY  DdfSetColor (HDDF hddf,
  441.                                   COLOR fBackColor,
  442.                                   COLOR fForColor);
  443.       
  444.       BOOL APIENTRY  DdfInform (HDDF hddf,
  445.                                 PSZ pszText,
  446.                                 ULONG resInformNumber);
  447.       
  448.       BOOL APIENTRY  DdfSetFontStyle (HDDF hddf,
  449.                                       ULONG fFontStyle);
  450.       
  451.       BOOL APIENTRY  DdfHyperText (HDDF hddf,
  452.                                    PSZ pszText,
  453.                                    PSZ pszReference,
  454.                                    ULONG fReferenceType);
  455.       
  456.       BOOL APIENTRY  DdfBeginList (HDDF hddf,
  457.                                    ULONG ulWidthDT,
  458.                                    ULONG fBreakType,
  459.                                    ULONG fSpacing);
  460.       
  461.       BOOL APIENTRY  DdfListItem (HDDF hddf,
  462.                                   PSZ pszTerm,
  463.                                   PSZ pszDescription);
  464.       
  465.       BOOL APIENTRY  DdfEndList (HDDF hddf);
  466.       
  467.       BOOL APIENTRY  DdfMetafile (HDDF hddf,
  468.                                   HMF hmf,
  469.                                   PRECTL prclRect);
  470.       
  471.       BOOL APIENTRY  DdfText (HDDF hddf,
  472.                               PSZ pszText);
  473.       
  474.       BOOL APIENTRY  DdfSetFont (HDDF hddf,
  475.                                  PSZ pszFaceName,
  476.                                  ULONG ulWidth,
  477.                                  ULONG ulHeight);
  478.       
  479.       BOOL APIENTRY  DdfBitmap (HDDF hddf,
  480.                                 HBITMAP hbm,
  481.                                 ULONG fAlign);
  482.       
  483.       /*********************************************************************/
  484.       /* error codes returned by DDF API functions                         */
  485.       /*********************************************************************/
  486.       #define HMERR_DDF_MEMORY                  0x3001
  487.       #define HMERR_DDF_ALIGN_TYPE              0x3002
  488.       #define HMERR_DDF_BACKCOLOR               0x3003
  489.       #define HMERR_DDF_FORECOLOR               0x3004
  490.       #define HMERR_DDF_FONTSTYLE               0x3005
  491.       #define HMERR_DDF_REFTYPE                 0x3006
  492.       #define HMERR_DDF_LIST_UNCLOSED           0x3007
  493.       #define HMERR_DDF_LIST_UNINITIALIZED      0x3008
  494.       #define HMERR_DDF_LIST_BREAKTYPE          0x3009
  495.       #define HMERR_DDF_LIST_SPACING            0x300A
  496.       #define HMERR_DDF_HINSTANCE               0x300B
  497.       #define HMERR_DDF_EXCEED_MAX_LENGTH       0x300C
  498.       #define HMERR_DDF_EXCEED_MAX_INC          0x300D
  499.       #define HMERR_DDF_INVALID_DDF             0x300E
  500.       #define HMERR_DDF_FORMAT_TYPE             0x300F
  501.       #define HMERR_DDF_INVALID_PARM            0x3010
  502.       #define HMERR_DDF_INVALID_FONT            0x3011
  503.       #define HMERR_DDF_SEVERE                  0x3012
  504.       
  505.    #endif /* INCL_DDF */
  506.    /* XLATOFF */
  507.    
  508.    
  509. #endif /* PMHELP_INCLUDED */
  510. /* XLATON */
  511.  
  512. /* XLATOFF */
  513. #ifdef __IBMC__
  514.    #pragma checkout( suspend )
  515.    #ifndef __CHKHDR__
  516.       #pragma checkout( resume )
  517.    #endif
  518.    #pragma checkout( resume )
  519. #endif
  520. /* XLATON */
  521.  
  522. /**************************** end of file **********************************/
  523.