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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to