Uli’s rule of API design: If you provide a userData parameter/property (refCon, userContext, whatever you call it) do not use it yourself for anything. Add a second internalRefCon if you must.