• 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: Changing the refCons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the refCons


  • Subject: Re: Changing the refCons
  • From: Kurt Revis <email@hidden>
  • Date: Sun, 26 Oct 2003 11:24:05 -0800

On Sunday, October 26, 2003, at 01:54 AM, Ilya Maykov wrote:

Quick question. Is it possible to change the value of the refCon of a virtual MIDI Destination Endpoint or a MIDI Input Port (C API) after it's been created? If so, how?

Short answer: No.

Long answer: You'll have to create a new virtual endpoint or input port, using your new refCon, and destroy the old one. Alternatively, you can structure your code so you don't have to change the refCon -- that's the way most people do it.

--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Changing the refCons (From: Ilya Maykov <email@hidden>)

  • Prev by Date: Re: Problem with kEventMouseDown
  • Next by Date: Re: AU Format Negotiation - State of Affairs
  • Previous by thread: Changing the refCons
  • Next by thread: cocoa midi programming
  • Index(es):
    • Date
    • Thread