56 memset(&lvi, 0,
sizeof(lvi));
140 IStream_Release(temp_stream);
155 static const WCHAR szHTMext[] = {
'.',
'h',
't',
'm',0};
162 hres = IStorage_EnumElements(pStorage, 0,
NULL, 0, &
elem);
165 FIXME(
"Could not enumerate '/' storage elements: %08x\n",
hres);
168 while (IEnumSTATSTG_Next(
elem, 1, &entries, &retr) ==
NOERROR)
173 switch(entries.type) {
190 FIXME(
"Unhandled IStorage stream element.\n");
193 IEnumSTATSTG_Release(
elem);
214 IStorage_Release(temp_storage);
229 if(
info->search.root)
231 info->search.root = root_item;
void get_node_name(strbuf_t *node, strbuf_t *name)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
char * strstr(char *String1, char *String2)
static SearchItem * SearchCHM_Folder(SearchItem *item, IStorage *pStorage, const WCHAR *folder, const char *needle)
struct _TREEITEM * HTREEITEM
BOOL next_node(stream_t *stream, strbuf_t *buf)
static void * heap_realloc(void *mem, size_t len)
static void * heap_alloc(size_t len)
static void fill_search_tree(HWND hwndList, SearchItem *item)
void strbuf_free(strbuf_t *buf)
static void buffer_size(GLcontext *ctx, GLuint *width, GLuint *height)
void InitSearch(HHInfo *info, const char *needle)
_CONST_RETURN wchar_t *__cdecl wcschr(_In_z_ const wchar_t *_Str, wchar_t _Ch)
static SearchItem * SearchCHM_Storage(SearchItem *item, IStorage *pStorage, const char *needle)
static void strbuf_init(strbuf *buf)
#define _strnicmp(_String1, _String2, _MaxCount)
BOOL next_content(stream_t *stream, strbuf_t *buf)
#define memcpy(s1, s2, n)
void stream_init(stream_t *stream, IStream *str)
#define LVM_DELETEALLITEMS
static SearchItem * alloc_search_item(WCHAR *title, const WCHAR *filename)
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)
void ReleaseSearch(HHInfo *info)
#define MultiByteToWideChar
char * cleanup(char *str)
WINE_DEFAULT_DEBUG_CHANNEL(htmlhelp)
void strbuf_zero(strbuf_t *buf)
static WCHAR * SearchCHM_File(IStorage *pStorage, const WCHAR *file, const char *needle)
static BOOL heap_free(void *mem)