dplayx: Mark internal symbols with hidden visibility.
This commit is contained in:
parent
5b1016fc13
commit
b7389f409a
|
@ -26,12 +26,12 @@
|
|||
#include "wtypes.h"
|
||||
#include "dplay_global.h"
|
||||
|
||||
extern HRESULT DP_CreateInterface( REFIID riid, LPVOID* ppvObj );
|
||||
extern HRESULT DPL_CreateInterface( REFIID riid, LPVOID* ppvObj );
|
||||
extern HRESULT DP_CreateInterface( REFIID riid, LPVOID* ppvObj ) DECLSPEC_HIDDEN;
|
||||
extern HRESULT DPL_CreateInterface( REFIID riid, LPVOID* ppvObj ) DECLSPEC_HIDDEN;
|
||||
extern HRESULT DPSP_CreateInterface( REFIID riid, LPVOID* ppvObj,
|
||||
IDirectPlay2Impl* dp );
|
||||
IDirectPlay2Impl* dp ) DECLSPEC_HIDDEN;
|
||||
extern HRESULT DPLSP_CreateInterface( REFIID riid, LPVOID* ppvObj,
|
||||
IDirectPlay2Impl* dp );
|
||||
IDirectPlay2Impl* dp ) DECLSPEC_HIDDEN;
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
extern HRESULT DPL_EnumAddress( LPDPENUMADDRESSCALLBACK lpEnumAddressCallback,
|
||||
LPCVOID lpAddress, DWORD dwAddressSize,
|
||||
LPVOID lpContext );
|
||||
LPVOID lpContext ) DECLSPEC_HIDDEN;
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interface implementation structures
|
||||
|
@ -233,13 +233,13 @@ struct IDirectPlay4Impl
|
|||
HRESULT DP_HandleMessage( IDirectPlay2Impl* This, LPCVOID lpMessageBody,
|
||||
DWORD dwMessageBodySize, LPCVOID lpMessageHeader,
|
||||
WORD wCommandId, WORD wVersion,
|
||||
LPVOID* lplpReply, LPDWORD lpdwMsgSize );
|
||||
LPVOID* lplpReply, LPDWORD lpdwMsgSize ) DECLSPEC_HIDDEN;
|
||||
|
||||
/* DP SP external interfaces into DirectPlay */
|
||||
extern HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP, DPID idPlayer, LPVOID* lplpData );
|
||||
extern HRESULT DP_SetSPPlayerData( IDirectPlay2Impl* lpDP, DPID idPlayer, LPVOID lpData );
|
||||
extern HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP, DPID idPlayer, LPVOID* lplpData ) DECLSPEC_HIDDEN;
|
||||
extern HRESULT DP_SetSPPlayerData( IDirectPlay2Impl* lpDP, DPID idPlayer, LPVOID lpData ) DECLSPEC_HIDDEN;
|
||||
|
||||
/* DP external interfaces to call into DPSP interface */
|
||||
extern LPVOID DPSP_CreateSPPlayerData(void);
|
||||
extern LPVOID DPSP_CreateSPPlayerData(void) DECLSPEC_HIDDEN;
|
||||
|
||||
#endif /* __WINE_DPLAY_GLOBAL_INCLUDED */
|
||||
|
|
|
@ -26,35 +26,35 @@
|
|||
#include "winuser.h"
|
||||
#include "dplay.h"
|
||||
|
||||
BOOL DPLAYX_ConstructData(void);
|
||||
BOOL DPLAYX_DestructData(void);
|
||||
BOOL DPLAYX_ConstructData(void) DECLSPEC_HIDDEN;
|
||||
BOOL DPLAYX_DestructData(void) DECLSPEC_HIDDEN;
|
||||
|
||||
HRESULT DPLAYX_GetConnectionSettingsA ( DWORD dwAppID,
|
||||
LPVOID lpData,
|
||||
LPDWORD lpdwDataSize );
|
||||
LPDWORD lpdwDataSize ) DECLSPEC_HIDDEN;
|
||||
HRESULT DPLAYX_GetConnectionSettingsW ( DWORD dwAppID,
|
||||
LPVOID lpData,
|
||||
LPDWORD lpdwDataSize );
|
||||
LPDWORD lpdwDataSize ) DECLSPEC_HIDDEN;
|
||||
|
||||
HRESULT DPLAYX_SetConnectionSettingsA ( DWORD dwFlags,
|
||||
DWORD dwAppID,
|
||||
const DPLCONNECTION *lpConn );
|
||||
const DPLCONNECTION *lpConn ) DECLSPEC_HIDDEN;
|
||||
HRESULT DPLAYX_SetConnectionSettingsW ( DWORD dwFlags,
|
||||
DWORD dwAppID,
|
||||
const DPLCONNECTION *lpConn );
|
||||
const DPLCONNECTION *lpConn ) DECLSPEC_HIDDEN;
|
||||
|
||||
BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID );
|
||||
BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID ) DECLSPEC_HIDDEN;
|
||||
|
||||
BOOL DPLAYX_WaitForConnectionSettings( BOOL bWait );
|
||||
BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void);
|
||||
BOOL DPLAYX_WaitForConnectionSettings( BOOL bWait ) DECLSPEC_HIDDEN;
|
||||
BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void) DECLSPEC_HIDDEN;
|
||||
|
||||
BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
|
||||
HANDLE hStart, HANDLE hDeath, HANDLE hConnRead );
|
||||
HANDLE hStart, HANDLE hDeath, HANDLE hConnRead ) DECLSPEC_HIDDEN;
|
||||
|
||||
BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId );
|
||||
BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId ) DECLSPEC_HIDDEN;
|
||||
|
||||
|
||||
/* Convert a DP or DPL HRESULT code into a string for human consumption */
|
||||
LPCSTR DPLAYX_HresultToString( HRESULT hr );
|
||||
LPCSTR DPLAYX_HresultToString( HRESULT hr ) DECLSPEC_HIDDEN;
|
||||
|
||||
#endif /* __WINE_DPLAYX_GLOBAL */
|
||||
|
|
|
@ -29,17 +29,17 @@
|
|||
#include "dplay_global.h"
|
||||
|
||||
DWORD CreateLobbyMessageReceptionThread( HANDLE hNotifyEvent, HANDLE hStart,
|
||||
HANDLE hDeath, HANDLE hConnRead );
|
||||
HANDLE hDeath, HANDLE hConnRead ) DECLSPEC_HIDDEN;
|
||||
|
||||
HRESULT DP_MSG_SendRequestPlayerId( IDirectPlay2AImpl* This, DWORD dwFlags,
|
||||
LPDPID lpdipidAllocatedId );
|
||||
HRESULT DP_MSG_ForwardPlayerCreation( IDirectPlay2AImpl* This, DPID dpidServer );
|
||||
LPDPID lpdipidAllocatedId ) DECLSPEC_HIDDEN;
|
||||
HRESULT DP_MSG_ForwardPlayerCreation( IDirectPlay2AImpl* This, DPID dpidServer ) DECLSPEC_HIDDEN;
|
||||
|
||||
void DP_MSG_ReplyReceived( IDirectPlay2AImpl* This, WORD wCommandId,
|
||||
LPCVOID lpMsgBody, DWORD dwMsgBodySize );
|
||||
LPCVOID lpMsgBody, DWORD dwMsgBodySize ) DECLSPEC_HIDDEN;
|
||||
void DP_MSG_ErrorReceived( IDirectPlay2AImpl* This, WORD wCommandId,
|
||||
LPCVOID lpMsgBody, DWORD dwMsgBodySize );
|
||||
void DP_MSG_ToSelf( IDirectPlay2AImpl* This, DPID dpidSelf );
|
||||
LPCVOID lpMsgBody, DWORD dwMsgBodySize ) DECLSPEC_HIDDEN;
|
||||
void DP_MSG_ToSelf( IDirectPlay2AImpl* This, DPID dpidSelf ) DECLSPEC_HIDDEN;
|
||||
|
||||
/* Timings -> 1000 ticks/sec */
|
||||
#define DPMSG_WAIT_5_SECS 5000
|
||||
|
|
|
@ -211,6 +211,6 @@ do \
|
|||
#define DPQ_DECL_DELETECB( name, type ) void name( type elem )
|
||||
|
||||
/* Prototype of a method which just performs a HeapFree on the elem */
|
||||
DPQ_DECL_DELETECB( cbDeleteElemFromHeap, LPVOID );
|
||||
DPQ_DECL_DELETECB( cbDeleteElemFromHeap, LPVOID ) DECLSPEC_HIDDEN;
|
||||
|
||||
#endif /* __WINE_DPLAYX_QUEUE_H */
|
||||
|
|
|
@ -48,7 +48,7 @@ typedef struct IDirectPlayLobby3Impl IDirectPlayLobby3WImpl;
|
|||
|
||||
/* Forward declarations for this module helper methods */
|
||||
HRESULT DPL_CreateCompoundAddress ( LPCDPCOMPOUNDADDRESSELEMENT lpElements, DWORD dwElementCount,
|
||||
LPVOID lpAddress, LPDWORD lpdwAddressSize, BOOL bAnsiInterface );
|
||||
LPVOID lpAddress, LPDWORD lpdwAddressSize, BOOL bAnsiInterface )DECLSPEC_HIDDEN;
|
||||
|
||||
static HRESULT DPL_CreateAddress( REFGUID guidSP, REFGUID guidDataType, LPCVOID lpData, DWORD dwDataSize,
|
||||
LPVOID lpAddress, LPDWORD lpdwAddressSize, BOOL bAnsiInterface );
|
||||
|
|
|
@ -458,7 +458,7 @@ typedef struct SPDATA_INIT
|
|||
} SPDATA_INIT, *LPSPDATA_INIT;
|
||||
|
||||
typedef HRESULT (WINAPI *LPSP_INIT)(LPSPDATA_INIT);
|
||||
HRESULT WINAPI DPLSPInit(LPSPDATA_INIT);
|
||||
HRESULT WINAPI DPLSPInit(LPSPDATA_INIT) DECLSPEC_HIDDEN;
|
||||
|
||||
/* Define the COM interface */
|
||||
#define INTERFACE IDPLobbySP
|
||||
|
@ -515,6 +515,6 @@ DECLARE_INTERFACE_(IDPLobbySP,IUnknown)
|
|||
/* This variable is exported from the DLL at ordinal 6 to be accessed by the
|
||||
* SP directly. This is the same variable that the DP SP will use.
|
||||
*/
|
||||
extern DWORD gdwDPlaySPRefCount;
|
||||
extern DWORD gdwDPlaySPRefCount DECLSPEC_HIDDEN;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -28,32 +28,32 @@
|
|||
#include "dplayx_messages.h"
|
||||
#include "dplay_global.h"
|
||||
|
||||
void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
|
||||
void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
|
||||
DWORD dwHdrSize,
|
||||
LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,
|
||||
LPVOID lpNSInfo );
|
||||
LPVOID NS_GetNSAddr( LPVOID lpNSInfo );
|
||||
DWORD NS_GetNsMagic( LPVOID lpNSInfo );
|
||||
void NS_SetLocalAddr( LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize );
|
||||
LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
LPVOID NS_GetNSAddr( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
DWORD NS_GetNsMagic( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
void NS_SetLocalAddr( LPVOID lpNSInfo, LPCVOID lpHdr, DWORD dwHdrSize ) DECLSPEC_HIDDEN;
|
||||
|
||||
void NS_ReplyToEnumSessionsRequest( LPCVOID lpcMsg,
|
||||
LPVOID* lplpReplyData,
|
||||
LPDWORD lpdwReplySize,
|
||||
IDirectPlay2Impl* lpDP );
|
||||
IDirectPlay2Impl* lpDP ) DECLSPEC_HIDDEN;
|
||||
|
||||
HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
|
||||
DWORD dwFlags,
|
||||
const SPINITDATA *lpSpData );
|
||||
const SPINITDATA *lpSpData ) DECLSPEC_HIDDEN;
|
||||
|
||||
|
||||
BOOL NS_InitializeSessionCache( LPVOID* lplpNSInfo );
|
||||
void NS_DeleteSessionCache( LPVOID lpNSInfo );
|
||||
void NS_InvalidateSessionCache( LPVOID lpNSInfo );
|
||||
BOOL NS_InitializeSessionCache( LPVOID* lplpNSInfo ) DECLSPEC_HIDDEN;
|
||||
void NS_DeleteSessionCache( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
void NS_InvalidateSessionCache( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
|
||||
|
||||
void NS_ResetSessionEnumeration( LPVOID lpNSInfo );
|
||||
LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo );
|
||||
void NS_PruneSessionCache( LPVOID lpNSInfo );
|
||||
void NS_ResetSessionEnumeration( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
void NS_PruneSessionCache( LPVOID lpNSInfo ) DECLSPEC_HIDDEN;
|
||||
|
||||
#endif /* __WINE_DPLAYX_NAMESERVER */
|
||||
|
|
Loading…
Reference in New Issue