Browse Source

* fix for Mantis #35469: change DWORD types to DWORD_PTR were required by the mmsystem.h related headers

git-svn-id: trunk@42775 -
svenbarth 6 years ago
parent
commit
631364aa9f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/winunits-base/src/mmsystem.pp

+ 2 - 2
packages/winunits-base/src/mmsystem.pp

@@ -1250,7 +1250,7 @@ Type
                     dwUser: DWORD_PTR;
                     dwFlags: DWORD;
                     lpNext: PMIDIHDR;
-                    reserved: DWORD;
+                    reserved: DWORD_PTR;
                     dwOffset: DWORD;
                     dwReserved: array [0..Pred(8)] Of DWORD_PTR;
 	    End;
@@ -1605,7 +1605,7 @@ _MIXERCONTROLDETAILS_BOOLEAN = packed Record
  TMIXERCONTROLDETAILS_UNSIGNED  = _MIXERCONTROLDETAILS_UNSIGNED;
 
  LPTIMECALLBACK =
-    Procedure (uTimerID, uMsg: UINT; dwUser, dw1, dw2: DWORD);stdcall;
+    Procedure (uTimerID, uMsg: UINT; dwUser, dw1, dw2: DWORD_PTR);stdcall;
  TTIMECALLBACK=LPTIMECALLBACK;
 
  TFNTimeCallBack = TTimeCallback; // delphi compat