Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ee211f34
Commit
ee211f34
authored
Nov 08, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Remove DECLSPEC_HIDDEN usage.
parent
fc99a18a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
22 deletions
+12
-22
chm_lib.h
dlls/itss/chm_lib.h
+8
-16
itsstor.h
dlls/itss/itsstor.h
+4
-6
No files found.
dlls/itss/chm_lib.h
View file @
ee211f34
...
@@ -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 */
dlls/itss/itsstor.h
View file @
ee211f34
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment