MMsystem.pas unit
Original Reporter info from Mantis: cmdtower777
-
Reporter name:
Original Reporter info from Mantis: cmdtower777
- Reporter name:
Description:
On line 1608 of the mmsystem.pas, there is this:
_timecaps = packed Record
wPeriodMin: UINT;
wPeriodMax: UINT;
End;
TIMECAPS = _timecaps;
Inside the Windows PSDK (C/C++) (mmsystem.h) it shows this:
/* timer device capabilities data structure */
typedef struct timecaps_tag {
UINT wPeriodMin; /* minimum period supported */
UINT wPeriodMax; /* maximum period supported */
} TIMECAPS, *PTIMECAPS, NEAR *NPTIMECAPS, FAR *LPTIMECAPS;
That is a struct, not a union. Why the packed record? There are many in the mmsystem unit. Did not validate any others.
Using FPC 2.4.2 with Lazarus 0.9.30.
I went ahead and created my own record in the meantime.
Mantis conversion info:
- Mantis ID: 19539
- OS: Windows XP
- OS Build: XP
- Platform: Windows
- Version: 2.4.2