Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5a18153f
Commit
5a18153f
authored
Jun 29, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Remove DECLSPEC_HIDDEN usage.
parent
b1a69eab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
35 deletions
+35
-35
dmobject.h
dlls/dmstyle/dmobject.h
+25
-25
dmstyle_private.h
dlls/dmstyle/dmstyle_private.h
+8
-8
dmutils.h
dlls/dmstyle/dmutils.h
+2
-2
No files found.
dlls/dmstyle/dmobject.h
View file @
5a18153f
...
@@ -31,16 +31,16 @@ struct chunk_entry {
...
@@ -31,16 +31,16 @@ struct chunk_entry {
const
struct
chunk_entry
*
parent
;
/* enclosing RIFF or LIST chunk */
const
struct
chunk_entry
*
parent
;
/* enclosing RIFF or LIST chunk */
};
};
HRESULT
stream_get_chunk
(
IStream
*
stream
,
struct
chunk_entry
*
chunk
)
DECLSPEC_HIDDEN
;
HRESULT
stream_get_chunk
(
IStream
*
stream
,
struct
chunk_entry
*
chunk
);
HRESULT
stream_next_chunk
(
IStream
*
stream
,
struct
chunk_entry
*
chunk
)
DECLSPEC_HIDDEN
;
HRESULT
stream_next_chunk
(
IStream
*
stream
,
struct
chunk_entry
*
chunk
);
HRESULT
stream_skip_chunk
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
)
DECLSPEC_HIDDEN
;
HRESULT
stream_skip_chunk
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
);
HRESULT
stream_chunk_get_array
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
,
void
**
array
,
HRESULT
stream_chunk_get_array
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
,
void
**
array
,
unsigned
int
*
count
,
DWORD
elem_size
)
DECLSPEC_HIDDEN
;
unsigned
int
*
count
,
DWORD
elem_size
);
HRESULT
stream_chunk_get_data
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
,
void
*
data
,
HRESULT
stream_chunk_get_data
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
,
void
*
data
,
ULONG
size
)
DECLSPEC_HIDDEN
;
ULONG
size
);
HRESULT
stream_chunk_get_wstr
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
,
WCHAR
*
str
,
HRESULT
stream_chunk_get_wstr
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
,
WCHAR
*
str
,
ULONG
size
)
DECLSPEC_HIDDEN
;
ULONG
size
);
static
inline
HRESULT
stream_reset_chunk_data
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
)
static
inline
HRESULT
stream_reset_chunk_data
(
IStream
*
stream
,
const
struct
chunk_entry
*
chunk
)
{
{
...
@@ -71,21 +71,21 @@ struct dmobject {
...
@@ -71,21 +71,21 @@ struct dmobject {
DMUS_OBJECTDESC
desc
;
DMUS_OBJECTDESC
desc
;
};
};
void
dmobject_init
(
struct
dmobject
*
dmobj
,
const
GUID
*
class
,
IUnknown
*
outer_unk
)
DECLSPEC_HIDDEN
;
void
dmobject_init
(
struct
dmobject
*
dmobj
,
const
GUID
*
class
,
IUnknown
*
outer_unk
);
/* Generic IDirectMusicObject methods */
/* Generic IDirectMusicObject methods */
HRESULT
WINAPI
dmobj_IDirectMusicObject_QueryInterface
(
IDirectMusicObject
*
iface
,
REFIID
riid
,
HRESULT
WINAPI
dmobj_IDirectMusicObject_QueryInterface
(
IDirectMusicObject
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
void
**
ret_iface
);
ULONG
WINAPI
dmobj_IDirectMusicObject_AddRef
(
IDirectMusicObject
*
iface
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
dmobj_IDirectMusicObject_AddRef
(
IDirectMusicObject
*
iface
);
ULONG
WINAPI
dmobj_IDirectMusicObject_Release
(
IDirectMusicObject
*
iface
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
dmobj_IDirectMusicObject_Release
(
IDirectMusicObject
*
iface
);
HRESULT
WINAPI
dmobj_IDirectMusicObject_GetDescriptor
(
IDirectMusicObject
*
iface
,
HRESULT
WINAPI
dmobj_IDirectMusicObject_GetDescriptor
(
IDirectMusicObject
*
iface
,
DMUS_OBJECTDESC
*
desc
)
DECLSPEC_HIDDEN
;
DMUS_OBJECTDESC
*
desc
);
HRESULT
WINAPI
dmobj_IDirectMusicObject_SetDescriptor
(
IDirectMusicObject
*
iface
,
HRESULT
WINAPI
dmobj_IDirectMusicObject_SetDescriptor
(
IDirectMusicObject
*
iface
,
DMUS_OBJECTDESC
*
desc
)
DECLSPEC_HIDDEN
;
DMUS_OBJECTDESC
*
desc
);
/* Helper for IDirectMusicObject::ParseDescriptor */
/* Helper for IDirectMusicObject::ParseDescriptor */
HRESULT
dmobj_parsedescriptor
(
IStream
*
stream
,
const
struct
chunk_entry
*
riff
,
HRESULT
dmobj_parsedescriptor
(
IStream
*
stream
,
const
struct
chunk_entry
*
riff
,
DMUS_OBJECTDESC
*
desc
,
DWORD
supported
)
DECLSPEC_HIDDEN
;
DMUS_OBJECTDESC
*
desc
,
DWORD
supported
);
/* Additional supported flags for dmobj_parsedescriptor.
/* Additional supported flags for dmobj_parsedescriptor.
DMUS_OBJ_NAME is 'UNAM' chunk in UNFO list */
DMUS_OBJ_NAME is 'UNAM' chunk in UNFO list */
#define DMUS_OBJ_NAME_INAM 0x1000
/* 'INAM' chunk in UNFO list */
#define DMUS_OBJ_NAME_INAM 0x1000
/* 'INAM' chunk in UNFO list */
...
@@ -93,28 +93,28 @@ HRESULT dmobj_parsedescriptor(IStream *stream, const struct chunk_entry *riff,
...
@@ -93,28 +93,28 @@ HRESULT dmobj_parsedescriptor(IStream *stream, const struct chunk_entry *riff,
/* 'DMRF' (reference list) helper */
/* 'DMRF' (reference list) helper */
HRESULT
dmobj_parsereference
(
IStream
*
stream
,
const
struct
chunk_entry
*
list
,
HRESULT
dmobj_parsereference
(
IStream
*
stream
,
const
struct
chunk_entry
*
list
,
IDirectMusicObject
**
dmobj
)
DECLSPEC_HIDDEN
;
IDirectMusicObject
**
dmobj
);
/* Generic IPersistStream methods */
/* Generic IPersistStream methods */
HRESULT
WINAPI
dmobj_IPersistStream_QueryInterface
(
IPersistStream
*
iface
,
REFIID
riid
,
HRESULT
WINAPI
dmobj_IPersistStream_QueryInterface
(
IPersistStream
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
void
**
ret_iface
);
ULONG
WINAPI
dmobj_IPersistStream_AddRef
(
IPersistStream
*
iface
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
dmobj_IPersistStream_AddRef
(
IPersistStream
*
iface
);
ULONG
WINAPI
dmobj_IPersistStream_Release
(
IPersistStream
*
iface
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
dmobj_IPersistStream_Release
(
IPersistStream
*
iface
);
HRESULT
WINAPI
dmobj_IPersistStream_GetClassID
(
IPersistStream
*
iface
,
CLSID
*
class
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
dmobj_IPersistStream_GetClassID
(
IPersistStream
*
iface
,
CLSID
*
class
);
/* IPersistStream methods not implemented in native */
/* IPersistStream methods not implemented in native */
HRESULT
WINAPI
unimpl_IPersistStream_GetClassID
(
IPersistStream
*
iface
,
HRESULT
WINAPI
unimpl_IPersistStream_GetClassID
(
IPersistStream
*
iface
,
CLSID
*
class
)
DECLSPEC_HIDDEN
;
CLSID
*
class
);
HRESULT
WINAPI
unimpl_IPersistStream_IsDirty
(
IPersistStream
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
unimpl_IPersistStream_IsDirty
(
IPersistStream
*
iface
);
HRESULT
WINAPI
unimpl_IPersistStream_Save
(
IPersistStream
*
iface
,
IStream
*
stream
,
HRESULT
WINAPI
unimpl_IPersistStream_Save
(
IPersistStream
*
iface
,
IStream
*
stream
,
BOOL
clear_dirty
)
DECLSPEC_HIDDEN
;
BOOL
clear_dirty
);
HRESULT
WINAPI
unimpl_IPersistStream_GetSizeMax
(
IPersistStream
*
iface
,
HRESULT
WINAPI
unimpl_IPersistStream_GetSizeMax
(
IPersistStream
*
iface
,
ULARGE_INTEGER
*
size
)
DECLSPEC_HIDDEN
;
ULARGE_INTEGER
*
size
);
/* Debugging helpers */
/* Debugging helpers */
const
char
*
debugstr_chunk
(
const
struct
chunk_entry
*
chunk
)
DECLSPEC_HIDDEN
;
const
char
*
debugstr_chunk
(
const
struct
chunk_entry
*
chunk
);
const
char
*
debugstr_dmguid
(
const
GUID
*
id
)
DECLSPEC_HIDDEN
;
const
char
*
debugstr_dmguid
(
const
GUID
*
id
);
void
dump_DMUS_OBJECTDESC
(
DMUS_OBJECTDESC
*
desc
)
DECLSPEC_HIDDEN
;
void
dump_DMUS_OBJECTDESC
(
DMUS_OBJECTDESC
*
desc
);
static
inline
const
char
*
debugstr_fourcc
(
DWORD
fourcc
)
static
inline
const
char
*
debugstr_fourcc
(
DWORD
fourcc
)
{
{
...
...
dlls/dmstyle/dmstyle_private.h
View file @
5a18153f
...
@@ -44,13 +44,13 @@
...
@@ -44,13 +44,13 @@
/*****************************************************************************
/*****************************************************************************
* ClassFactory
* ClassFactory
*/
*/
extern
HRESULT
create_dmstyle
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmstyle
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmauditiontrack
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmauditiontrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmchordtrack
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmchordtrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmcommandtrack
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmcommandtrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmmotiftrack
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmmotiftrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmmutetrack
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmmutetrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmstyletrack
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_dmstyletrack
(
REFIID
riid
,
void
**
ret_iface
);
/*****************************************************************************
/*****************************************************************************
* Auxiliary definitions
* Auxiliary definitions
...
@@ -64,7 +64,7 @@ typedef struct _DMUS_PRIVATE_COMMAND {
...
@@ -64,7 +64,7 @@ typedef struct _DMUS_PRIVATE_COMMAND {
/**********************************************************************
/**********************************************************************
* Dll lifetime tracking declaration for dmstyle.dll
* Dll lifetime tracking declaration for dmstyle.dll
*/
*/
extern
LONG
DMSTYLE_refCount
DECLSPEC_HIDDEN
;
extern
LONG
DMSTYLE_refCount
;
static
inline
void
DMSTYLE_LockModule
(
void
)
{
InterlockedIncrement
(
&
DMSTYLE_refCount
);
}
static
inline
void
DMSTYLE_LockModule
(
void
)
{
InterlockedIncrement
(
&
DMSTYLE_refCount
);
}
static
inline
void
DMSTYLE_UnlockModule
(
void
)
{
InterlockedDecrement
(
&
DMSTYLE_refCount
);
}
static
inline
void
DMSTYLE_UnlockModule
(
void
)
{
InterlockedDecrement
(
&
DMSTYLE_refCount
);
}
...
...
dlls/dmstyle/dmutils.h
View file @
5a18153f
...
@@ -30,7 +30,7 @@ typedef struct _DMUS_PRIVATE_CHUNK {
...
@@ -30,7 +30,7 @@ typedef struct _DMUS_PRIVATE_CHUNK {
/**
/**
* Parsing utilities
* Parsing utilities
*/
*/
extern
HRESULT
IDirectMusicUtils_IPersistStream_ParseDescGeneric
(
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
,
LPDMUS_OBJECTDESC
pDesc
)
DECLSPEC_HIDDEN
;
extern
HRESULT
IDirectMusicUtils_IPersistStream_ParseDescGeneric
(
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
,
LPDMUS_OBJECTDESC
pDesc
);
extern
HRESULT
IDirectMusicUtils_IPersistStream_ParseUNFOGeneric
(
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
,
LPDMUS_OBJECTDESC
pDesc
)
DECLSPEC_HIDDEN
;
extern
HRESULT
IDirectMusicUtils_IPersistStream_ParseUNFOGeneric
(
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
,
LPDMUS_OBJECTDESC
pDesc
);
#endif
/* __WINE_DMUTILS_H */
#endif
/* __WINE_DMUTILS_H */
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