Commit ee211f34 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

itss: Remove DECLSPEC_HIDDEN usage.

parent fc99a18a
...@@ -72,25 +72,20 @@ struct chmUnitInfo ...@@ -72,25 +72,20 @@ struct chmUnitInfo
WCHAR path[CHM_MAX_PATHLEN+1]; WCHAR path[CHM_MAX_PATHLEN+1];
}; };
struct chmFile* chm_openW(const WCHAR *filename) DECLSPEC_HIDDEN; struct chmFile* chm_openW(const WCHAR *filename);
struct chmFile *chm_dup(struct chmFile *oldHandle) DECLSPEC_HIDDEN; struct chmFile *chm_dup(struct chmFile *oldHandle);
/* close an ITS archive */ /* close an ITS archive */
void chm_close(struct chmFile *h) DECLSPEC_HIDDEN; void chm_close(struct chmFile *h);
/* resolve a particular object from the archive */ /* resolve a particular object from the archive */
#define CHM_RESOLVE_SUCCESS (0) #define CHM_RESOLVE_SUCCESS (0)
#define CHM_RESOLVE_FAILURE (1) #define CHM_RESOLVE_FAILURE (1)
int chm_resolve_object(struct chmFile *h, int chm_resolve_object(struct chmFile *h, const WCHAR *objPath, struct chmUnitInfo *ui);
const WCHAR *objPath,
struct chmUnitInfo *ui) DECLSPEC_HIDDEN;
/* retrieve part of an object from the archive */ /* retrieve part of an object from the archive */
LONGINT64 chm_retrieve_object(struct chmFile *h, LONGINT64 chm_retrieve_object(struct chmFile *h, struct chmUnitInfo *ui, unsigned char *buf,
struct chmUnitInfo *ui, LONGUINT64 addr, LONGINT64 len);
unsigned char *buf,
LONGUINT64 addr,
LONGINT64 len) DECLSPEC_HIDDEN;
/* enumerate the objects in the .chm archive */ /* enumerate the objects in the .chm archive */
typedef int (*CHM_ENUMERATOR)(struct chmFile *h, typedef int (*CHM_ENUMERATOR)(struct chmFile *h,
...@@ -105,10 +100,7 @@ typedef int (*CHM_ENUMERATOR)(struct chmFile *h, ...@@ -105,10 +100,7 @@ typedef int (*CHM_ENUMERATOR)(struct chmFile *h,
#define CHM_ENUMERATOR_FAILURE (0) #define CHM_ENUMERATOR_FAILURE (0)
#define CHM_ENUMERATOR_CONTINUE (1) #define CHM_ENUMERATOR_CONTINUE (1)
#define CHM_ENUMERATOR_SUCCESS (2) #define CHM_ENUMERATOR_SUCCESS (2)
BOOL chm_enumerate_dir(struct chmFile *h, BOOL chm_enumerate_dir(struct chmFile *h, const WCHAR *prefix, int what,
const WCHAR *prefix, CHM_ENUMERATOR e, void *context);
int what,
CHM_ENUMERATOR e,
void *context) DECLSPEC_HIDDEN;
#endif /* INCLUDED_CHMLIB_H */ #endif /* INCLUDED_CHMLIB_H */
...@@ -29,15 +29,13 @@ extern HRESULT ITSS_StgOpenStorage( ...@@ -29,15 +29,13 @@ extern HRESULT ITSS_StgOpenStorage(
DWORD grfMode, DWORD grfMode,
SNB snbExclude, SNB snbExclude,
DWORD reserved, DWORD reserved,
IStorage** ppstgOpen) DECLSPEC_HIDDEN; IStorage** ppstgOpen);
extern HRESULT ITS_IParseDisplayName_create( extern HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj);
IUnknown *pUnkOuter,
LPVOID *ppObj) DECLSPEC_HIDDEN;
extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN; extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj);
extern LONG dll_count DECLSPEC_HIDDEN; extern LONG dll_count;
static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); } static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); }
static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); } static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment