• 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: Undocumented flags in LSCopyItemInfoForRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undocumented flags in LSCopyItemInfoForRef


  • Subject: Re: Undocumented flags in LSCopyItemInfoForRef
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 10 Apr 2009 17:46:46 +0700


On 10 Apr 2009, at 15:25, Jean-Daniel Dupas wrote:

Le 10 avr. 09 à 10:13, Gerriet M. Denkmann a écrit :


On 10 Apr 2009, at 14:10, Jean-Daniel Dupas wrote:

Le 10 avr. 09 à 07:06, Gerriet M. Denkmann a écrit :

LSItemInfoFlags, returned by LSCopyItemInfoForRef() when the queried item is an application, contains several undocumented flags (i.e. flags which are NOT documented in LSInfo.h nor in the Launch Services Reference).


E.g. iTunes.app has (among well documented flags) also: 0x6804000.

Where can I find the meaning of these flags?

10.5.6; Documentation updated on 19.3.2009.

If they are not documented (neither in the doc, nor in headers), they are not part of the public interface.

Here some info for people interested in forbidden fruits: 0x00002000 single-file app 0x00004000 packaged app 0x00080000 is document of some app 0x02000000 ppc 0x04000000 i386 0x08000000 ppc64 0x10000000 x86_64

If someone has any ideas about these LSItemInfoFlags, I would appreciate it very much:
0x00200000 ?
0x00400000 ?
0x00800000 ?

lsregister -dump give a list of all registred applications with corresponding flags (lsregister is a tool in the LaunchServices Framework).


Maybe it may help you.
This was indeed a very helpful suggestion. Thank you very much!


Some flags you do not list, but that are present in a ls register dump:

apple-internal, relative-icon-path, scriptable, launch-disabled, handles-file-url, services, requires-native, can-set-extension- hidden, display-name, ui-element , trash, unsupported-format, …
The info in "flags:" seems not to be coded in LSItemInfoFlags, but the info in "item flags:" is.

Here my current list of undocumented flags from lsregister:
0x00080000	can-set-extension-hidden
0x00200000	services
0x00400000 unsupported-format
0x00800000 requires-native
0x02000000	ppc
0x04000000	i386
0x08000000	ppc64
0x10000000	x86_64

This is just a guess (not shown in lsregister):
0x00002000	single-file app
0x00004000	packaged app

Thanks for your help!

Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Undocumented flags in LSCopyItemInfoForRef (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Undocumented flags in LSCopyItemInfoForRef (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Undocumented flags in LSCopyItemInfoForRef (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Undocumented flags in LSCopyItemInfoForRef (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Rendering OpenGL in timed loop (CoreVideo).
  • Next by Date: RE: IKImageBrowserView drag and drop/reordering when using core data [SOLVED]
  • Previous by thread: Re: Undocumented flags in LSCopyItemInfoForRef
  • Next by thread: NSSegmentControl Image Scaling Problem
  • Index(es):
    • Date
    • Thread