ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

htmlhelp.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2004 Jacek Caban
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #ifndef __HTMLHELP_H__
00020 #define __HTMLHELP_H__
00021 
00022 #define HH_DISPLAY_TOPIC        0x00
00023 #define HH_HELP_FINDER          0x00
00024 #define HH_DISPLAY_TOC          0x01
00025 #define HH_DISPLAY_INDEX        0x02
00026 #define HH_DISPLAY_SEARCH       0x03
00027 #define HH_SET_WIN_TYPE         0x04
00028 #define HH_GET_WIN_TYPE         0x05
00029 #define HH_GET_WIN_HANDLE       0x06
00030 #define HH_ENUM_INFO_TYPE       0x07
00031 #define HH_SET_INFO_TYPE        0x08
00032 #define HH_SYNC                 0x09
00033 #define HH_RESERVED1            0x0A
00034 #define HH_RESERVED2            0x0B
00035 #define HH_RESERVED3            0x0C
00036 #define HH_KEYWORD_LOOKUP       0x0D
00037 #define HH_DISPLAY_TEXT_POPUP   0x0E
00038 #define HH_HELP_CONTEXT         0x0F
00039 #define HH_TP_HELP_CONTEXTMENU  0x10
00040 #define HH_TP_HELP_WM_HELP      0x11
00041 #define HH_CLOSE_ALL            0x12
00042 #define HH_ALINK_LOOKUP         0x13
00043 #define HH_GET_LAST_ERROR       0x14
00044 #define HH_ENUM_CATEGORY        0x15
00045 #define HH_ENUM_CATEGORY_IT     0x16
00046 #define HH_RESET_IT_FILTER      0x17
00047 #define HH_SET_INCLUSIVE_FILTER 0x18
00048 #define HH_SET_EXCLUSIVE_FILTER 0x19
00049 #define HH_INITIALIZE           0x1C
00050 #define HH_UNINITIALIZE         0x1D
00051 #define HH_SAFE_DISPLAY_TOPIC   0x20
00052 #define HH_PRETRANSLATEMESSAGE  0xFD
00053 #define HH_SET_GLOBAL_PROPERTY  0xFC
00054 
00055 #define HHWIN_PROP_TAB_AUTOHIDESHOW  0x00000001
00056 #define HHWIN_PROP_ONTOP             0x00000002
00057 #define HHWIN_PROP_NOTITLEBAR        0x00000004
00058 #define HHWIN_PROP_NODEF_STYLES      0x00000008
00059 #define HHWIN_PROP_NODEF_EXSTYLES    0x00000010
00060 #define HHWIN_PROP_TRI_PANE          0x00000020
00061 #define HHWIN_PROP_NOTB_TEXT         0x00000040
00062 #define HHWIN_PROP_POST_QUIT         0x00000080
00063 #define HHWIN_PROP_AUTO_SYNC         0x00000100
00064 #define HHWIN_PROP_TRACKING          0x00000200
00065 #define HHWIN_PROP_TAB_SEARCH        0x00000400
00066 #define HHWIN_PROP_TAB_HISTORY       0x00000800
00067 #define HHWIN_PROP_TAB_FAVORITES     0x00001000
00068 #define HHWIN_PROP_CHANGE_TITLE      0x00002000
00069 #define HHWIN_PROP_NAV_ONLY_WIN      0x00004000
00070 #define HHWIN_PROP_NO_TOOLBAR        0x00008000
00071 #define HHWIN_PROP_MENU              0x00010000
00072 #define HHWIN_PROP_TAB_ADVSEARCH     0x00020000
00073 #define HHWIN_PROP_USER_POS          0x00040000
00074 #define HHWIN_PROP_TAB_CUSTOM1       0x00080000
00075 #define HHWIN_PROP_TAB_CUSTOM2       0x00100000
00076 #define HHWIN_PROP_TAB_CUSTOM3       0x00200000
00077 #define HHWIN_PROP_TAB_CUSTOM4       0x00400000
00078 #define HHWIN_PROP_TAB_CUSTOM5       0x00800000
00079 #define HHWIN_PROP_TAB_CUSTOM6       0x01000000
00080 #define HHWIN_PROP_TAB_CUSTOM7       0x02000000
00081 #define HHWIN_PROP_TAB_CUSTOM8       0x04000000
00082 #define HHWIN_PROP_TAB_CUSTOM9       0x08000000
00083 #define HHWIN_TB_MARGIN              0x10000000
00084 
00085 #define HHWIN_PARAM_PROPERTIES     0x00000002
00086 #define HHWIN_PARAM_STYLES         0x00000004
00087 #define HHWIN_PARAM_EXSTYLES       0x00000008
00088 #define HHWIN_PARAM_RECT           0x00000010
00089 #define HHWIN_PARAM_NAV_WIDTH      0x00000020
00090 #define HHWIN_PARAM_SHOWSTATE      0x00000040
00091 #define HHWIN_PARAM_INFOTYPES      0x00000080
00092 #define HHWIN_PARAM_TB_FLAGS       0x00000100
00093 #define HHWIN_PARAM_EXPANSION      0x00000200
00094 #define HHWIN_PARAM_TABPOS         0x00000400
00095 #define HHWIN_PARAM_TABORDER       0x00000800
00096 #define HHWIN_PARAM_HISTORY_COUNT  0x00001000
00097 #define HHWIN_PARAM_CUR_TAB        0x00002000
00098 
00099 #define HHWIN_BUTTON_EXPAND      0x00000002
00100 #define HHWIN_BUTTON_BACK        0x00000004
00101 #define HHWIN_BUTTON_FORWARD     0x00000008
00102 #define HHWIN_BUTTON_STOP        0x00000010
00103 #define HHWIN_BUTTON_REFRESH     0x00000020
00104 #define HHWIN_BUTTON_HOME        0x00000040
00105 #define HHWIN_BUTTON_BROWSE_FWD  0x00000080
00106 #define HHWIN_BUTTON_BROWSE_BCK  0x00000100
00107 #define HHWIN_BUTTON_NOTES       0x00000200
00108 #define HHWIN_BUTTON_CONTENTS    0x00000400
00109 #define HHWIN_BUTTON_SYNC        0x00000800
00110 #define HHWIN_BUTTON_OPTIONS     0x00001000
00111 #define HHWIN_BUTTON_PRINT       0x00002000
00112 #define HHWIN_BUTTON_INDEX       0x00004000
00113 #define HHWIN_BUTTON_SEARCH      0x00008000
00114 #define HHWIN_BUTTON_HISTORY     0x00010000
00115 #define HHWIN_BUTTON_FAVORITES   0x00020000
00116 #define HHWIN_BUTTON_JUMP1       0x00040000
00117 #define HHWIN_BUTTON_JUMP2       0x00080000
00118 #define HHWIN_BUTTON_ZOOM        0x00100000
00119 #define HHWIN_BUTTON_TOC_NEXT    0x00200000
00120 #define HHWIN_BUTTON_TOC_PREV    0x00400000
00121 
00122 #define HHWIN_DEF_BUTTONS  \
00123     (HHWIN_BUTTON_EXPAND | HHWIN_BUTTON_BACK | HHWIN_BUTTON_OPTIONS | HHWIN_BUTTON_PRINT)
00124 
00125 #define IDTB_EXPAND       200
00126 #define IDTB_CONTRACT     201
00127 #define IDTB_STOP         202
00128 #define IDTB_REFRESH      203
00129 #define IDTB_BACK         204
00130 #define IDTB_HOME         205
00131 #define IDTB_SYNC         206
00132 #define IDTB_PRINT        207
00133 #define IDTB_OPTIONS      208
00134 #define IDTB_FORWARD      209
00135 #define IDTB_NOTES        210
00136 #define IDTB_BROWSE_FWD   211
00137 #define IDTB_BROWSE_BACK  212
00138 #define IDTB_CONTENTS     213
00139 #define IDTB_INDEX        214
00140 #define IDTB_SEARCH       215
00141 #define IDTB_HISTORY      216
00142 #define IDTB_FAVORITES    217
00143 #define IDTB_JUMP1        218
00144 #define IDTB_JUMP2        219
00145 #define IDTB_CUSTOMIZE    221
00146 #define IDTB_ZOOM         222
00147 #define IDTB_TOC_NEXT     223
00148 #define IDTB_TOC_PREV     224
00149 
00150 #define HHN_FIRST          (0U-860U)
00151 #define HHN_LAST           (0U-879U)
00152 #define HHN_NAVCOMPLETE    HHN_FIRST
00153 #define HHN_TRACK          (HHN_FIRST-1)
00154 #define HHN_WINDOW_CREATE  (HHN_FIRST-2)
00155 
00156 
00157 #ifdef __cplusplus
00158 extern "C" {
00159 #endif
00160 
00161 typedef struct tagHH_NOTIFY {
00162     NMHDR hdr;
00163     PCSTR pszurl;
00164 } HH_NOTIFY;
00165 
00166 typedef struct tagHH_POPUPA {
00167     int       cbStruct;
00168     HINSTANCE hinst;
00169     UINT      idString;
00170     LPCSTR    pszText;
00171     POINT     pt;
00172     COLORREF  clrForeground;
00173     COLORREF  clrBackground;
00174     RECT      rcMargins;
00175     LPCSTR    pszFont;
00176 } HH_POPUPA;
00177 
00178 typedef struct tagHH_POPUPW {
00179     int       cbStruct;
00180     HINSTANCE hinst;
00181     UINT      idString;
00182     LPCWSTR   pszText;
00183     POINT     pt;
00184     COLORREF  clrForeground;
00185     COLORREF  clrBackground;
00186     RECT      rcMargins;
00187     LPCWSTR   pszFont;
00188 } HH_POPUPW;
00189 
00190 DECL_WINELIB_TYPE_AW(HH_POPUP)
00191 
00192 typedef struct tagHH_ALINKA {
00193     int    cbStruct;
00194     BOOL   fReserved;
00195     LPCSTR pszKeywords;
00196     LPCSTR pszUrl;
00197     LPCSTR pszMsgText;
00198     LPCSTR pszMsgTitle;
00199     LPCSTR pszWindow;
00200     BOOL   fIndexOnFail;
00201 } HH_ALINKA;
00202 
00203 typedef struct tagHH_ALINKW {
00204     int     cbStruct;
00205     BOOL    fReserved;
00206     LPCWSTR pszKeywords;
00207     LPCWSTR pszUrl;
00208     LPCWSTR pszMsgText;
00209     LPCWSTR pszMsgTitle;
00210     LPCWSTR pszWindow;
00211     BOOL    fIndexOnFail;
00212 } HH_ALINKW;
00213 
00214 DECL_WINELIB_TYPE_AW(HH_ALINK)
00215 
00216 enum {
00217     HHWIN_NAVTYPE_TOC,
00218     HHWIN_NAVTYPE_INDEX,
00219     HHWIN_NAVTYPE_SEARCH,
00220     HHWIN_NAVTYPE_FAVORITES,
00221     HHWIN_NAVTYPE_HISTORY,
00222     HHWIN_NAVTYPE_AUTHOR,
00223     HHWIN_NAVTYPE_CUSTOM_FIRST = 11
00224 };
00225 
00226 enum {
00227     IT_INCLUSIVE,
00228     IT_EXCLUSIVE,
00229     IT_HIDDEN
00230 };
00231 
00232 typedef struct tagHH_ENUM_IT {
00233     int    cbStruct;
00234     int    iType;
00235     LPCSTR pszCatName;
00236     LPCSTR pszITName;
00237     LPCSTR pszITDescription;
00238 } HH_ENUM_IT, *PHH_ENUM_IT;
00239 
00240 typedef struct tagHH_ENUM_CAT {
00241     int    cbStruct;
00242     LPCSTR pszCatName;
00243     LPCSTR pszCatDescription;
00244 } HH_ENUM_CAT, *PHH_ENUM_CAT;
00245 
00246 typedef struct tagHH_SET_INFOTYPE {
00247     int    cbStruct;
00248     LPCSTR pszCatName;
00249     LPCSTR pszInfoTypeName;
00250 } HH_SET_INFOTYPE;
00251 
00252 typedef DWORD HH_INFOTYPE, *PHH_INFOTYPE;
00253 
00254 enum {
00255     HHWIN_NAVTAB_TOP,
00256     HHWIN_NAVTAB_LEFT,
00257     HHWIN_NAVTAB_BOTTOM
00258 };
00259 
00260 #define HH_MAX_TABS 19
00261 
00262 enum {
00263     HH_TAB_CONTENTS,
00264     HH_TAB_INDEX,
00265     HH_TAB_SEARCH,
00266     HH_TAB_FAVORITES,
00267     HH_TAB_HISTORY,
00268     HH_TAB_AUTHOR,
00269     HH_TAB_CUSTOM_FIRST = 11,
00270     HH_TAB_CUSTOM_LAST = HH_MAX_TABS
00271 };
00272 
00273 #define HH_MAX_TABS_CUSTOM        (HH_TAB_CUSTOM_LAST-HH_TAB_CUSTOM_FIRST+1)
00274 #define HH_FTS_DEFAULT_PROXIMITY  -1
00275 
00276 typedef struct tagHH_FTS_QUERYA {
00277     int    cbStruct;
00278     BOOL   fUniCodeStrings;
00279     LPCSTR pszSearchQuery;
00280     LONG   iProximity;
00281     BOOL   fStemmedSearch;
00282     BOOL   fTitleOnly;
00283     BOOL   fExecute;
00284     LPCSTR pszWindow;
00285 } HH_FTS_QUERYA;
00286 
00287 typedef struct tagHH_FTS_QUERYW {
00288     int     cbStruct;
00289     BOOL    fUniCodeStrings;
00290     LPCWSTR pszSearchQuery;
00291     LONG    iProximity;
00292     BOOL    fStemmedSearch;
00293     BOOL    fTitleOnly;
00294     BOOL    fExecute;
00295     LPCWSTR pszWindow;
00296 } HH_FTS_QUERYW;
00297 
00298 DECL_WINELIB_TYPE_AW(HH_FTS_QUERY)
00299 
00300 typedef struct tagHH_WINTYPEA {
00301     int          cbStruct;
00302     BOOL         fUniCodeStrings;
00303     LPCSTR       pszType;
00304     DWORD        fsValidMembers;
00305     DWORD        fsWinProperties;
00306     LPCSTR       pszCaption;
00307     DWORD        dwStyles;
00308     DWORD        dwExStyles;
00309     RECT         rcWindowPos;
00310     int          nShowState;
00311     HWND         hwndHelp;
00312     HWND         hwndCaller;
00313     PHH_INFOTYPE paInfoTypes;
00314     HWND         hwndToolBar;
00315     HWND         hwndNavigation;
00316     HWND         hwndHTML;
00317     int          iNavWidth;
00318     RECT         rcHTML;
00319     LPCSTR       pszToc;
00320     LPCSTR       pszIndex;
00321     LPCSTR       pszFile;
00322     LPCSTR       pszHome;
00323     DWORD        fsToolBarFlags;
00324     BOOL         fNotExpanded;
00325     int          curNavType;
00326     int          tabpos;
00327     int          idNotify;
00328     BYTE         tabOrder[HH_MAX_TABS+1];
00329     int          cHistory;
00330     LPCSTR       pszJump1;
00331     LPCSTR       pszJump2;
00332     LPCSTR       pszUrlJump1;
00333     LPCSTR       pszUrlJump2;
00334     RECT         rcMinSize;
00335     int          cbInfoTypes;
00336     LPCSTR       pszCustomTabs;
00337 } HH_WINTYPEA, *PHH_WINTYPEA;
00338 
00339 typedef struct tagHH_WINTYPEW {
00340     int          cbStruct;
00341     BOOL         fUniCodeStrings;
00342     LPCWSTR      pszType;
00343     DWORD        fsValidMembers;
00344     DWORD        fsWinProperties;
00345     LPCWSTR      pszCaption;
00346     DWORD        dwStyles;
00347     DWORD        dwExStyles;
00348     RECT         rcWindowPos;
00349     int          nShowState;
00350     HWND         hwndHelp;
00351     HWND         hwndCaller;
00352     PHH_INFOTYPE paInfoTypes;
00353     HWND         hwndToolBar;
00354     HWND         hwndNavigation;
00355     HWND         hwndHTML;
00356     int          iNavWidth;
00357     RECT         rcHTML;
00358     LPCWSTR      pszToc;
00359     LPCWSTR      pszIndex;
00360     LPCWSTR      pszFile;
00361     LPCWSTR      pszHome;
00362     DWORD        fsToolBarFlags;
00363     BOOL         fNotExpanded;
00364     int          curNavType;
00365     int          tabpos;
00366     int          idNotify;
00367     BYTE         tabOrder[HH_MAX_TABS+1];
00368     int          cHistory;
00369     LPCWSTR      pszJump1;
00370     LPCWSTR      pszJump2;
00371     LPCWSTR      pszUrlJump1;
00372     LPCWSTR      pszUrlJump2;
00373     RECT         rcMinSize;
00374     int          cbInfoTypes;
00375     LPCWSTR      pszCustomTabs;
00376 } HH_WINTYPEW, *PHH_WINTYPEW;
00377 
00378 DECL_WINELIB_TYPE_AW(HH_WINTYPE)
00379 
00380 enum {
00381     HHACT_TAB_CONTENTS,
00382     HHACT_TAB_INDEX,
00383     HHACT_TAB_SEARCH,
00384     HHACT_TAB_HISTORY,
00385     HHACT_TAB_FAVORITES,
00386     HHACT_EXPAND,
00387     HHACT_CONTRACT,
00388     HHACT_BACK,
00389     HHACT_FORWARD,
00390     HHACT_STOP,
00391     HHACT_REFRESH,
00392     HHACT_HOME,
00393     HHACT_SYNC,
00394     HHACT_OPTIONS,
00395     HHACT_PRINT,
00396     HHACT_HIGHLIGHT,
00397     HHACT_CUSTOMIZE,
00398     HHACT_JUMP1,
00399     HHACT_JUMP2,
00400     HHACT_ZOOM,
00401     HHACT_TOC_NEXT,
00402     HHACT_TOC_PREV,
00403     HHACT_NOTES,
00404     HHACT_LAST_ENUM
00405 };
00406 
00407 typedef struct tagHH_NTRACKA {
00408     NMHDR        hdr;
00409     PCSTR        pszCurUrl;
00410     int          idAction;
00411     PHH_WINTYPEA phhWinType;
00412 } HH_NTRACKA;
00413 
00414 typedef struct tagHH_NTRACKW {
00415     NMHDR        hdr;
00416     PCSTR        pszCurUrl;
00417     int          idAction;
00418     PHH_WINTYPEW phhWinType;
00419 } HH_NTRACKW;
00420 
00421 DECL_WINELIB_TYPE_AW(HH_NTRACK)
00422 
00423 HWND WINAPI HtmlHelpA(HWND,LPCSTR,UINT,DWORD_PTR);
00424 HWND WINAPI HtmlHelpW(HWND,LPCWSTR,UINT,DWORD_PTR);
00425 #define HtmlHelp WINELIB_NAME_AW(HtmlHelp)
00426 
00427 #define ATOM_HTMLHELP_API_ANSI    (LPTSTR)14
00428 #define ATOM_HTMLHELP_API_UNICODE (LPTSTR)15
00429 
00430 typedef enum tagHH_GPROPID {
00431     HH_GPROPID_SINGLETHREAD     = 1,
00432     HH_GPROPID_TOOLBAR_MARGIN   = 2,
00433     HH_GPROPID_UI_LANGUAGE      = 3,
00434     HH_GPROPID_CURRENT_SUBSET   = 4,
00435     HH_GPROPID_CONTENT_LANGUAGE = 5
00436 } HH_GPROPID;
00437 
00438 #ifdef __WIDL_OAIDL_H
00439 
00440 typedef struct tagHH_GLOBAL_PROPERTY
00441 {
00442     HH_GPROPID  id;
00443     VARIANT     var;
00444 } HH_GLOBAL_PROPERTY ;
00445 
00446 #endif /* __WIDL_OAIDL_H */
00447 
00448 #ifdef __cplusplus
00449 }
00450 #endif
00451 
00452 #endif /* __HTMLHELP_H__ */

Generated on Sat May 26 2012 04:30:12 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.