From be454b4e9725624a14b8530646d2a09c75972cc4 Mon Sep 17 00:00:00 2001 From: Ismael Barros Date: Sat, 2 Aug 2008 09:34:52 +0300 Subject: [PATCH] dplayx: Made DP_FindPlayer public It will be needed in other modules, like dplayx_messages.c --- dlls/dplayx/dplay.c | 3 +-- dlls/dplayx/dplay_global.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 3967d78cfe2..7aac8403e01 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -50,7 +50,6 @@ extern HRESULT DPL_CreateCompoundAddress /* Local function prototypes */ -static lpPlayerList DP_FindPlayer( IDirectPlay2AImpl* This, DPID dpid ); static lpPlayerData DP_CreatePlayer( IDirectPlay2Impl* iface, LPDPID lpid, LPDPNAME lpName, DWORD dwFlags, HANDLE hEvent, BOOL bAnsi ); @@ -1338,7 +1337,7 @@ DP_DeletePlayer( IDirectPlay2Impl* This, DPID dpid ) HeapFree( GetProcessHeap(), 0, lpPList ); } -static lpPlayerList DP_FindPlayer( IDirectPlay2AImpl* This, DPID dpid ) +lpPlayerList DP_FindPlayer( IDirectPlay2AImpl* This, DPID dpid ) { lpPlayerList lpPlayers; diff --git a/dlls/dplayx/dplay_global.h b/dlls/dplayx/dplay_global.h index 6c9c61a286d..89887e710de 100644 --- a/dlls/dplayx/dplay_global.h +++ b/dlls/dplayx/dplay_global.h @@ -234,6 +234,7 @@ HRESULT DP_HandleMessage( IDirectPlay2Impl* This, LPCVOID lpMessageBody, DWORD dwMessageBodySize, LPCVOID lpMessageHeader, WORD wCommandId, WORD wVersion, LPVOID* lplpReply, LPDWORD lpdwMsgSize ); +lpPlayerList DP_FindPlayer( IDirectPlay2AImpl* This, DPID dpid ); /* DP SP external interfaces into DirectPlay */ extern HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP, DPID idPlayer, LPVOID* lplpData ); -- 2.11.4.GIT