include: Change from long to LONG in the remaining DirectMusic headers.

Michael Stefaniuc mstefani at redhat.de
Fri Jan 9 19:45:24 CST 2009


---
 include/dmdls.h   |    8 ++++----
 include/dmusicc.h |    4 ++--
 include/dmusicf.h |   10 +++++-----
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/include/dmdls.h b/include/dmdls.h
index e9f9501..b40ef88 100644
--- a/include/dmdls.h
+++ b/include/dmdls.h
@@ -25,10 +25,10 @@
 /*****************************************************************************
  * Typedef definitions
  */
-typedef long GCENT;
-typedef long PCENT;
-typedef long PERCENT;
-typedef long TCENT;
+typedef LONG GCENT;
+typedef LONG PCENT;
+typedef LONG PERCENT;
+typedef LONG TCENT;
 
 typedef LONGLONG REFERENCE_TIME, *LPREFERENCE_TIME;
 
diff --git a/include/dmusicc.h b/include/dmusicc.h
index c109a0f..7aac00b 100644
--- a/include/dmusicc.h
+++ b/include/dmusicc.h
@@ -330,7 +330,7 @@ struct _DMUS_SYNTHSTATS {
 	DWORD dwCPUPerVoice;
 	DWORD dwLostNotes;
 	DWORD dwFreeMemory;
-	long  lPeakVolume;
+	LONG  lPeakVolume;
 };
 
 struct _DMUS_SYNTHSTATS8 {
@@ -341,7 +341,7 @@ struct _DMUS_SYNTHSTATS8 {
 	DWORD dwCPUPerVoice;
 	DWORD dwLostNotes;
 	DWORD dwFreeMemory;
-	long  lPeakVolume;
+	LONG  lPeakVolume;
 	DWORD dwSynthMemUse;
 };
 
diff --git a/include/dmusicf.h b/include/dmusicf.h
index d4aa48b..6906ecc 100644
--- a/include/dmusicf.h
+++ b/include/dmusicf.h
@@ -627,7 +627,7 @@ struct _DMUS_IO_COMMAND {
 
 struct _DMUS_IO_TOOL_HEADER {
 	GUID   guidClassID;
-	long   lIndex;
+	LONG   lIndex;
 	DWORD  cPChannels;
 	FOURCC ckid;
 	FOURCC fccType;
@@ -685,12 +685,12 @@ struct _DMUS_IO_WAVE_HEADER {
 };
 
 struct _DMUS_IO_WAVE_TRACK_HEADER {
-	long  lVolume;
+	LONG  lVolume;
 	DWORD dwFlags;
 };
 
 struct _DMUS_IO_WAVE_PART_HEADER {
-    long  lVolume;
+    LONG  lVolume;
     DWORD dwVariations;
     DWORD dwPChannel;
     DWORD dwLockToPart;
@@ -699,8 +699,8 @@ struct _DMUS_IO_WAVE_PART_HEADER {
 };
 
 struct _DMUS_IO_WAVE_ITEM_HEADER  {
-	long           lVolume;
-	long           lPitch;
+	LONG           lVolume;
+	LONG           lPitch;
 	DWORD          dwVariations;
 	REFERENCE_TIME rtTime;
 	REFERENCE_TIME rtStartOffset;
-- 
1.6.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090110/39ea7bdd/attachment.pgp 


More information about the wine-patches mailing list