mmdevapi: Remove DECLSPEC_HIDDEN usage.

This commit is contained in:
Alexandre Julliard 2023-11-23 22:25:24 +01:00
parent e7d3c4294f
commit d305d8676d
3 changed files with 18 additions and 18 deletions

View file

@ -40,12 +40,12 @@ typedef struct tagLANGANDCODEPAGE
WORD wCodePage;
} LANGANDCODEPAGE;
extern void sessions_lock(void) DECLSPEC_HIDDEN;
extern void sessions_unlock(void) DECLSPEC_HIDDEN;
extern void sessions_lock(void);
extern void sessions_unlock(void);
extern HRESULT get_audio_session(const GUID *sessionguid, IMMDevice *device, UINT channels,
struct audio_session **out) DECLSPEC_HIDDEN;
extern struct audio_session_wrapper *session_wrapper_create(struct audio_client *client) DECLSPEC_HIDDEN;
struct audio_session **out);
extern struct audio_session_wrapper *session_wrapper_create(struct audio_client *client);
static HANDLE main_loop_thread;

View file

@ -28,8 +28,8 @@
#include "unixlib.h"
#include "mmdevdrv.h"
extern HRESULT MMDevEnum_Create(REFIID riid, void **ppv) DECLSPEC_HIDDEN;
extern void MMDevEnum_Free(void) DECLSPEC_HIDDEN;
extern HRESULT MMDevEnum_Create(REFIID riid, void **ppv);
extern void MMDevEnum_Free(void);
typedef struct _DriverFuncs {
HMODULE module;
@ -46,7 +46,7 @@ typedef struct _DriverFuncs {
BOOL (WINAPI *pget_device_name_from_guid)(GUID *guid, char **name, EDataFlow *flow);
} DriverFuncs;
extern DriverFuncs drvs DECLSPEC_HIDDEN;
extern DriverFuncs drvs;
typedef struct MMDevice {
IMMDevice IMMDevice_iface;
@ -69,14 +69,14 @@ static inline void wine_unix_call(const unsigned int code, void *args)
assert(!status);
}
extern HRESULT AudioClient_Create(GUID *guid, IMMDevice *device, IAudioClient **out) DECLSPEC_HIDDEN;
extern HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolumeEx **ppv) DECLSPEC_HIDDEN;
extern HRESULT AudioSessionManager_Create(IMMDevice *device, IAudioSessionManager2 **ppv) DECLSPEC_HIDDEN;
extern HRESULT SpatialAudioClient_Create(IMMDevice *device, ISpatialAudioClient **out) DECLSPEC_HIDDEN;
extern HRESULT AudioClient_Create(GUID *guid, IMMDevice *device, IAudioClient **out);
extern HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolumeEx **ppv);
extern HRESULT AudioSessionManager_Create(IMMDevice *device, IAudioSessionManager2 **ppv);
extern HRESULT SpatialAudioClient_Create(IMMDevice *device, ISpatialAudioClient **out);
extern HRESULT load_devices_from_reg(void) DECLSPEC_HIDDEN;
extern HRESULT load_driver_devices(EDataFlow flow) DECLSPEC_HIDDEN;
extern HRESULT load_devices_from_reg(void);
extern HRESULT load_driver_devices(EDataFlow flow);
extern void main_loop_stop(void) DECLSPEC_HIDDEN;
extern void main_loop_stop(void);
extern const WCHAR drv_keyW[] DECLSPEC_HIDDEN;
extern const WCHAR drv_keyW[];

View file

@ -34,10 +34,10 @@
WINE_DEFAULT_DEBUG_CHANNEL(mmdevapi);
extern void sessions_lock(void) DECLSPEC_HIDDEN;
extern void sessions_unlock(void) DECLSPEC_HIDDEN;
extern void sessions_lock(void);
extern void sessions_unlock(void);
extern void set_stream_volumes(struct audio_client *This) DECLSPEC_HIDDEN;
extern void set_stream_volumes(struct audio_client *This);
static struct list sessions = LIST_INIT(sessions);