Not sure how the heck, or if, I can do this

The code I have (plus a lot more) is like

Public Shared Function GetAttributes( ByVal filename As String) As MusicFileInfo
        
            Dim editor As IWMMetadataEditor
            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


Note that I can get the CreateEditor call to work just fine (this is using the Windows Media SDK)

But, the line

                uHR = editor.Open(filename)
        
has me stumped. How do I (or can I) call a function that in the actual SDK is a pointer ?
        
Norman Palardy
OS X 10.4.6 / MacBook Pro 2.16Ghz MHz / 1Gb RAM



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to