From 23c75adf2d36c73f1853ed2a7c4db6465711b013 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 23 Aug 2023 20:32:06 +1000 Subject: [PATCH] hhctrl.ocx: Remove DECLSPEC_HIDDEN usage. --- dlls/hhctrl.ocx/hhctrl.h | 64 ++++++++++++++++++++-------------------- dlls/hhctrl.ocx/stream.h | 16 +++++----- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/dlls/hhctrl.ocx/hhctrl.h b/dlls/hhctrl.ocx/hhctrl.h index 359b199e141..ebec0eebf30 100644 --- a/dlls/hhctrl.ocx/hhctrl.h +++ b/dlls/hhctrl.ocx/hhctrl.h @@ -205,42 +205,42 @@ typedef struct { DWORD current_tab; } HHInfo; -BOOL InitWebBrowser(HHInfo*,HWND) DECLSPEC_HIDDEN; -void ReleaseWebBrowser(HHInfo*) DECLSPEC_HIDDEN; -void ResizeWebBrowser(HHInfo*,DWORD,DWORD) DECLSPEC_HIDDEN; -void DoPageAction(WebBrowserContainer*,DWORD) DECLSPEC_HIDDEN; +BOOL InitWebBrowser(HHInfo*,HWND); +void ReleaseWebBrowser(HHInfo*); +void ResizeWebBrowser(HHInfo*,DWORD,DWORD); +void DoPageAction(WebBrowserContainer*,DWORD); -void InitContent(HHInfo*) DECLSPEC_HIDDEN; -void ReleaseContent(HHInfo*) DECLSPEC_HIDDEN; -void ActivateContentTopic(HWND,LPCWSTR,ContentItem *) DECLSPEC_HIDDEN; +void InitContent(HHInfo*); +void ReleaseContent(HHInfo*); +void ActivateContentTopic(HWND,LPCWSTR,ContentItem *); -void InitIndex(HHInfo*) DECLSPEC_HIDDEN; -void ReleaseIndex(HHInfo*) DECLSPEC_HIDDEN; +void InitIndex(HHInfo*); +void ReleaseIndex(HHInfo*); -CHMInfo *OpenCHM(LPCWSTR szFile) DECLSPEC_HIDDEN; -BOOL LoadWinTypeFromCHM(HHInfo *info) DECLSPEC_HIDDEN; -CHMInfo *CloseCHM(CHMInfo *pCHMInfo) DECLSPEC_HIDDEN; -void SetChmPath(ChmPath*,LPCWSTR,LPCWSTR) DECLSPEC_HIDDEN; -IStream *GetChmStream(CHMInfo*,LPCWSTR,ChmPath*) DECLSPEC_HIDDEN; -LPWSTR FindContextAlias(CHMInfo*,DWORD) DECLSPEC_HIDDEN; -WCHAR *GetDocumentTitle(CHMInfo*,LPCWSTR) DECLSPEC_HIDDEN; +CHMInfo *OpenCHM(LPCWSTR szFile); +BOOL LoadWinTypeFromCHM(HHInfo *info); +CHMInfo *CloseCHM(CHMInfo *pCHMInfo); +void SetChmPath(ChmPath*,LPCWSTR,LPCWSTR); +IStream *GetChmStream(CHMInfo*,LPCWSTR,ChmPath*); +LPWSTR FindContextAlias(CHMInfo*,DWORD); +WCHAR *GetDocumentTitle(CHMInfo*,LPCWSTR); -extern struct list window_list DECLSPEC_HIDDEN; -HHInfo *CreateHelpViewer(HHInfo*,LPCWSTR,HWND) DECLSPEC_HIDDEN; -void ReleaseHelpViewer(HHInfo*) DECLSPEC_HIDDEN; -BOOL NavigateToUrl(HHInfo*,LPCWSTR) DECLSPEC_HIDDEN; -BOOL NavigateToChm(HHInfo*,LPCWSTR,LPCWSTR) DECLSPEC_HIDDEN; -void MergeChmProperties(HH_WINTYPEW*,HHInfo*,BOOL) DECLSPEC_HIDDEN; -void UpdateHelpWindow(HHInfo *info) DECLSPEC_HIDDEN; +extern struct list window_list; +HHInfo *CreateHelpViewer(HHInfo*,LPCWSTR,HWND); +void ReleaseHelpViewer(HHInfo*); +BOOL NavigateToUrl(HHInfo*,LPCWSTR); +BOOL NavigateToChm(HHInfo*,LPCWSTR,LPCWSTR); +void MergeChmProperties(HH_WINTYPEW*,HHInfo*,BOOL); +void UpdateHelpWindow(HHInfo *info); -void InitSearch(HHInfo *info, const char *needle) DECLSPEC_HIDDEN; -void ReleaseSearch(HHInfo *info) DECLSPEC_HIDDEN; +void InitSearch(HHInfo *info, const char *needle); +void ReleaseSearch(HHInfo *info); -LPCWSTR skip_schema(LPCWSTR url) DECLSPEC_HIDDEN; -void wintype_stringsA_free(struct wintype_stringsA *stringsA) DECLSPEC_HIDDEN; -void wintype_stringsW_free(struct wintype_stringsW *stringsW) DECLSPEC_HIDDEN; -WCHAR *decode_html(const char *html_fragment, int html_fragment_len, UINT code_page) DECLSPEC_HIDDEN; -HHInfo *find_window(const WCHAR *window) DECLSPEC_HIDDEN; +LPCWSTR skip_schema(LPCWSTR url); +void wintype_stringsA_free(struct wintype_stringsA *stringsA); +void wintype_stringsW_free(struct wintype_stringsW *stringsW); +WCHAR *decode_html(const char *html_fragment, int html_fragment_len, UINT code_page); +HHInfo *find_window(const WCHAR *window); /* memory allocation functions */ @@ -287,7 +287,7 @@ static inline LPSTR strdupWtoA(LPCWSTR str) } -extern HINSTANCE hhctrl_hinstance DECLSPEC_HIDDEN; -extern BOOL hh_process DECLSPEC_HIDDEN; +extern HINSTANCE hhctrl_hinstance; +extern BOOL hh_process; #endif diff --git a/dlls/hhctrl.ocx/stream.h b/dlls/hhctrl.ocx/stream.h index 8d61ad54d51..68f105c11a3 100644 --- a/dlls/hhctrl.ocx/stream.h +++ b/dlls/hhctrl.ocx/stream.h @@ -36,13 +36,13 @@ typedef struct { ULONG p; } stream_t; -void strbuf_init(strbuf_t *buf) DECLSPEC_HIDDEN; -void strbuf_zero(strbuf_t *buf) DECLSPEC_HIDDEN; -void strbuf_free(strbuf_t *buf) DECLSPEC_HIDDEN; -void stream_init(stream_t *stream, IStream *str) DECLSPEC_HIDDEN; -void get_node_name(strbuf_t *node, strbuf_t *name) DECLSPEC_HIDDEN; -BOOL next_content(stream_t *stream, strbuf_t *buf) DECLSPEC_HIDDEN; -BOOL next_node(stream_t *stream, strbuf_t *buf) DECLSPEC_HIDDEN; -const char *get_attr(const char *node, const char *name, int *len) DECLSPEC_HIDDEN; +void strbuf_init(strbuf_t *buf); +void strbuf_zero(strbuf_t *buf); +void strbuf_free(strbuf_t *buf); +void stream_init(stream_t *stream, IStream *str); +void get_node_name(strbuf_t *node, strbuf_t *name); +BOOL next_content(stream_t *stream, strbuf_t *buf); +BOOL next_node(stream_t *stream, strbuf_t *buf); +const char *get_attr(const char *node, const char *name, int *len); #endif