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
b7389f40
Commit
b7389f40
authored
May 13, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
May 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Mark internal symbols with hidden visibility.
parent
5b1016fc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
44 additions
and
44 deletions
+44
-44
dpinit.h
dlls/dplayx/dpinit.h
+4
-4
dplay_global.h
dlls/dplayx/dplay_global.h
+5
-5
dplayx_global.h
dlls/dplayx/dplayx_global.h
+12
-12
dplayx_messages.h
dlls/dplayx/dplayx_messages.h
+6
-6
dplayx_queue.h
dlls/dplayx/dplayx_queue.h
+1
-1
dplobby.c
dlls/dplayx/dplobby.c
+1
-1
lobbysp.h
dlls/dplayx/lobbysp.h
+2
-2
name_server.h
dlls/dplayx/name_server.h
+13
-13
No files found.
dlls/dplayx/dpinit.h
View file @
b7389f40
...
...
@@ -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
dlls/dplayx/dplay_global.h
View file @
b7389f40
...
...
@@ -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 */
dlls/dplayx/dplayx_global.h
View file @
b7389f40
...
...
@@ -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 */
dlls/dplayx/dplayx_messages.h
View file @
b7389f40
...
...
@@ -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
...
...
dlls/dplayx/dplayx_queue.h
View file @
b7389f40
...
...
@@ -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 */
dlls/dplayx/dplobby.c
View file @
b7389f40
...
...
@@ -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
);
...
...
dlls/dplayx/lobbysp.h
View file @
b7389f40
...
...
@@ -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
dlls/dplayx/name_server.h
View file @
b7389f40
...
...
@@ -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 */
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