38 FIXME(
"HTML Help index item has no keyword.\n");
42 memset(&lvi, 0,
sizeof(lvi));
56 item->nItems = num_items;
60 item->itemFlags = 0x00;
79 WARN(
"name attr not found\n");
97 item->itemFlags |= 0x01;
100 item->itemFlags |= 0x10;
109 WARN(
"value attr not found\n");
132 item->items = heap_alloc_zero(0);
133 item->itemFlags = 0x11;
145 WARN(
"Unhandled tag! %s\n", node_name.
buf);
180 static const char sz_text_sitemap[] =
"text/sitemap";
184 if(
ptr &&
len ==
sizeof(sz_text_sitemap)-1
190 WARN(
"Unhandled tag! %s\n", node_name.
buf);
196 FIXME(
"Failed to parse <li> tag!\n");
219 int indent_level = -1;
236 int num_items =
item->nItems;
243 }
else if(new_item) {
244 item->next = new_item;
247 item->indentLevel = indent_level;
254 WARN(
"Unhandled tag! %s\n", node_name.
buf);
275 TRACE(
"Could not get index stream\n");
WINE_DEFAULT_DEBUG_CHANNEL(htmlhelp)
void get_node_name(strbuf_t *node, strbuf_t *name)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
int WINAPI lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
const char * get_attr(const char *node, const char *name, int *len)
struct _TREEITEM * HTREEITEM
static IndexItem * parse_index_sitemap_object(HHInfo *info, stream_t *stream)
static void item_realloc(IndexItem *item, int num_items)
BOOL next_node(stream_t *stream, strbuf_t *buf)
static void * heap_realloc(void *mem, size_t len)
void InitIndex(HHInfo *info)
void strbuf_free(strbuf_t *buf)
void ReleaseIndex(HHInfo *info)
static void parse_index_obj_node_param(IndexItem *item, const char *text, UINT code_page)
WCHAR * decode_html(const char *html_fragment, int html_fragment_len, UINT code_page)
static void strbuf_init(strbuf *buf)
#define _strnicmp(_String1, _String2, _MaxCount)
static __inline const char * debugstr_an(const char *s, int n)
#define memcpy(s1, s2, n)
void stream_init(stream_t *stream, IStream *str)
void SetChmPath(ChmPath *file, LPCWSTR base_file, LPCWSTR path)
static unsigned __int64 next
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
IStream * GetChmStream(CHMInfo *info, LPCWSTR parent_chm, ChmPath *chm_file)
static IndexItem * parse_li(HHInfo *info, stream_t *stream)
static void fill_index_tree(HWND hwnd, IndexItem *item)
static void parse_hhindex(HHInfo *info, IStream *str, IndexItem *item)
void strbuf_zero(strbuf_t *buf)
static BOOL heap_free(void *mem)