Marcus Meissner : include: Add winelib names for some dsound A/W function / types.

Alexandre Julliard julliard at winehq.org
Fri Jun 6 08:55:33 CDT 2008


Module: wine
Branch: master
Commit: 375f8ba23761d75230805e86bc057ef7755cb57c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=375f8ba23761d75230805e86bc057ef7755cb57c

Author: Marcus Meissner <meissner at suse.de>
Date:   Fri Jun  6 11:54:33 2008 +0200

include: Add winelib names for some dsound A/W function / types.

---

 include/dsound.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/dsound.h b/include/dsound.h
index fc1eeff..b14229e 100644
--- a/include/dsound.h
+++ b/include/dsound.h
@@ -396,14 +396,16 @@ typedef const GUID *LPCGUID;
 
 typedef BOOL (CALLBACK *LPDSENUMCALLBACKW)(LPGUID,LPCWSTR,LPCWSTR,LPVOID);
 typedef BOOL (CALLBACK *LPDSENUMCALLBACKA)(LPGUID,LPCSTR,LPCSTR,LPVOID);
+DECL_WINELIB_TYPE_AW(LPDSENUMCALLBACK);
 
 extern HRESULT WINAPI DirectSoundCreate(LPCGUID lpGUID,LPDIRECTSOUND *ppDS,LPUNKNOWN pUnkOuter);
 extern HRESULT WINAPI DirectSoundEnumerateA(LPDSENUMCALLBACKA, LPVOID);
 extern HRESULT WINAPI DirectSoundEnumerateW(LPDSENUMCALLBACKW, LPVOID);
-
+#define DirectSoundEnumerate WINELIB_NAME_AW(DirectSoundEnumerate)
 extern HRESULT WINAPI DirectSoundCaptureCreate(LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE *ppDSC, LPUNKNOWN pUnkOuter);
 extern HRESULT WINAPI DirectSoundCaptureEnumerateA(LPDSENUMCALLBACKA, LPVOID);
 extern HRESULT WINAPI DirectSoundCaptureEnumerateW(LPDSENUMCALLBACKW, LPVOID);
+#define DirectSoundCaptureEnumerate WINELIB_NAME_AW(DirectSoundCaptureEnumerate)
 
 extern HRESULT WINAPI DirectSoundCreate8(LPCGUID lpGUID,LPDIRECTSOUND8 *ppDS8,LPUNKNOWN pUnkOuter);
 extern HRESULT WINAPI DirectSoundCaptureCreate8(LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE8 *ppDSC8, LPUNKNOWN pUnkOuter);




More information about the wine-cvs mailing list