• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MIDIClientCreate Arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDIClientCreate Arguments


  • Subject: Re: MIDIClientCreate Arguments
  • From: Matthew Hubble <email@hidden>
  • Date: Mon, 28 Feb 2011 09:47:39 +0000

So what does the function do with this pointer? What are some possible uses?

Thanks,

Matt

On 2/28/11 9:09 AM, tahome izwah wrote:
Like with all callback methods it can be anything. You could pass a
pointer to an instance of a class that you want to have access to, or
any other reference of your choosing.

HTH
--th

2011/2/28 Matthew Hubble<email@hidden>:
Hello Mailing List,

Just working on a program that creates a virtual MIDI port to send out MIDI
messages to other programs and so far it all seems to work.

I am using the MIDIClientCreate function declared below:

extern OSStatus
MIDIClientCreate(     CFStringRef       name,
                      MIDINotifyProc    notifyProc,
                      void *            notifyRefCon,
                      MIDIClientRef *   outClient )

and was wondering what the notifyRefCon argument is? In the documentation it
just says:

A refCon passed back to notifyRefCon

At the moment I am just passing in NULL but I would like to know what it is
for anyhow.

Thanks,

Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: MIDIClientCreate Arguments
      • From: tahome izwah <email@hidden>
    • RE: MIDIClientCreate Arguments
      • From: Muon Software Ltd - Dave <email@hidden>
References: 
 >MIDIClientCreate Arguments (From: Matthew Hubble <email@hidden>)
 >Re: MIDIClientCreate Arguments (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: MIDIClientCreate Arguments
  • Next by Date: RE: MIDIClientCreate Arguments
  • Previous by thread: Re: MIDIClientCreate Arguments
  • Next by thread: RE: MIDIClientCreate Arguments
  • Index(es):
    • Date
    • Thread