home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / pmhelp.h < prev    next >
C/C++ Source or Header  |  1999-04-30  |  26KB  |  550 lines

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