Changeset 295 for Include


Ignore:
Timestamp:
Aug 17, 2007, 7:53:59 AM (17 years ago)
Author:
dai
Message:

キャスト忘れを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_mmsys.sbp

    r181 r295  
    18571857'MSF
    18581858Function MCI_MSF_MINUTE(msf As DWord) As Byte
    1859     Return (&HFF AND msf)
     1859    Return (&HFF and msf) As Byte
    18601860End Function
    18611861Function MCI_MSF_SECOND(msf As DWord) As Byte
    1862     Return (&HFF AND (msf>> 8))
     1862    Return (&HFF and (msf>> 8)) As Byte
    18631863End Function
    18641864Function MCI_MSF_FRAME(msf As DWord) As Byte
    1865     Return (&HFF AND (msf>>16))
     1865    Return (&HFF and (msf>>16)) As Byte
    18661866End Function
    18671867Function MCI_MAKE_MSF(minutes As Byte, seconds As Byte, frames As Byte) As DWord
     
    18711871'TMSF
    18721872Function MCI_TMSF_TRACK(tmsf As DWord) As Byte
    1873     Return (&HFF AND (tmsf))
     1873    Return (&HFF and (tmsf)) As Byte
    18741874End Function
    18751875Function MCI_TMSF_MINUTE(tmsf As DWord) As Byte
    1876     Return (&HFF AND (((tmsf)) >> 8))
     1876    Return (&HFF and (((tmsf)) >> 8)) As Byte
    18771877End Function
    18781878Function MCI_TMSF_SECOND(tmsf As DWord) As Byte
    1879     Return (&HFF AND ((tmsf)>>16))
     1879    Return (&HFF and ((tmsf)>>16)) As Byte
    18801880End Function
    18811881Function MCI_TMSF_FRAME(tmsf As DWord) As Byte
    1882     Return (&HFF AND ((tmsf)>>24))
     1882    Return (&HFF and ((tmsf)>>24)) As Byte
    18831883End Function
    18841884Function MCI_MAKE_TMSF(tracks As Byte, minutes As Byte, seconds As Byte, frames As Byte) As DWord
     
    18881888'HMS
    18891889Function MCI_HMS_HOUR(hms As DWord) As Byte
    1890     Return (&HFF AND (hms))
     1890    Return (&HFF and (hms)) As Byte
    18911891End Function
    18921892Function MCI_HMS_MINUTE(hms As DWord) As Byte
    1893     Return (&HFF AND ((hms)>> 8))
     1893    Return (&HFF and ((hms)>> 8)) As Byte
    18941894End Function
    18951895Function MCI_HMS_SECOND(hms As DWord) As Byte
    1896     Return (&HFF AND ((hms)>>16))
     1896    Return (&HFF and ((hms)>>16)) As Byte
    18971897End Function
    18981898Function MCI_MAKE_HMS(hours As Byte, minutes As Byte, seconds As Byte) As DWord
Note: See TracChangeset for help on using the changeset viewer.