- /*\r
- * License as published by the Free Software Foundation; either\r
- * version 2.1 of the License, or (at your option) any later version.\r
- *\r
- * This library is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with this library; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
- *\r
- * ReactOS emulation layer betwin wine and windows api for directx \r
- * This transform wine specfiy api to native reactos/windows api\r
- * wine have done some hack to geting dsound working. But does \r
- * hack does not work on windows or reactos. It need to warp thuse\r
- * api hack to true native api. \r
- *\r
- * this include file really need to be clean up.\r
- *\r
- * copyright 2004 by magnus olsen\r
- */\r
-\r
-#ifdef __REACTOS__\r
-#include <mmsystem.h>\r
-\r
-// wine spec \r
-#define MAXWAVEDRIVERS 10\r
-#define MAXMIDIDRIVERS 10\r
-#define MAXAUXDRIVERS 10\r
-#define MAXMCIDRIVERS 32\r
-#define MAXMIXERDRIVERS 10\r
-\r
-/* where */\r
-#ifdef RC_INVOKED\r
-#define _HRESULT_TYPEDEF_(x) (x)\r
-#else\r
-#define _HRESULT_TYPEDEF_(x) ((HRESULT)x)\r
-#endif\r
-\r
-/* wine own api */\r
-#define DRV_QUERYDSOUNDIFACE (DRV_RESERVED + 20)\r
-#define DRV_QUERYDSOUNDDESC (DRV_RESERVED + 21)\r
-\r
-#define WineWaveOutMessage RosWineWaveOutMessage\r
-#define WineWaveInMessage RosWineWaveInMessage\r
-\r
-#else\r
-#define WineWaveOutMessage WaveOutMessage\r
-#define WineWaveInMessage WaveInMessage\r
-#endif\r
-\r
-\r
-/* dxroslayers prototypes */\r
-void dxGetGuidFromString( char *in_str, GUID *guid );\r
-\r
-DWORD dxrosdrv_drv_querydsounddesc(int type, HWAVEOUT hwo_out,HWAVEIN hwo_in, PDSDRIVERDESC pDESC);\r
-DWORD dxrosdrv_drv_querydsoundiface(HWAVEIN wDevID, PIDSDRIVER* drv);\r
-\r
-DWORD RosWineWineWaveOutMessage(HWAVEOUT hwo, UINT , DWORD_PTR , DWORD_PTR );\r
-DWORD RosWineWineWaveInMessage(HWAVEIN , UINT , DWORD_PTR , DWORD_PTR );\r
+ /*
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * ReactOS emulation layer betwin wine and windows api for directx
+ * This transform wine specfiy api to native reactos/windows api
+ * wine have done some hack to geting dsound working. But does
+ * hack does not work on windows or reactos. It need to warp thuse
+ * api hack to true native api.
+ *
+ * this include file really need to be clean up.
+ *
+ * copyright 2004 by magnus olsen
+ */
+
+#ifdef __REACTOS__
+#include <mmsystem.h>
+
+// wine spec
+#define MAXWAVEDRIVERS 10
+#define MAXMIDIDRIVERS 10
+#define MAXAUXDRIVERS 10
+#define MAXMCIDRIVERS 32
+#define MAXMIXERDRIVERS 10
+
+/* where */
+#ifdef RC_INVOKED
+#define _HRESULT_TYPEDEF_(x) (x)
+#else
+#define _HRESULT_TYPEDEF_(x) ((HRESULT)x)
+#endif
+
+/* wine own api */
+#define DRV_QUERYDSOUNDIFACE (DRV_RESERVED + 20)
+#define DRV_QUERYDSOUNDDESC (DRV_RESERVED + 21)
+
+#define WineWaveOutMessage RosWineWaveOutMessage
+#define WineWaveInMessage RosWineWaveInMessage
+
+#else
+#define WineWaveOutMessage WaveOutMessage
+#define WineWaveInMessage WaveInMessage
+#endif
+
+
+/* dxroslayers prototypes */
+void dxGetGuidFromString( char *in_str, GUID *guid );
+
+DWORD dxrosdrv_drv_querydsounddescss(int type, HWAVEOUT hwo_out,HWAVEIN hwo_in, PDSDRIVERDESC pDESC);
+DWORD dxrosdrv_drv_querydsoundiface(HWAVEIN wDevID, PIDSDRIVER* drv);
+
+DWORD RosWineWaveOutMessage(HWAVEOUT hwo, UINT, DWORD_PTR, DWORD_PTR);
+DWORD RosWineWaveInMessage(HWAVEIN, UINT, DWORD_PTR, DWORD_PTR);