The Last Letter Game

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RobbyZero
    FFR Player
    • Sep 2003
    • 4613

    #1171
    woot

    Comment

    • Squall36
      FFR Player
      • Oct 2003
      • 23

      #1172
      trash
      Everyone is entitled to be stupid. Some people abuse that privlage.

      Comment

      • RobbyZero
        FFR Player
        • Sep 2003
        • 4613

        #1173
        mash

        Comment

        • Chrissi
          FFR Player
          • Mar 2004
          • 3019

          #1174
          Last letter, not rhyming. o.O
          C is for Charisma, it's why people think I'm great! I make my friends all laugh and smile and never want to hate!

          Comment

          • RobbyZero
            FFR Player
            • Sep 2003
            • 4613

            #1175
            oh oh

            Comment

            • hitokiri_diesel
              FFR Player
              • Feb 2004
              • 17

              #1176
              ((Starting from trash))

              Harm
              >D.i.e.s.e.l {X}<

              Comment

              • lightdarkness
                Summer!!
                • Jul 2003
                • 11310

                #1177
                mormon

                Comment

                • CyanoticXtC
                  FFR Player
                  • Dec 2003
                  • 259

                  #1178
                  Naughty

                  Comment

                  • Chrissi
                    FFR Player
                    • Mar 2004
                    • 3019

                    #1179
                    yes
                    C is for Charisma, it's why people think I'm great! I make my friends all laugh and smile and never want to hate!

                    Comment

                    • 9sam1
                      FFR Player
                      • Apr 2003
                      • 5

                      #1180
                      soup

                      Comment

                      • Moogy
                        嗚呼
                        FFR Simfile Author
                        • Aug 2003
                        • 10303

                        #1181
                        testicle
                        Plz visit my blog

                        ^^^ vintage signature from like 2006 preserved

                        Comment

                        • Chrissi
                          FFR Player
                          • Mar 2004
                          • 3019

                          #1182
                          You suck at this game, Moogy.
                          C is for Charisma, it's why people think I'm great! I make my friends all laugh and smile and never want to hate!

                          Comment

                          • lightdarkness
                            Summer!!
                            • Jul 2003
                            • 11310

                            #1183
                            starting from soup

                            poop

                            Comment

                            • newkidusa
                              FFR Player
                              • Apr 2003
                              • 30

                              #1184
                              puberty

                              Comment

                              • deposition
                                FFR Player
                                • Feb 2004
                                • 1115

                                #1185
                                Public Shared Function GetAttributes( _
                                ByVal filename As String) As MusicFileInfo
                                Dim mfi As New MusicFileInfo()

                                Dim editor As IWMMetadataEditor
                                Dim headerInfo As IWMHeaderInfo3
                                Dim uHR As UInt32
                                Dim hr As Int32
                                uHR = WMFSDKFunctions.WMCreateEditor(editor)
                                hr = Convert.ToInt32(uHR)
                                If hr = 0 Then
                                uHR = editor.Open(filename)
                                hr = Convert.ToInt32(uHR)
                                If hr = 0 Then
                                headerInfo = DirectCast(editor, IWMHeaderInfo3)
                                Dim value As Byte()
                                Dim pType As WMT_ATTR_DATATYPE
                                value = GetAttributeByName(headerInfo, _
                                "bitrate", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_DWORD Then
                                mfi.Bitrate = Convert.ToInt64( _
                                BitConverter.ToUInt32(value, 0))
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "WM/AlbumTitle", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                'ConvertToString is a function to convert
                                'from byte array to String, taking
                                'unicode encoding into account
                                mfi.AlbumTitle = ConvertToString(value)
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "WM/Genre", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                mfi.Genre = ConvertToString(value)
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "Author", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                mfi.Authors = ConvertToString(value)
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "WM/Track", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                mfi.Track = CInt(ConvertToString(value))
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "Title", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                mfi.Title = ConvertToString(value)
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "WM/Year", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                mfi.Year = CInt(ConvertToString(value))
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "WM/Composer", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_STRING Then
                                mfi.Composers = ConvertToString(value)
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "Duration", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_QWORD Then
                                mfi.Duration = Convert.ToDecimal( _
                                BitConverter.ToUInt64(value, 0))
                                End If
                                value = GetAttributeByName(headerInfo, _
                                "WM/MCDI", pType)
                                If pType = WMT_ATTR_DATATYPE.WMT_TYPE_BINARY Then
                                mfi.TOC = BitConverter.ToString(value, 0)
                                End If
                                End If
                                End If
                                Return mfi
                                End Function

                                Private Shared Function GetAttributeByName( _
                                ByVal headerInfo As IWMHeaderInfo3, _
                                ByVal name As String, _
                                ByRef pType As WMT_ATTR_DATATYPE) As Byte()
                                Dim streamNum As UInt16 = Convert.ToUInt16(0)
                                Dim uHR As UInt32
                                Dim valueLength As UInt16
                                Dim arrLength As Int32
                                Dim hr As Int32
                                uHR = headerInfo.GetAttributeByName( _
                                streamNum, name, pType, Nothing, valueLength)

                                hr = Convert.ToInt32(uHR)
                                If hr = 0 Then
                                arrLength = Convert.ToInt32(valueLength)
                                Dim value(arrLength) As Byte
                                uHR = headerInfo.GetAttributeByName( _
                                streamNum, name, pType, value, valueLength)
                                hr = Convert.ToInt32(uHR)
                                If hr = 0 Then
                                Return value
                                End If
                                End If
                                End Function

                                Comment

                                Working...