GetIconRefFromFileInfo retain count

Adam R. Maxwell amaxwell at mac.com
Mon Jan 7 22:25:00 PST 2008


Does anyone know if GetIconRefFromFileInfo increments the reference  
count of the IconRef it returns?  Ordinarily I'd guess not, based on  
the name, but the other Get... functions in Icon Services are  
documented as incrementing the refcount.  I tried calling  
GetIconRefOwners but it always returns zero for the number of owners,  
even after explicitly calling AcquireIconRef.  This makes me slightly  
nervous...

thanks,
adam


More information about the MacOSX-dev mailing list