From 5dc0d4d1ed2de76f21ba4f5298ba9ab251c6fd83 Mon Sep 17 00:00:00 2001 From: Ismael Barros Date: Thu, 31 Jul 2008 20:17:25 +0300 Subject: [PATCH] dplayx: Fix the definition of DirectPlayCreate. --- dlls/dplayx/dplay.c | 2 +- include/dplay.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 829a21c3ffa..918704084b7 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -5393,7 +5393,7 @@ static BOOL CALLBACK cbDPCreateEnumConnections( * */ HRESULT WINAPI DirectPlayCreate -( LPGUID lpGUID, LPDIRECTPLAY2 *lplpDP, IUnknown *pUnk) +( LPGUID lpGUID, LPDIRECTPLAY *lplpDP, IUnknown *pUnk ) { HRESULT hr; LPDIRECTPLAY3A lpDP3A; diff --git a/include/dplay.h b/include/dplay.h index 855fc50497d..e9c8c2ecfac 100644 --- a/include/dplay.h +++ b/include/dplay.h @@ -392,7 +392,7 @@ typedef BOOL (CALLBACK *LPDPENUMSESSIONSCALLBACK)( extern HRESULT WINAPI DirectPlayEnumerateA( LPDPENUMDPCALLBACKA, LPVOID ); extern HRESULT WINAPI DirectPlayEnumerateW( LPDPENUMDPCALLBACKW, LPVOID ); -extern HRESULT WINAPI DirectPlayCreate( LPGUID lpGUID, LPDIRECTPLAY2 *lplpDP, IUnknown *pUnk); +extern HRESULT WINAPI DirectPlayCreate( LPGUID lpGUID, LPDIRECTPLAY *lplpDP, IUnknown *pUnk ); typedef BOOL (CALLBACK *LPDPENUMPLAYERSCALLBACK)( DPID dpId, -- 2.11.4.GIT