[ros-diffs] [greatlrd] 19852: wrote amaudio.h directx header, for it is missing and it need for new sync of dxdiag.dll from wine.

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Sun Dec 4 12:51:07 CET 2005


wrote amaudio.h directx header, for it is missing and it need for new
sync of dxdiag.dll from wine.
Added: trunk/reactos/w32api/include/amaudio.h
  _____  

Added: trunk/reactos/w32api/include/amaudio.h
--- trunk/reactos/w32api/include/amaudio.h	2005-12-04 11:38:48 UTC
(rev 19851)
+++ trunk/reactos/w32api/include/amaudio.h	2005-12-04 11:50:42 UTC
(rev 19852)
@@ -0,0 +1,34 @@

+#ifndef __AMAUDIO__
+#define __AMAUDIO__
+
+#ifdef __cplusplus
+extern "C" {
+#endif 
+
+#include <mmsystem.h>
+#include <dsound.h>
+
+#undef INTERFACE
+#define INTERFACE IAMDirectSound
+
+DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
+{
+  STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *ppvObj) PURE;
+  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+  STDMETHOD_(ULONG,Release)(THIS) PURE;
+  STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND *lplpds) PURE;
+  STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER
*lplpdsb) PURE;
+  STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER
*lplpdsb) PURE;
+  STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND lpds)
PURE;
+  STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER
lpdsb) PURE;
+  STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER
lpdsb) PURE;
+  STDMETHOD(SetFocusWindow)(THIS_ HWND, BOOL) PURE ;
+  STDMETHOD(GetFocusWindow)(THIS_ HWND *, BOOL*) PURE ;
+};
+
+
+#ifdef __cplusplus
+}
+#endif 
+#endif 
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051204/c752afff/attachment.html


More information about the Ros-diffs mailing list